Chaks' Corner

SharePoint and other stuffs

27. August 2008 13:08
by Chakkaradeep
0 Comments

Sorry my dear friend, but this 'dll is not trusted'

27. August 2008 13:08 by Chakkaradeep | 0 Comments

Today I downloaded RhinoMocks and referenced in my test project (Microsoft Visual Studio Testing Environment) and executed my unit tests.

My tests failed with the same error (for all tests). Visual Studio was kind enough to find that the RhinoMocks.dll which I downloaded is not trusted and cannot be deployed in a test environment!

testing-error

(click to enlarge)

It appears to be that any dll you download from the Internet or get it via email, some extra information called AES gets attached. This cautions the user that it was downloaded from Internet and needs attention. More info on this here

To resolve this issue, just open the properties of the file and Unblock it :)

unblock

This corresponds if you have Windows XP SP2, Windows Server SP1 or higher

Comments are closed