We help IT Professionals succeed at work.

Visual Studio only works when connected to my office's network.

Visual Studio 2012 projects won't load unless I am connected to the office network.  I get the following error when trying to open the project at home:  (load failed) - it shows in the solution explorer.  

I am running VS as admin.  I'm new to VS and don't know what could be the issue.  The project is located on my local drive.

Any help on solving this issue so that I can work from home would be greatly appreciated.

I'm working on a Dell Latitude running Windows 7.

Thanks,
J
Comment
Watch Question

Software Developer
Top Expert 2015
Commented:
This is most likely due to the path of your project has changed or similar. For example, you've moved the project into another location.

Verify the original files are there on your machine. If you select the missing project, and open properties, it will show you where it thinks the file should be (under Project File and Project Folder).

You can right click and re-load I think, or, remove the project and re-add it to your solution

Author

Commented:
Thanks for the help, but when I click on Properties I get the following error:

"Creation of the virtual directory http://local host:50731/ failed with the error: unable to access the IIS metabase. You do not have sufficient privileges to access IIS websites on your machine."

I am running VS as admin., but I still get this error.  

Thanks,
J
Distinguished Expert 2019

Commented:
do you have iis with iis 6 tools/scripting enabled on your local computer?

Author

Commented:
Yes
Distinguished Expert 2019

Commented:
are you explicitly right clicking on the visual studio icon and running as administratorcheck your title bar
Top Expert 2016

Commented:
I would assume that your local firewall (or antivirus) blocks port 50731 from being accessed. you may disable firewall and see whether that could solve the issue. if yes, activate the firewall again but change the port configuration accordingly.

Sara

Author

Commented:
David - yes I am explicitly right clicking and running as administrator.

Sara - I looked and the firewall was already disabled.

I just changed the settings to use the Visual Studio Development Server instead of IIS, and it works just fine now.  I'm not sure why I can't use IIS successfully, but this change has allowed me to work on my projects while disconnected from my office network.

Thank you for trying to help!
J

Author

Commented:
Please close.