M
matt
Hi,Hope someone can help me on this infuriating problem. We have several
pages containing different user controls which run fine then strangely
output the following error. The problem can then be resolved by simply
saving the .ascx file, which forces a recompile.System.Web.HttpException:
External component has thrown an exception. --->
System.Web.HttpCompileException: External component has thrown an exception.
at
System.Web.Compilation.BaseCompiler.ThrowIfCompilerErrors(CompilerResults
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.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)This has only started occurring in the last 2 weeks,
so we had one theory that the change to Summer time (28th March here) was
causing something strange to happen with the caching mechanism (Yes we're
getting desperate on this. We noticed that although the system clock shows
the summer time adjusted time, all our IIS logs show the time stamp for the
non adjusted time, very strange.I'd be very grateful if anyone has any ideas
on why this might be happening, or even a good way to begin to debug this,
it only happens on our live server (win 2003 server, IIS 6). It is so
frustrating as it really does work absolutely fine for a time, and then just
requires a re-save of the .ascx template file and nothing else to fix
it.Someone please HELP!!!Many Thanks,Matt
pages containing different user controls which run fine then strangely
output the following error. The problem can then be resolved by simply
saving the .ascx file, which forces a recompile.System.Web.HttpException:
External component has thrown an exception. --->
System.Web.HttpCompileException: External component has thrown an exception.
at
System.Web.Compilation.BaseCompiler.ThrowIfCompilerErrors(CompilerResults
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.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)This has only started occurring in the last 2 weeks,
so we had one theory that the change to Summer time (28th March here) was
causing something strange to happen with the caching mechanism (Yes we're
getting desperate on this. We noticed that although the system clock shows
the summer time adjusted time, all our IIS logs show the time stamp for the
non adjusted time, very strange.I'd be very grateful if anyone has any ideas
on why this might be happening, or even a good way to begin to debug this,
it only happens on our live server (win 2003 server, IIS 6). It is so
frustrating as it really does work absolutely fine for a time, and then just
requires a re-save of the .ascx template file and nothing else to fix
it.Someone please HELP!!!Many Thanks,Matt