Error messages not complete

T

tshad

I am getting the following error message when an error happens with
debug=false.

********************************************************************
Server Error in '/' Application.
--------------------------------------------------------------------------------

C:\Inetpub\wwwroot\staffingworkshop\administration\passwordsRolesAdmin1.ascx
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.IO.FileNotFoundException:
C:\Inetpub\wwwroot\staffingworkshop\administration\passwordsRolesAdmin1.ascx

Source Error:
The source code that generated this unhandled exception can only be shown
when compiled in debug mode. To enable this, please follow one of the below
steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the
error. Example:
....
**********************************************************************

If I set the system to go to the Application_Error function in my
Global.asax, I get the following:

***********************************************************************
Source: System.Web
Message:
C:\Inetpub\wwwroot\staffingworkshop\administration\passwordsRolesAdmin1.ascx
Stack Trace:
at System.Web.UI.TemplateParser.GetParserCacheItem()
at
System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.TemplateControlParser.GetCompiledType(String
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.UserControlParser.GetCompiledUserControlType(String
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.TemplateControl.LoadControl(String virtualPath)
at ASP.passwordsRolesAdmin_aspx.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain()
***************************************************************************

Where is the "System.IO.FileNotFoundException" that was in the other error
page?

I am getting the message like so:

ErrorString &= "Source: " & exception.Source& vbCrLf & _
"Message: " & exception.Message& vbCrLf & _
"Stack Trace: " & vbCrLf & exception.StackTrace & vbCrLf &
vbCrLf

Is the Exception Details "System.IO.FileNotFoundException" stored somewhere
else?

I assume it is somewhere or else where did MS get it?

This message doesn't really tell me anything.

Thanks,

Tom
 

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

No members online now.

Forum statistics

Threads
473,983
Messages
2,570,187
Members
46,747
Latest member
jojoBizaroo

Latest Threads

Top