Click here to Skip to main content
14,698,178 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all,

I want to debug my web application on the other server.
I have copied all web application source code from my local machine to other server.
but when i am trying to open it in the visual studio it could not open. It gives following error:

The default web access mode for this project is set to file share, but the project folder at 'http://localhost/MyApplicationname'cannot be opened with the path '\\servername\wwwroot$\MyApplicationname'. The error returned was:
Unable to open Web project 'MyApplicationname'. The web 'MyApplicationname' located on server 'http://localhost' does not exist.

and gives option to "Retry using a different file share path"

please do needful...
your help is appriciable
Updated 5-Mar-12 20:37pm

1st of all open your solution file and see if the project's path is correct. Then, create a virtual directory for your web application. If it does not solve your problem please share more information on what you did setp by step.
You will have to use msvsmon.exe on the server where the IIS is running. and you will have to connect from the local machine to that machine and connect to the webserver process to do the debugging.

make sure:

1. code base is same as for the running site
2. Running site is in debug mode.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900