Re: Debugging Dotnet Web Application

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Dilip Krishnan (dkrishnan_at_NOSPAM.geniant.com)
Date: 01/12/05


Date: Tue, 11 Jan 2005 16:05:46 -0800

Hello jpaquette@comloginc.com,
   Seems like yr having an ASP.net UI problem not a web service problem.
What a stack trace is .. is a heirarchy of methods that are called until
the error occurs

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com

> You'll need to forgive my ignorance. I tried the suggestion, but
> unfortunately trying to decode a stack trace for me is like trying to
> understand a foreign language. Usually I can debug things be getting
> a general sense of what the problem is through the error message and
> then looking at the line number where it was created to determine the
> malfunction. I'm not sure why the stack trace isn't configured to
> give this information. At any rate, here is the information I got
> from an artificial bug I created on the site using the suggestion
> above. If someone could give me pointers on how to read it, or what
> to look for then I would be grateful.
>
> Stack Trace :
> at System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean
> fCreateIfNotFound)
> at System.Web.UI.TemplateParser.GetParserCacheItem()
> at
> System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(Strin
> g
> 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+IExecuti
> onStep.Execute()
> at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
> Boolean& completedSynchronously)
> Exeception.ToString() :
> System.Web.HttpException: External component has thrown an exception.
> ---> System.Web.HttpCompileException: External component has thrown an
> exception.
> at
> System.Web.Compilation.BaseCompiler.ThrowIfCompilerErrors(CompilerResu
> lts
> results, CodeDomProvider codeProvider, CodeCompileUnit sourceData,
> String sourceFile, String sourceString)
> at System.Web.Compilation.BaseCompiler.GetCompiledType()
> at System.Web.UI.PageParser.CompileIntoType()
> at
> System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation()
> --- End of inner exception stack trace ---
> at System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean
> fCreateIfNotFound)
> at System.Web.UI.TemplateParser.GetParserCacheItem()
> at
> System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(Strin
> g
> 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+IExecuti
> onStep.Execute()
> at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
> Boolean& completedSynchronously)



Relevant Pages