Re: How do I diagnose an error?

From: weichung[MCSD,MCDBA] (lowwc_at_accelteam.com)
Date: 12/10/04


Date: Fri, 10 Dec 2004 16:21:10 +0800

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" <KevinBurton@discussions.microsoft.com> wrote in message
news:E1257825-77A6-4560-BC77-9069F11251E6@microsoft.com...
>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
> Version:1.1.4322.573



Relevant Pages

  • RE: Load Testing Errors
    ... > An unhandled exception was generated during the execution of the current web ... > be identified using the exception stack trace below. ... > System.Web.UI.DataBinder.GetPropertyValue(Object container, String ... > propName, String format) +11 ...
    (microsoft.public.dotnet.framework.performance)
  • RE: Load Testing Errors
    ... > An unhandled exception was generated during the execution of the current web ... > be identified using the exception stack trace below. ... > System.Web.UI.DataBinder.GetPropertyValue(Object container, String ... > propName, String format) +11 ...
    (microsoft.public.dotnet.general)
  • RE: Load Testing Errors
    ... > An unhandled exception was generated during the execution of the current web ... > be identified using the exception stack trace below. ... > System.Web.UI.DataBinder.GetPropertyValue(Object container, String ... > propName, String format) +11 ...
    (microsoft.public.dotnet.security)
  • Problem accessing db through ASP.NET application
    ... An unhandled exception occurred 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. ... System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +174 ... System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +112 ...
    (microsoft.public.dotnet.framework.aspnet)
  • How do I diagnose an error?
    ... customErrors in the server's .config file. ... An unhandled exception occurred during the execution of the ... Please review the stack trace for more information about ... visa.dps.ppc.RemoteClsConversion.GetHTML(String strXMLFile, String ...
    (microsoft.public.dotnet.framework.aspnet)