Every three or four compiles I get a TypeLoadExcepti on 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 typeloadexcepti on? I have been all over google.
Could not load type qt.rs.te.te from assembly qt.rs.te,
Version=1.0.200 0.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.TypeLoad Exception: Could not load type
qt.rs.te.te from assembly qt.rs.te, Version=1.0.200 0.27408,
Culture=neutral , PublicKeyToken= null.
Source Error:
[No relevant source lines]
Source File:
D:\Development\ Dotnet\Administ rator\www\Admin istrator\Applic ationState.vb
Line: 29
Stack Trace:
[TypeLoadExcepti on: Could not load type qt.rs.te.te from assembly
qt.rs.te, Version=1.0.200 0.27408, Culture=neutral , PublicKeyToken= null.]
qt.ad.Applicati onState.Init() +0
qt.ad.Applicati onState.LoadSta te() in
D:\Development\ Dotnet\Administ rator\www\Admin istrator\Applic ationState.vb:2 9
qt.ad.Global.Ap plication_Start (Object sender, EventArgs e) in
D:\Development\ Dotnet\Administ rator\www\Admin istrator\Global .asax.vb:35
=== PEVERIFY OUTPUT ON MAIN DLL
D:\Development\ Dotnet\Administ rator\www\Admin istrator\bin>pe verify Admi
nistrator.Web.d ll
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.W eb.dll