How do I find out what's going wrong?

S

Stubbly Wubbly

Why am I getting this error? Any ideas/suggestions on how to track it
down?

I have a project for which I put an "auto notification" in the
globabl.asax's Application_Error event to email myself a copy of any
errors.

Recent changes to the system have me receiving errors regularly (as at
bottom). However, the site seems to function flawlessly with no
noticeable errors appearing anywhere to my eyes.

Furthermore, the class indicated below (bcc.login1) doesn't exist any
longer. It was the class name in the codebehind of the original login
page ... which was overhauled and rewritten in the new version. The
old version was excluded from the build entirely.

So I'm at a loss.
Can I add more/pertinent info to the error? My error alert code is
this:

Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs)

' Fires when an error occurs
Dim ex As Exception = Server.GetLastError()

'the email "ex.ToString" to me
'so that I know something is happening

End Sub

Here's the error code:

System.Web.HttpParseException: Parser Error: Could not load type
'bcc.login1'. ---> System.Web.HttpException: Could not load type
'bcc.login1'. at System.Web.UI.TemplateParser.GetType(String typeName,
Boolean ignoreCase) at
System.Web.UI.TemplateParser.ProcessMainDirective(IDictionary
mainDirective) at
System.Web.UI.TemplateControlParser.ProcessMainDirective(IDictionary
mainDirective) at
System.Web.UI.PageParser.ProcessMainDirective(IDictionary
mainDirective) at System.Web.UI.TemplateParser.ProcessDirective(String
directiveName, IDictionary directive) at
System.Web.UI.TemplateControlParser.ProcessDirective(String
directiveName, IDictionary directive) at
System.Web.UI.TemplateParser.ParseStringInternal(String text) at
System.Web.UI.TemplateParser.ParseString(String text, String
virtualPath, String basePhysicalDir) --- End of inner exception stack
trace --- at System.Web.UI.TemplateParser.ParseString(String text,
String virtualPath, String basePhysicalDir) at
System.Web.UI.TemplateParser.ParseFile(String filename, String
virtualPath) at System.Web.UI.TemplateParser.Parse() at
System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation() at
System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean
fCreateIfNotFound) at
System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() at
System.Web.UI.TemplateParser.GetParserCacheItem() at
System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String
virtualPath, String inputFile, HttpContext context) at
System.Web.UI.TemplateControlParser.GetCompiledInstance(String
virtualPath, String inputFile, HttpContext context) at
System.Web.UI.PageParser.GetCompiledPageInstanceInternal(String
virtualPath, String inputFile, HttpContext context) at
System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context,
String requestType, String url, String path) at
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String
requestType, String path, String pathTranslated, Boolean useAppConfig)
at
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously)
 
S

souri challa

Check to see that you have changed inherits from attribute of the @Page
directive in the ASPX page.
 
S

Stubbly Wubbly

Check to see that you have changed inherits from attribute of the @Page
directive in the ASPX page.


Actually, it was an entirely new page that I created (signin.aspx) and
the accompanying class is of course "bcc.signin"

The bcc.login1 doesn't exist anywhere in the solution (according to a
solution wide search).

So ... ???? Nothing so simple unfortunately.

I'm trying to look into the exception object to find out more about
the properties to see if I can generate better errors for myself but
haven't found anything too great yet.
 

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

Top