473,326 Members | 2,133 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

An attempt was made to reference a token that does not exist

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: 69e920cb14524ef5a330e0e5540ae47e
Event sequence: 5
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/2/Root/MATWeb-1-128194812585312500
Trust level: Full
Application Virtual Path: /MATWeb
Application Path: D:\INETPUB\Publish\MAT\MATWeb\
Machine name: GBLOND088S9B

Process information:
Process ID: 3488
Process name: aspnet_wp.exe
Account name: GBLOND088S9B\ASPNET

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\ASPNET

Thread information:
Thread ID: 5
Thread account name: GBLOND088S9B\ASPNET
Is impersonating: False
Stack trace: at System.IO.__Error.WinIOError(Int32 errorCode, String
maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess
access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize,
FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean
bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share)
at System.Web.Hosting.MapPathBasedVirtualFile.Open()
at System.Web.UI.TemplateParser.ParseFile(String physicalPath,
VirtualPath virtualPath)
at System.Web.UI.TemplateParser.ParseInternal()
at System.Web.UI.TemplateParser.Parse()
at System.Web.Compilation.BaseTemplateBuildProvider.g et_CodeCompilerType()
at
System.Web.Compilation.BuildProvider.GetCompilerTy peFromBuildProvider(BuildProvider buildProvider)
at System.Web.Compilation.BuildProvidersCompiler.Proc essBuildProviders()
at System.Web.Compilation.BuildProvidersCompiler.Perf ormBuild()
at System.Web.Compilation.BuildManager.CompileWebFile (VirtualPath
virtualPath)
at
System.Web.Compilation.BuildManager.GetVPathBuildR esultInternal(VirtualPath
virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean
allowBuildInPrecompile)
at
System.Web.Compilation.BuildManager.GetVPathBuildR esultWithNoAssert(HttpContext
context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp,
Boolean allowBuildInPrecompile)
at System.Web.UI.TemplateControl.LoadControl(VirtualP ath virtualPath)
at System.Web.UI.TemplateControl.LoadControl(String virtualPath)
at ABNAmro.MATWeb.DesktopDefault.Page_Init(Object sender, EventArgs e)
at System.Web.UI.Control.OnInit(EventArgs e)
at System.Web.UI.Page.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Mar 28 '07 #1
0 4419

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: news.tkdsoftware.com | last post by:
I have the following test code. What I have a question about is in Func2Ref. In the pointer example, the last called method is actually the one whom allocated memory for the object and returns...
2
by: Hazzard | last post by:
I have a method which takes a Token object as an argument in GetPassword below. Token.cs is a custom class in another assembly/namespace. Do I need to add a reference to the assembly containing...
3
by: BravesCharm | last post by:
BravesCharm Dec 7, 10:57 am show options Newsgroups: microsoft.public.dotnet.distributed_apps From: "BravesCharm" <mastrauc...@gmail.com> Date: 7 Dec 2004 10:57:40 -0800 Local: Tues, Dec...
0
by: CW | last post by:
I get this FieldCount error when I attempt to bind a datagrid with a dataset, not a datareader object. The code snippet is as belows: 'PopulateForm called in Page Load event Private Sub...
8
by: ST | last post by:
Hello everyone, Can anyone help me with this error above when I debug my web app project in vstudio.net?? I can't figure it out! It was working fine for months, and now all of a sudden it's not!!...
11
by: asdf | last post by:
C++ allows a reference to a pointer, but doesn't allow a pointer to a reference, why?
4
by: Joseph Geretz | last post by:
We use a Soap Header to pass a token class (m_Token) back and forth with authenticated session information. Given the following implementation for our Logout method, I vastly prefer to simply code...
4
by: Bram Kuijper | last post by:
Okay, second try (since my posting on 4/27), to find a proper way to initialize a static reference member to an object. I try to initialize a static reference inside the class ga, referencing to...
0
by: JB | last post by:
I have an ASP project written years ago that I have recently started to try and update. It was written by someone who used to work here before me, and the source code I have is in a major mess. ...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.