Re: A parser error has occurred?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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:
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/organizationlist.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.



.



Relevant Pages

  • RE: A parser error has occurred?
    ... Exception type: HttpException ... Could not load type 'Mapaid.Global'. ... Thread account name: NT AUTHORITY\NETWORK SERVICE ... configMapPathFactory, HostingEnvironmentParameters hostingParameters) ...
    (microsoft.public.dotnet.framework.aspnet)
  • A parser error has occurred?
    ... Exception type: HttpException ... Request information: ... Thread account name: NT AUTHORITY\NETWORK SERVICE ... at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) ...
    (microsoft.public.dotnet.framework.aspnet)
  • ASP.NET keeps forcing us to restart IIS
    ... Event code: 3003 ... Exception type: HttpRequestValidationException ... Request URL: http://store.windward.net/register.aspx ... Thread account name: NT AUTHORITY\NETWORK SERVICE ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: ASP.NET keeps forcing us to restart IIS
    ... coded your site to prevent injection attacks, then you can turn off request ... Exception type: HttpRequestValidationException ... Thread account name: NT AUTHORITY\NETWORK SERVICE ... includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Help Help. I really need some help with this
    ... Dim _list As New Generic.List(Of String) ... An unhandled exception has occurred. ... Thread account name: NT AUTHORITY\NETWORK SERVICE ... Object value, CacheDependency dependency, CacheItemRemovedCallback ...
    (microsoft.public.dotnet.framework.aspnet)