Last post Dec 03, 2019 11:51 AM by xrj
Nov 30, 2019 03:35 PM|xrj|LINK
At present the problem seems solved although I'm not very sure of the solution. When overwriting the DLL in the IIS's bin folder with the original one at once the error message disappeared and the pages worked well for a while. So, suspecting the DLL could
be in some moment been corrupted I binary compared the two DLL, the original and the one in the bin folder but they seemed identical at least in my comparing process. Now, denying permissions to the TrustedInstaller in the bin folder and, then, copying again
the original DLL to the applications IIS bin folder and restarting IIS all seems to work properly as it should.
Dec 03, 2019 11:51 AM|xrj|LINK
Well, my solution was not a good solution. Searching I found a better solution: delete the applicationhost.config from the .vs folder (found in the folder of your project/solution) and create a new virtual directory (Project Properties > Web
> Create Virtual Directory). In my case I didn't even need to create a new virtual directory in my Web Application Project, just re-compile and copy the only DLL to IIS. Hope this helps somebody else.