473,396 Members | 2,014 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,396 software developers and data experts.

(Mysterious) TypeLoadException Debugging

Every three or four compiles I get a TypeLoadException everytime I run a
web application on the same one or two dlls. The exception information
is vauge, no file errors, no permission errors, no binding errors
(according to fuslogvw), no file version problems, the dll that the type
is coming from is in the web's bin directory and has the version
specified on the error screen, the IL is valid in the dll of the type
being loaded. One odd thing is that the web applications dll has errors
(see below) but that may be normal. The problem disapears on rebuild
solution 1 out of 4 times. What else can I do to get a more detailed
reason for the typeloadexception? I have been all over google.

Could not load type qt.rs.te.te from assembly qt.rs.te,
Version=1.0.2000.27408, Culture=neutral, PublicKeyToken=null.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

=== ERROR ATTACHMENT

Exception Details: System.TypeLoadException: Could not load type
qt.rs.te.te from assembly qt.rs.te, Version=1.0.2000.27408,
Culture=neutral, PublicKeyToken=null.

Source Error:
[No relevant source lines]
Source File:
D:\Development\Dotnet\Administrator\www\Administra tor\ApplicationState.vb
Line: 29

Stack Trace:
[TypeLoadException: Could not load type qt.rs.te.te from assembly
qt.rs.te, Version=1.0.2000.27408, Culture=neutral, PublicKeyToken=null.]
qt.ad.ApplicationState.Init() +0
qt.ad.ApplicationState.LoadState() in
D:\Development\Dotnet\Administrator\www\Administra tor\ApplicationState.vb:29
qt.ad.Global.Application_Start(Object sender, EventArgs e) in
D:\Development\Dotnet\Administrator\www\Administra tor\Global.asax.vb:35
=== PEVERIFY OUTPUT ON MAIN DLL
D:\Development\Dotnet\Administrator\www\Administra tor\bin>peverify Admi
nistrator.Web.dll

Microsoft (R) .NET Framework PE Verifier Version 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

[MD]: Error: MethodImpl's Decl and Body method signatures do not match.
[token:
0x00000001]
[MD]: Error: MethodImpl's Decl and Body method signatures do not match.
[token:
0x00000008]
[MD]: Error: MethodImpl's Decl and Body method signatures do not match.
[token:
0x0000000E]
[MD]: Error: MethodImpl's Decl and Body method signatures do not match.
[token:
0x0000000F]
[MD]: Error: MethodImpl's Decl and Body method signatures do not match.
[token:
0x00000016]
[MD]: Error: MethodImpl's Decl and Body method signatures do not match.
[token:
0x00000017]
[MD]: Error: MethodImpl's Decl and Body method signatures do not match.
[token:
0x0000001D]
[MD]: Error: MethodImpl's Decl and Body method signatures do not match.
[token:
0x0000001E]
[MD]: Error: MethodImpl's Decl and Body method signatures do not match.
[token:
0x00000026]
[MD]: Error: MethodImpl's Decl and Body method signatures do not match.
[token:
0x00000027]
[MD]: Error: MethodImpl's Decl and Body method signatures do not match.
[token:
0x0000002D]
[MD]: Error: MethodImpl's Decl and Body method signatures do not match.
[token:
0x0000002E]
[MD]: Error: MethodImpl's Decl and Body method signatures do not match.
[token:
0x00000034]
[MD]: Error: MethodImpl's Decl and Body method signatures do not match.
[token:
0x00000035]
[MD]: Error: MethodImpl's Decl and Body method signatures do not match.
[token:
0x0000003A]
[MD]: Error: MethodImpl's Decl and Body method signatures do not match.
[token:
0x00000040]
[MD]: Error: MethodImpl's Decl and Body method signatures do not match.
[token:
0x00000046]
[MD]: Error: MethodImpl's Decl and Body method signatures do not match.
[token:
0x00000047]
[MD]: Error: MethodImpl's Decl and Body method signatures do not match.
[token:
0x0000004E]
[MD]: Error: MethodImpl's Decl and Body method signatures do not match.
[token:
0x0000004F]
[MD]: Error: MethodImpl's Decl and Body method signatures do not match.
[token:
0x00000056]
[MD]: Error: MethodImpl's Decl and Body method signatures do not match.
[token:
0x00000059]
[MD]: Error: MethodImpl's Decl and Body method signatures do not match.
[token:
0x00000064]
[MD]: Error: MethodImpl's Decl and Body method signatures do not match.
[token:
0x00000065]
[MD]: Error: MethodImpl's Decl and Body method signatures do not match.
[token:
0x0000006A]
[MD]: Error: MethodImpl's Decl and Body method signatures do not match.
[token:
0x0000006B]
26 Errors Verifying Administrator.Web.dll
Nov 19 '05 #1
0 1476

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

Similar topics

1
by: cody | last post by:
my problem is as follows: abstract class A { abstract Foo(); static Doit() { A = new B(); } }
0
by: Magnus Lindhe | last post by:
Hello, I'm trying to deserialize an XML document into a objects with the XmlSerializer which works fine in my NUnit test suit but fails with a TypeLoadException in the server. The difference...
1
by: DC | last post by:
Hi, I am programming a windows service and all went well until I needed to use a simple array of chars which I initialize like this: char test = new char {'\x002F', '\x005E'}; Immediatly...
1
by: @ndre | last post by:
Any type declaration of double leads to a TypeLoadException when run in cf (no compilation error), i.e. cf = reduced c# set??? see example below comments? @ndre this compiles with cf, but give...
0
by: Tintax | last post by:
Hi All, I'm trying to create a generic node class for generating class hierarchies like XmlNode/XmlDocument. Unfortunately I'm running into an interesting problem where my code compiles fine but...
2
by: Scott Wisniewski | last post by:
I am attempting to write a class to expose the STL map class to .NET languages as an IDictionary. As part of the implementation I created an implementation of IEnumerator that contains a pointer to...
3
by: Alfonzo Morra | last post by:
Hi, I recently started using VC7.1 (upgraded from VC6). I've noticed that when stepping through code, some of the values of my variables make no sese at all. For instance, I had some code like...
0
by: Pierre-Alain Vigeant | last post by:
Hi, I'm getting a TypeLoadException inside an object that is located in a DLL that is dynamically loaded. I have this main program "main.exe" that dynamically load "main.dll" using o =...
0
by: CampaniƧo | last post by:
Hi Can anyone help me with this problem. ------------------------------ PDA Transportes.exe TypeLoadException FormTransMain::.ctor+0x2c FormTransMain::Main+0x5
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.