469,572 Members | 1,629 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,572 developers. It's quick & easy.

User Control seemingly random compiler error

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.ThrowIfCompile rErrors(CompilerResults
results, CodeDomProvider codeProvider, CodeCompileUnit sourceData, String
sourceFile, String sourceString)
at System.Web.Compilation.BaseCompiler.GetCompiledTyp e()
at System.Web.UI.PageParser.CompileIntoType()
at System.Web.UI.TemplateParser.GetParserCacheItemThr oughCompilation()
--- End of inner exception stack trace ---
at System.Web.UI.TemplateParser.GetParserCacheItemInt ernal(Boolean
fCreateIfNotFound)
at System.Web.UI.TemplateParser.GetParserCacheItemWit hNewConfigPath()
at System.Web.UI.TemplateParser.GetParserCacheItem()
at
System.Web.UI.TemplateControlParser.CompileAndGetP arserCacheItem(String
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.TemplateControlParser.GetCompiledIns tance(String
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.PageParser.GetCompiledPageInstanceIn ternal(String
virtualPath, String inputFile, HttpContext context)
at System.Web.UI.PageHandlerFactory.GetHandler(HttpCo ntext context,
String requestType, String url, String path)
at System.Web.HttpApplication.MapHttpHandler(HttpCont ext context, String
requestType, String path, String pathTranslated, Boolean useAppConfig)
at
System.Web.MapHandlerExecutionStep.System.Web.Http Application+IExecutionStep
..Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep 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
Nov 18 '05 #1
0 1270

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Acacia | last post: by
8 posts views Thread by jon morgan | last post: by
16 posts views Thread by Jason | last post: by
9 posts views Thread by greeningster | last post: by
4 posts views Thread by vooose | last post: by
reply views Thread by matt | last post: by
1 post views Thread by xgngli | last post: by
4 posts views Thread by =?Utf-8?B?UmljaEI=?= | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.