Hi,
We've recently upgraded our ASP.Net 1.1 web application to ASP.Net 2.0 (Web
Application Project Model). One one of our staging web servers (W2K), we've
started receiving the above error fairly frequently.
It tends to happen soon after deploying (via xcopy) a new version of the
site and then running iisreset, although sometimes it may happen anything up
to 15 minutes after a new version has been deployed.
The full error with stack trace is below. It looks like something internal
to do with LoadControl or compilation from the stack trace.
The annoying thing is, we havent reproduced this error on any dev
workstations, or (fortunately) our production environment yet.
Has anybody experienced something similar ?
Thanks
Roy.
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 27/03/2007 16:04:29
Event time (UTC): 27/03/2007 15:04:29
Event ID: 69e920cb14524ef 5a330e0e5540ae4 7e
Event sequence: 5
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/2/Root/MATWeb-1-128194812585312 500
Trust level: Full
Application Virtual Path: /MATWeb
Application Path: D:\INETPUB\Publ ish\MAT\MATWeb\
Machine name: GBLOND088S9B
Process information:
Process ID: 3488
Process name: aspnet_wp.exe
Account name: GBLOND088S9B\AS PNET
Exception information:
Exception type: IOException
Exception message: An attempt was made to reference a token that does
not exist.
Request information:
Request URL: http://gblond088s9b/MATWeb/DeskTopDefault.aspx?tabid=77
Request path: /MATWeb/DeskTopDefault. aspx
User host address: 10.14.7.110
User: gbmabj
Is authenticated: True
Authentication Type: Forms
Thread account name: GBLOND088S9B\AS PNET
Thread information:
Thread ID: 5
Thread account name: GBLOND088S9B\AS PNET
Is impersonating: False
Stack trace: at System.IO.__Err or.WinIOError(I nt32 errorCode, String
maybeFullPath)
at System.IO.FileS tream.Init(Stri ng path, FileMode mode, FileAccess
access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize,
FileOptions options, SECURITY_ATTRIB UTES secAttrs, String msgPath, Boolean
bFromProxy)
at System.IO.FileS tream..ctor(Str ing path, FileMode mode, FileAccess
access, FileShare share)
at System.Web.Host ing.MapPathBase dVirtualFile.Op en()
at System.Web.UI.T emplateParser.P arseFile(String physicalPath,
VirtualPath virtualPath)
at System.Web.UI.T emplateParser.P arseInternal()
at System.Web.UI.T emplateParser.P arse()
at System.Web.Comp ilation.BaseTem plateBuildProvi der.get_CodeCom pilerType()
at
System.Web.Comp ilation.BuildPr ovider.GetCompi lerTypeFromBuil dProvider(Build Provider buildProvider)
at System.Web.Comp ilation.BuildPr ovidersCompiler .ProcessBuildPr oviders()
at System.Web.Comp ilation.BuildPr ovidersCompiler .PerformBuild()
at System.Web.Comp ilation.BuildMa nager.CompileWe bFile(VirtualPa th
virtualPath)
at
System.Web.Comp ilation.BuildMa nager.GetVPathB uildResultInter nal(VirtualPath
virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean
allowBuildInPre compile)
at
System.Web.Comp ilation.BuildMa nager.GetVPathB uildResultWithN oAssert(HttpCon text
context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp,
Boolean allowBuildInPre compile)
at System.Web.UI.T emplateControl. LoadControl(Vir tualPath virtualPath)
at System.Web.UI.T emplateControl. LoadControl(Str ing virtualPath)
at ABNAmro.MATWeb. DesktopDefault. Page_Init(Objec t sender, EventArgs e)
at System.Web.UI.C ontrol.OnInit(E ventArgs e)
at System.Web.UI.P age.OnInit(Even tArgs e)
at System.Web.UI.C ontrol.InitRecu rsive(Control namingContainer )
at System.Web.UI.P age.ProcessRequ estMain(Boolean
includeStagesBe foreAsyncPoint, Boolean includeStagesAf terAsyncPoint)