Google
 

Monday, March 26, 2007

URL not trusted error in .Net Framework2.0

I caught the following exception:
Microsoft.VisualStudio.TestTools.TestManagement.ExecutionException: Test Run deployment issue: The location of the file or directory '\\whostestrun\NewUIAutomation\UIAutomation\Release\Microsoft.Whos.Test.UIAutomation.dll' is not trusted.

Solution:
  1. Go to the .Net Framework 2.0 Configuration
  2. Open node at the Runtime Security Policy->Machine->Code Groups -> All code and Create new Code Group
  3. Input new group name: TrustedLibrary
  4. Select Code Group: URL and input the url
  5. Select permission set: Full Trust
  6. At last finish and restart your computer.

No comments: