application-error
How to know if the request is ajax in asp.net in Application_Error()
How to know if the request is ajax in asp.netinApplication_Error() I want to handle app error in Application_Error().If the request is ajaxandsome exception is thrown,then write the error inlog file[详细]
2023-04-08 05:08 分类:问答Asp.net MVC 3 view engine error
I am trying for custom error handling at global level in Application_Error. Exception ex = Server.GetLastError();[详细]
2023-04-07 05:13 分类:问答.Net Application_Error
In Global.asax i have code in Application_Error handler which stores the error message in HttpRuntime.Cache, logs the error to the application log file and then Transfers the user over to the Error.as[详细]
2023-04-06 05:04 分类:问答Is it possible set cookies in Application_error
I\'m trying to see if I can set a cookie during the Application_Error() event of the global.asax. When I debug my application, it looks like the code adds the cookie but the next time it loads, the c[详细]
2023-03-09 15:49 分类:问答Static file requests don't raise application_error event
in my Asp.Net MVC project I\'m cathing Http FileNotFound Exceptions (for a missing image) and then redirect request to a default image like below[详细]
2023-02-25 04:20 分类:问答Application_Error not firing
I\'m not able to get my Application_Error method to fire in global.asax.I\'ve placed a breakpoint in the first line of my Application_Error function but it never breaks there.Instead, the server is re[详细]
2023-02-12 17:25 分类:问答Can I handle all errors through ASP.Net?
I am trying to create a 404 handling page but I am now stuck with the page only working for .aspx files, which isn\'t really what I need.[详细]
2023-02-11 22:29 分类:问答ASP.NET MVC - Illegal characters in path - redirect from Application_Error
In my application I generated few url whi开发者_如何转开发ch contained \" (double quotes), unfortunately.[详细]
2023-01-16 22:41 分类:问答How to solve exception "File does not exist"?
I have a basic ASP.NET MVC2 site which logs a single \"File does not exist\" error every time a view (not partial views) is loaded. I am pretty sure this is because I am referencing a file, from the m[详细]
2023-01-15 20:19 分类:问答DDE Server Windows:orcascr9.exe: Application Error
I\'ve looked at the queries on SO that pertain to similar errors - but haven\'t found anything so far, to help with this particular problem I am having with an orcascript which I am running under Powe[详细]
2022-12-30 10:42 分类:问答