I had to make a deployment on the new branch which was branching from the original project. it is working fine that i published the web to the server in the original branch. However i encountered an error
"SGEN : error : Could not load file or assembly 'file:///C:\Users\ddeng\Documents\\bin\HiQPdf.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)"
When i check the folder, the HiQPdf.dll file did exist in the folder. the root cause of this error is that those third party DLL had been locked by Windows 8 due to security concern.
we have to unlock it to allow the publish action to move the dll to the destination folder.
please follow the steps to fix the issue.
1. right click to get properties
2 in the properties there was a button UNBLOCK, click on the Unlock button and applied the change.
try to rebuild again. you will see your publish go through suceessfully.
No comments:
Post a Comment