Visual studio giving me error on virtual directory

Asked By 0 points N/A Posted on -

Im working on a project using visual studio and, my problem is visual studio is now showing me this error and I don’t have a clue on what was the cause of this error.

Can someone help me?

Im just new to this things.


Microsoft Visual Studio

Unable to create the virtual directory. Could not find the server 'http://remoteMachine' on the local machine. Creating a virtual directory is only supported on the local IIS server.

Answered By 0 points N/A #147908

Visual studio giving me error on virtual directory


Hallo Dudley.

You should try right-clicking your Visual Studio shortcut on the desktop and  then choose to run the program as an administrator.

If that still brings the issue, do the following:

  • In Visual Studio, you will need to open an existing Web application project, or you can just create a new one.

  • After that go to the Project menu, and then click Properties, and after that click Web.

  • Next you will need to click Use Local IIS Web server.

  • And then you will enter a URL for the project, and then click Create Virtual Directory.

See if that helps you resolve the issue.




Login/Register to Answer

Related Questions