The Project Location is not Trusted

image

This one has been bothering me for several weeks, so I decided to research the problem and finally fix it.

The problem started when I downloaded a project from the web to start working on it.  This same project worked previously, the zip was just an update.

Here’s what I found:

You may have already seen the article from Microsoft that says this is caused by trying to access a UNC path from your solution.  But my project doesn’t have any UNC paths in it.

Evidently, Microsoft is now adding a security property to any zip files that are downloaded from a security zone that is not trusted and applying that to your project file when the zip file is unzipped.

I eventually got this answer by visiting:
http://blog.colinmackay.net/archive/2009/03/23/Tip-of-the-Day-9-The-Project-Location-Is-Not.aspx

He has a utility to strip the information and a pretty good explanation of what is going on.  But the real gem is in the comments where it says that all we have to do is right-click the project file in File Explorer and click the “Unblock” button at the bottom.

Less than five minutes later I had my solution opening cleanly again.

Related Post

  • ASP.NET Assigning a Role to a UserASP.NET Assigning a Role to a User
    Another function that is not supplied by one of the existing controls in ASP.NET is the ability to assign a user to a role.  For this, we will need to resort to using the APIs. Since we ca...
  • DotNetNuke Modules – Install DNN into VS 2008DotNetNuke Modules – Install DNN into VS 2008
    Today, we will install DotNetNuke into Visual Studio so that we can create our first module. So fire up Visual Studio, and let's get going. I'll be using Visual Studio 2008 to walk you thro...
  • Installing Silverlight2 Tools for Visual StudioInstalling Silverlight2 Tools for Visual Studio
    I was talking with a friend of mine a couple of days ago about the future of web development and XAML specifically when he made the comment about the tools not being available for the average deve...
  • Computed Columns Using LINQ to SQL ClassesComputed Columns Using LINQ to SQL Classes
    Last week we looked at the extension points Microsoft has wired into the LINQ to SQL classes and how they can be used to achieve some of the capabilities of the Business Logic Layer (BLL) in a mult...
  • VS 2008 Web Deployment Project SupportVS 2008 Web Deployment Project Support
    Scott Guthrie reports that the Web Deployment Project final release is now available here: http://www.microsoft.com/downloads/details.aspx?FamilyId=0AA30AE8-C73B-4BDD-BB1B-FE697256C459&displ...

One Pingback/Trackback