This message was discovered on microsoft.public.dotnet.framework.aspnet.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.
| Johan Neidenmark (VIP) |
Copied from microsoft.public.cmserver.general (http://communities2.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.cmserver.general&mid=68d413a9-0f0e-458c-b913-756f24b06d79)
Hello,
When i try to create a new page from a new template i get the exception below. Anyone have any directions on what i should look for? The template path is correct and the project compiles ok. When i run the project in debug no breakpoints in my template are hit.
/Johan
Exception: System.Web.HttpException Message: External component has thrown an exception. Source: System.Web 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)
Nested Exception
Exception: System.Web.HttpCompileException Message: External component has thrown an exception. Source: System.Web 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()
|
|
| |
| |
| Paul Glavich [MVP - ASP.NET] (VIP) |
I know this probably doesn't help much, but I see this kind of exception all the time when using the CSK. The CSK throws these exceptions as part of its normal operation and continues on as per normal. I have a routine which emails me exception details from a CSK site and I receive an email for almost every page visited by a user.
-- - Paul Glavich Microsoft MVP - ASP.NET
"Johan Neidenmark" <Click here to reveal e-mail address> wrote in message news:Click here to reveal e-mail address... [Original message clipped]
?dg=microsoft.public.cmserver.general&mid=68d413a9-0f0e-458c-b913-756f24b06d 79) [Original message clipped]
..Execute() [Original message clipped]
|
|
| |
|
|
|
|
|