For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET > May 2006 > A parser error has occurred?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author A parser error has occurred?
Olav

2006-05-30, 7:10 pm

I get this error in the EventLog when I try to open an ASP.NET 2.0 web page.

What should I look for to fix the problem?

Olav

Event code: 3006
Event message: A parser error has occurred.
Event time: 5/30/2006 11:36:58 PM
Event time (UTC): 5/30/2006 9:36:58 PM
Event ID: d47320e10ef04c018c054e8f57a6b306
Event sequence: 1
Event occurrence: 1
Event detail code: 0

Application information:
Application domain:
/LM/W3SVC/80972989/Root/Flyfoto/Admin-9-127934986183549005
Trust level: Full
Application Virtual Path: /Flyfoto/Admin
Application Path: C:\WebSites\Mapaid\Flyfoto\Admin\
Machine name: WEB02

Process information:
Process ID: 1828
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: HttpException
Exception message: Could not load type 'Mapaid.Global'.

Request information:
Request URL: http://www.mapaid.com/flyfoto/admin...zationlist.aspx
Request path: /flyfoto/admin/organizationlist.aspx
User host address: 217.13.23.119
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 9
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException()
at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager
appManager, IApplicationHost appHost, IConfigMapPathFactory
configMapPathFactory, HostingEnvironmentParameters hostingParameters)


Custom event details:

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

Peter Bromberg [C# MVP]

2006-05-30, 7:10 pm

Do you have a Global.asax file?
That's what it says it can't load. Might want to check the namespace. Also,
you do not have to have a global.asax file.
Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com




"Olav" wrote:

> I get this error in the EventLog when I try to open an ASP.NET 2.0 web page.
>
> What should I look for to fix the problem?
>
> Olav
>
> Event code: 3006
> Event message: A parser error has occurred.
> Event time: 5/30/2006 11:36:58 PM
> Event time (UTC): 5/30/2006 9:36:58 PM
> Event ID: d47320e10ef04c018c054e8f57a6b306
> Event sequence: 1
> Event occurrence: 1
> Event detail code: 0
>
> Application information:
> Application domain:
> /LM/W3SVC/80972989/Root/Flyfoto/Admin-9-127934986183549005
> Trust level: Full
> Application Virtual Path: /Flyfoto/Admin
> Application Path: C:\WebSites\Mapaid\Flyfoto\Admin\
> Machine name: WEB02
>
> Process information:
> Process ID: 1828
> Process name: w3wp.exe
> Account name: NT AUTHORITY\NETWORK SERVICE
>
> Exception information:
> Exception type: HttpException
> Exception message: Could not load type 'Mapaid.Global'.
>
> Request information:
> Request URL: http://www.mapaid.com/flyfoto/admin...zationlist.aspx
> Request path: /flyfoto/admin/organizationlist.aspx
> User host address: 217.13.23.119
> User:
> Is authenticated: False
> Authentication Type:
> Thread account name: NT AUTHORITY\NETWORK SERVICE
>
> Thread information:
> Thread ID: 9
> Thread account name: NT AUTHORITY\NETWORK SERVICE
> Is impersonating: False
> Stack trace: at
> System.Web.Compilation.BuildManager.ReportTopLevelCompilationException()
> at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
> at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager
> appManager, IApplicationHost appHost, IConfigMapPathFactory
> configMapPathFactory, HostingEnvironmentParameters hostingParameters)
>
>
> Custom event details:
>
> For more information, see Help and Support Center at
> http://go.microsoft.com/fwlink/events.asp.
>
>

parshu

2006-05-31, 4:12 am

Hi,

I might b wrong here as i've primarily worked with asp.net 1.1. I
usually got this error when an assembly reference was missing. U might
wanna check if all assembly r present in ur bin folder.

Thanx

Peter wrote:[color=darkred]
> Do you have a Global.asax file?
> That's what it says it can't load. Might want to check the namespace. Also,
> you do not have to have a global.asax file.
> Peter
> --
> Co-founder, Eggheadcafe.com developer portal:
> http://www.eggheadcafe.com
> UnBlog:
> http://petesbloggerama.blogspot.com
>
>
>
>
> "Olav" wrote:
>

Juan T. Llibre

2006-05-31, 8:12 am

re4:
> I might b wrong here


You are.

Peter's analysis is on the button.

The exception message: Could not load type 'Mapaid.Global' is quite specific.

The problem is that Mapaid.Global can't be found.
The most probable causes are a misspelling or an incorrect name reference.




Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"parshu" <parshuram@gmail.com> wrote in message
news:1149050602.353307.60550@f6g2000cwb.googlegroups.com...
> Hi,
>
> I might b wrong here as i've primarily worked with asp.net 1.1. I
> usually got this error when an assembly reference was missing. U might
> wanna check if all assembly r present in ur bin folder.
>
> Thanx
>
> Peter wrote:
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com