ISSUEWhen publishing an existing workflow, the following error might occur:
Server was unable to process request. ---> The type initializer for '<Module>' threw an exception
ERROR CODEServer was unable to process request. ---> The type initializer for '' threw an exception
Clear the asp.net temp files.
- Perform an IISRESET.
- Browse to “C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root” on the server.
- Delete all the contents of this folder.