Error "Server was unable to process request. ---> The type initializer for '<Module>' threw an exception."

  • 26 March 2021
  • 0 replies
  • 136 views

Userlevel 5
Badge +19

Issue

When publishing an existing workflow, the following error might occur:

Server was unable to process request. ---> The type initializer for '<Module>' threw an exception

 

Resolution

Clear the asp.net temp files.
  1. Perform an IISRESET.
  2. Browse to “C:WindowsMicrosoft.NETFramework64v2.0.50727Temporary ASP.NET Files oot” on the server.
  3. Delete all the contents of this folder.

 

Error Code

Server was unable to process request. ---> The type initializer for '' threw an exception

 

Additional Information

These are temporary files that will be regenerated after they have been cleared. Another IISRESET might be necessary if file locked messages occur.

 


0 replies

Be the first to reply!

Reply