Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8036975
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T02:47:20+00:00 2026-06-05T02:47:20+00:00

I have a web project in my solution file that is unavailable when I

  • 0

I have a web project in my solution file that is “unavailable” when I open the solution. When I right-click on the web project and reload the project, I get the following error:


The Web Application Project mycompany.myapp.mywebproject is configured to use IIS. The Web Server 'http://localhost/MyWebApp could not be found.

I have not manually set up virtual directories for this web application.

Per colleagues, Visual Studio should prompt me to create virtual directories but I am not getting prompted.

I installed VS2010 before installing IIS on my dev machine.

Here is my development machine setup:

  • Windows 7 Enterprise
  • Service Pack 1
  • 64 bit OS
  • Visual Studio 2010 Enterprise Service pack 1
  • IIS version 7.5
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T02:47:22+00:00Added an answer on June 5, 2026 at 2:47 am

    When this happens the easiest solution is to make the virtual directory manually.

    First of all, you need to make sure you have the right version of ASP.Net installed and that you have installed the IIS extensions.

    To do this, go to the relevant .net version’s folder in C:\(Windows)\Microsoft.NET\Framework\(dotnetver)
    (substituting the bracketed folders for the right folders on your PC) and run this command

    aspnet_regiis.exe -i
    

    Next once that’s run and finished, sometimes running

    iisreset
    

    from the command line helps, sometimes you don’t need to.

    Next, go to your IIS Manager and find you localhost website and choose add a folder.
    Browse to the folder in your project that contains the actual ASP.Net project and add that.

    Finally, right click on the folder you added and you should have an option that says ‘convert to application’ or ‘create virtual directory’ or something similar.

    !!Make sure the Virtual directory has the name ‘MyWebApp’!!

    Reload your solution and it should work.

    Please be wary; the advice I’ve posted is generic; the commands I’ve listed are correct but the steps you need to do in IIS may vary, it depends on your version and your account privileges.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following project solution: There is a ASP.NET MVC Web Application where
Do you have one solution with the web application project, class libraries, database project
I have a solution file that is built and deployed with the following MSBuild
I'd like to have a web project in a solution that is set to
I have a solution called StoreExample It has one web project - StoreExample.Web It
I have two projects in my solution   1- asp.net web project.   2-
I have two projects in my solution... a domain project and MVC3 web project
I have web application Project having RPC call. one RPC async is working fine.
I have a web project that I am ripping out all the inline styling
So I have a web project, and I'm trying to get the root directory

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.