ASP.Net MissingMethodException - ctor method not found

We get intermittent problems on the production server that we cannot recreate.

There are two very strange things about this problem. Firstly, the method did not detect an error in the constructor (ctor) for the auxiliary exception handling class, and secondly, we have custom errors for remote users, and this property is ignored.

Error Detail:

Server error in application / MyWebsite.


Method not found: 'Void MyExceptionHelperClass..ctor (System.Exception)'.

...
Exception Details: System.MissingMethodException: Method not found: "Void MyExceptionHelperClass..ctor (System.Exception)".
...

Stack tracing is pretty useless.

, - - , . , , .

. , , - , - - ?

UPDATE:

, , , ( ). , , , , . , , ?

+5
7

, , .

.NET , , - , .

, . ASP.NET; "iisreset/stop", .

, AssemblyInfo.cs , . , CI, , .

+9
+2

, , - . -, , - Precompile . , ASP.Net " " , .

+2

, MyExceptionHelperClass ? , , .

public class MyExceptionHelperClass()
{
   public MyExceptionHelperClass() { }
}
+1

, , . , , aroung threading/app domains. , .

, . , , ( ). , config, threading.

, . . !

0

, Framework . , . -

net stop iisadmin /y && del /q /f /s "%systemroot%\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\*.*" && iisreset
0

( ) .NET ? 2.0.50727.42.

-1
source

All Articles