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 4007458
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T08:38:05+00:00 2026-05-20T08:38:05+00:00

I have an ASP.Net project created by a team member on another computer. The

  • 0

I have an ASP.Net project created by a team member on another computer. The project references a virtual directory that exists on my computer but under a different localhost location.

Currently, the following error occurs when I try to open the project:

The local IIS URL http://localhost/foo/default.aspx specified for Web project foobar has not been configured. In order to open this project the virtual directory needs to be configured. Would you like to create the virtual directory now?
[Yes] [No]

So, there are two options:

  1. select yes: It creates the virtual directory that it thinks I need, which I don’t want to do. I already have a virtual directory somewhere else.
  2. select no: This isn’t an option, as the project opens, but without all the bells and whistles I know and love.

Where is the virtual directory location (in my case http://localhost/foo/default.aspx) specified within the project? Can I change this manually, say in a configuration file within the project, either before or after I open it? A configuration change seems more ideal than manually opening IIS to override a virtual directory path.

EDIT (solution): Buried in the comments below is the following answer (Thanks @Thyamine)

This can be configured in the foo.csproj file for the project.

Look for the lines:

<ProjectExtensions>
    <VisualStudio>
        <FlavorProperties GUID="{F00-000-000}">
            <WebProjectProperties>
                <UseIIS>True</UseIIS>
                <!-- ... -->
                <IISUrl>http://localhost/Foo/default.aspx</IISUrl> <!-- EDIT THIS LINE -->
                <!-- ... -->
            </WebProjectProperties>
        </FlavorProperties>
    </VisualStudio>
</ProjectExtensions>
  • 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-05-20T08:38:05+00:00Added an answer on May 20, 2026 at 8:38 am

    You could allow it to create the directory, then re-map it in IIS Manager to point to the directory you would prefer it to use.

    Or you could tell it not to map at all, and then manually create the virtual directory with IIS Manager to the directory you already have.

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

Sidebar

Related Questions

I have created a a subclass of Table in my ASP.NET project which creates.
I have an ASP.NET MVC project with a form. In the Action method that
I have an ASP.NET MVC project and I have a single action that accepts
I have an existing asp.net webforms project that uses Microsoft's Enterprise DAAB for the
I have a UserControl in my Asp.net project that has a public property. I
In visual studio, I have an asp.net 3.5 project that is using MS Enterprise
I have a client that I have to send my ASP.NET project to their
I have created a sample project using ASP.NET MVC 3 Web Application (Razor) template.
If you create an ASP.NET web file project you have direct access to the
I have an ASP.net project I'm looking at and they want to use MySQL.

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.