By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,384 Members | 671 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,384 IT Pros & Developers. It's quick & easy.

parser error

P: n/a
How can i find where this 'parser error' is coming from. It works find in
prodution and but now fail in test. I've done this many many times, but have
not seem this.

System.Web.HttpParseException: Parser Error: Could not load type
'myApp.pcReport'. ---> System.Web.HttpException: Could not load type
'myApp.pcReport'.
at System.Web.UI.TemplateParser.GetType(String typeName, Boolean
ignoreCase)
at System.Web.UI.TemplateParser.ProcessMainDirective( IDictionary
mainDirective)
at System.Web.UI.TemplateControlParser.ProcessMainDir ective(IDictionary
mainDirective)
at System.Web.UI.PageParser.ProcessMainDirective(IDic tionary mainDirective)
at System.Web.UI.TemplateParser.ProcessDirective(Stri ng directiveName,
IDictionary directive)
at System.Web.UI.TemplateControlParser.ProcessDirecti ve(String
directiveName, IDictionary directive)
at System.Web.UI.TemplateParser.ParseStringInternal(S tring 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.GetParserCacheItemThr oughCompilation()
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)

I've tried deleting the dll and re-building.
THanks for any assistance.
--
Richard
Nov 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
CMA
Hi Richard,

this is only a guess since you didn't provide much information on the
controls or pages.
Mostly this will get from rendering user controls. I hope that the
'myApp.pcReport' is an user control. open the html of the page where you
included this user control and check for the directives in the top of the
page. there should be a directive for the control you are using in the page.

normally when you drag the control to a page the designer will generate this
code automatically.

if not solve the problem, send some code fragments of the pages.

hope this helps,
regards,
CMA.
"Richard Roche" <Ri**********@discussions.microsoft.com> wrote in message
news:6F**********************************@microsof t.com...
How can i find where this 'parser error' is coming from. It works find in
prodution and but now fail in test. I've done this many many times, but have not seem this.

System.Web.HttpParseException: Parser Error: Could not load type
'myApp.pcReport'. ---> System.Web.HttpException: Could not load type
'myApp.pcReport'.
at System.Web.UI.TemplateParser.GetType(String typeName, Boolean
ignoreCase)
at System.Web.UI.TemplateParser.ProcessMainDirective( IDictionary
mainDirective)
at System.Web.UI.TemplateControlParser.ProcessMainDir ective(IDictionary
mainDirective)
at System.Web.UI.PageParser.ProcessMainDirective(IDic tionary mainDirective) at System.Web.UI.TemplateParser.ProcessDirective(Stri ng directiveName,
IDictionary directive)
at System.Web.UI.TemplateControlParser.ProcessDirecti ve(String
directiveName, IDictionary directive)
at System.Web.UI.TemplateParser.ParseStringInternal(S tring 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.GetParserCacheItemThr oughCompilation()
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)

I've tried deleting the dll and re-building.
THanks for any assistance.
--
Richard

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.