473,804 Members | 3,273 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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: 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)

Mar 28 '07 #1
0 4440

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

Similar topics

6
1286
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 the pointer to the calling parent for it to be printed. In the reference example, the parent actually creates the object but in Func2Ref, I need that object to be a derived type. This is like how AST traversal occurs **hint**. Can someone offer...
2
1175
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 the Token class to use an instance of that Token object passed in as an argument to the local namespace/assembly as listed below? (eg. using AssemblyContainingToken;) namespace local public class local
3
3237
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 7 2004 10:57 am Subject: Have trouble with reference counts! Reply | Reply to Author | Forward | Print | Individual Message | Show original | Remove | Report Abuse
0
1583
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 PopulateForm(ByVal MyOrderDetails As MyChannel.OrderDetails) Me.lblOrderID.Text = CStr(MyOrderDetails.OrderID)
8
2478
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!! This is the error: biopsy.searchsubject.btnSubject_Click(Object Sender, EventArgs e) in C:\INetPub\WWWRoot\biopsy\searchsubject.aspx.vb:198 System.Web.UI.WebControls.Button.OnClick(EventArgs e)
11
4245
by: asdf | last post by:
C++ allows a reference to a pointer, but doesn't allow a pointer to a reference, why?
4
2489
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 m_Token = null in order to destroy the session token when the user logs out. However, I'm finding that setting class instance to null results in no header being sent back to the client, with the result that the client actually remains with an...
4
1988
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 an instance of the class bla. According to a previous posting of Zeppe on 4/27... Doing that, this is my code: class bla
0
1391
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. There is just one (of many) DLL file that once I recompile I get the error mentioned above. The located assembly's manifest definition with name '.....' does not match the assembly reference (see snippet for full detail).
0
9584
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10583
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10082
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9160
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7622
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5654
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4301
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3822
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2995
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.