Friday, March 26, 2010

The location of the file or directory […] is not trusted.

Hard work over last three days using laptop, today I’ve copied the project files onto the developer box, loaded the project in VS and tried to test. The test project failed with following message:

The location of the file or directory [<here comes the project path/project coniuration file>.config] is not trusted.

vserror

The problem is, the config file for the project is copied from other computer.

To solve the problem:

1. Go to the folder containing the config file and view the file properties:

beforeunblock

2. Click “Unblock” and review the properties:
afterunblock

3. Restart the project – and enjoy!

(This post is published with Windows Live Writer)

No comments: