Click here to Skip to main content
15,898,134 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: a simple question about design patterns Pin
Jeremy Likness13-Aug-09 5:20
professionalJeremy Likness13-Aug-09 5:20 
GeneralRe: a simple question about design patterns Pin
Mark Kamoski13-Aug-09 5:35
Mark Kamoski13-Aug-09 5:35 
GeneralRe: a simple question about design patterns Pin
Jeremy Likness13-Aug-09 6:17
professionalJeremy Likness13-Aug-09 6:17 
GeneralRe: a simple question about design patterns Pin
N a v a n e e t h13-Aug-09 15:55
N a v a n e e t h13-Aug-09 15:55 
GeneralRe: a simple question about design patterns Pin
Mark Kamoski17-Aug-09 3:23
Mark Kamoski17-Aug-09 3:23 
AnswerRe: a simple question about design patterns Pin
Mark Kamoski17-Aug-09 3:26
Mark Kamoski17-Aug-09 3:26 
Questionglobal.asax redirect failing on windows 2008 box Pin
wolfbinary13-Aug-09 4:38
wolfbinary13-Aug-09 4:38 
AnswerRe: global.asax redirect failing on windows 2008 box Pin
Abhijit Jana13-Aug-09 19:17
professionalAbhijit Jana13-Aug-09 19:17 
wolfbinary wrote:
redirection on an error failed to go to the error.aspx page

So, you are redirecting on Error Page from global.asax ? Can you show us the code for Application_Error Secction ?
I guess you are using Response.Redirect From Application_Error.

This is the Problem related with IIS 7 and Its integration mode. Which mode you are using ? Integrated or Classic ?
if Its Integrated mode and change to classic it may work.
Here[^] I found a good solution [ The summary as below ]

Analysis :
The problem is caused by changed behavior of IIS7 new integrated pipeline mode when calling Response.Redirect() in Application_Error. The default .net error page will be rendered before the actual redirection occurs due to error is detected.

Solution

1. Remove the module definition of ScriptModule under system.webServer/modules in web.config. e.g:
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>


Remove Application_PreSendRequestHeader and Application_PreSendRequestContent event handlers from global.asax if they are not used.

2.Call Context.ClearError or Server.ClearError to clear the error before using Response.Redirect() in Application_Error.

Hope this will help you Big Grin | :-D

Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
View My Latest Article

GeneralRe: global.asax redirect failing on windows 2008 box Pin
wolfbinary21-Aug-09 10:32
wolfbinary21-Aug-09 10:32 
Questionstream reader Pin
lagan13-Aug-09 3:51
lagan13-Aug-09 3:51 
AnswerRe: stream reader Pin
DoctorMick13-Aug-09 6:11
DoctorMick13-Aug-09 6:11 
GeneralRe: stream reader Pin
lagan13-Aug-09 6:46
lagan13-Aug-09 6:46 
AnswerRe: stream reader Pin
N a v a n e e t h13-Aug-09 15:42
N a v a n e e t h13-Aug-09 15:42 
QuestionASP.NET is not authorized to access the requested resource. Pin
vandanaconedify13-Aug-09 3:15
vandanaconedify13-Aug-09 3:15 
AnswerRe: ASP.NET is not authorized to access the requested resource. Pin
Coding C#13-Aug-09 3:34
Coding C#13-Aug-09 3:34 
QuestionPlaceholder Pin
Ramkumar_S13-Aug-09 3:03
Ramkumar_S13-Aug-09 3:03 
AnswerRe: Placeholder Pin
Christian Graus13-Aug-09 14:42
protectorChristian Graus13-Aug-09 14:42 
QuestionClientID messes with my textbox - please help Pin
Axonn Echysttas13-Aug-09 1:49
Axonn Echysttas13-Aug-09 1:49 
AnswerRe: ClientID messes with my textbox - please help Pin
Abhishek Sur13-Aug-09 2:15
professionalAbhishek Sur13-Aug-09 2:15 
GeneralRe: ClientID messes with my textbox - please help Pin
Axonn Echysttas13-Aug-09 3:36
Axonn Echysttas13-Aug-09 3:36 
GeneralRe: ClientID messes with my textbox - please help Pin
Abhishek Sur13-Aug-09 4:33
professionalAbhishek Sur13-Aug-09 4:33 
Questionsend xml file to client site Pin
zeeShan anSari13-Aug-09 1:26
zeeShan anSari13-Aug-09 1:26 
AnswerRe: send xml file to client site Pin
Abhishek Sur13-Aug-09 2:18
professionalAbhishek Sur13-Aug-09 2:18 
Questionpath urls relative to root of web app Pin
Colin Pace13-Aug-09 1:25
Colin Pace13-Aug-09 1:25 
AnswerRe: path urls relative to root of web app Pin
Coding C#13-Aug-09 2:16
Coding C#13-Aug-09 2:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.