Common Genius

The online technical home of David Nelson
Welcome to Common Genius Sign in | Join | Help
in Search

Variable Irony

A commentary on technical issues ranging far and wide.

"Project location is not trusted", on a local drive

I have had a problem before where I get the following message trying to open a solution or project in Visual Studio:

The project location is not trusted: <path to project>
Running the application may result in security exceptions when it attempts to perform actions which require full trust.

Googling the error message turns up lots of hits on how to give UNC paths full trust when opening projects from a network drive. But all of my projects are local. Eventually I discovered that the problem was that the project had been extracted from a downloaded zip file, which Windows XP had "quarantined" in a partial trust zone. The recommend solution is to open the file properties on the zip file and click the "Unblock" button, before unzipping it. Unfortunately, I ran into a situation today where I had already extracted and deleted the zip file. In searching for a way to unblock all of the extracted files, I didn't have much luck, until I found a forum post pointing me to ZoneStripper. ZoneStripper "unblocks" any file or set of files in a directory, which was perfect for my situation. Also included in the readme is a technical explanation of how Windows XP "blocks" downloaded files, and how ZoneStripper fixes the problem, which I found interesting.

Published Monday, December 18, 2006 3:26 PM by dnelson

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Bishop’s Notebook » Project Location is not trusted said:

March 24, 2007 1:15 PM
 

Bruce said:

Thanks very much for this. It was driving me mad.

April 5, 2007 10:14 PM
 

Piotr said:

That's the point. Thanks a lot !!!

February 12, 2008 10:01 AM
 

Amorn said:

Amazing, Thank

February 19, 2008 11:35 PM
 

SoftwareNotes said:

Via [ dnelson ] I have had a problem before where I get the following message trying to open a solution

March 21, 2008 11:02 AM
 

Eric said:

Excellent solution. Worked perfectly for me!

May 7, 2008 5:46 PM
 

DE said:

Grand - very useful.

May 12, 2008 11:26 AM
 

Nigel said:

Your the man!!!  I thought i was going crazy

July 11, 2008 9:53 AM

Leave a Comment

(required) 
(optional)
(required) 
Submit
Powered by Community Server, by Telligent Systems