Groups | Blog | Home
all groups > asp.net > december 2004 >

asp.net : How do I diagnose an error?


Kevin Burton
12/9/2004 11:52:20 PM
I have an aspx page that is generating the error below. I want to solve this
problem but in general I would like to know how I might best approach
problems like this. Any suggestions?

Thank you.

Kevin

Server encountered an internal error. For more information, turn on
customErrors in the server's .config file.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.

Exception Details: System.Runtime.Remoting.RemotingException: Server
encountered an internal error. For more information, turn on customErrors in
the server's .config file.

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.

Stack Trace:


[RemotingException: Server encountered an internal error. For more
information, turn on customErrors in the server's .config file.]
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg) +264
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type) +877
visa.dps.ppc.RemoteClsConversion.GetHTML(String strXMLFile, String
strXSLTFile, String strUserInput, String strSessionID)
visa.dps.ppc.frmVisaPPC.CreateScreen(String strScreen)
visa.dps.ppc.frmVisaPPC.Page_Load(Object sender, EventArgs e)
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Kevin Burton
12/10/2004 7:29:02 AM
For this error the message seems to be hard-coded. If I receive this error
(as opposed to the general system error page) then I get this as part of the
exception message string. Changing or toggling the <customErrors> does not
give further information as the error would lead one to believe.

[quoted text, click to view]
weichung[MCSD,MCDBA]
12/10/2004 4:21:10 PM
In your web.config file, locate the following nodes,

<customErrors mode="Off" />
^

Check if it's On, turn it off and you will see the error message in a yellow
page.

Hope it helps,

weichung


[quoted text, click to view]

AddThis Social Bookmark Button