I am deploying ASP.Net MVC 3 application on Windows 2008 R2 server. I published the application from Visual Studio 2010 using File System. I have two assemblies that have delay signed and have valid snk file. The deployment was done using xcopy as it is internal application.
But there were some solution related changes after some time. I renamed the two assemblies but have not changed snk files. Now after deployment, I am getting following error -
Could not load file or assembly MyApplication or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)
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.
Exception Details: System.IO.FileLoadException: Could not load file or assembly My doneApplication' or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)
Can somebody help me to sort this issue?