How do I diagnose an error?

G

Guest

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
 
W

weichung[MCSD,MCDBA]

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
 
G

Guest

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.

weichung said:
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


Kevin Burton said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top