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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T05:40:14+00:00 2026-05-30T05:40:14+00:00

I am working on an existing project in ASP.NET witch is based in a

  • 0

I am working on an existing project in ASP.NET witch is based in a folder that contains dots

http://localhost/My.Awesome.WebClient/

This setup works fine using the integrated Visual Studio Develompent Server, but fails when I add MVC content and try to access it (Error 404 Resource not found).

http://msdn.microsoft.com/en-us/library/ee941656.aspx seems to explain the issue:

If you create a file system Web site in Visual Studio 2010 and the Web site is in a folder that contains a dot (.) in the folder name, URL routing will not work reliably. An HTTP 404 error is returned from some virtual paths. This occurs because Visual Studio 2010 launches the Visual Studio Development Server (Cassini) using an incorrect path for the root virtual directory.

However, the project is a Web Project, not a Web Site, and it only failed when I started using MVC.

The problem can be easily reproduced:

  1. File – New – Project – ASP.NET MVC 3 Web Application
  2. Edit project settings, Web: Use Visual Studio Development Server
  3. Set the virtual path to something that contains a dot
  4. Try to run the site

Is there a way to get this to work, besides using IIS instead of Cassini?

Edit:

I did find a workaround just now. It does not really work in a deployment scenario, but it may help in finding a solution:

in my Global.asax.cs file:

        routes.MapRoute(
            "Default", // Route name
            // Notice that I added the virtual path here
            "My.Awesome.WebClient/{controller}/{action}/{id}", // URL with parameters
            new { action = "Index", id = UrlParameter.Optional } // Parameter defaults
        );

        // This is also new
        routes.MapRoute(
            "Root", // Route name
            "", // URL with parameters
            new { controller = "Home", action = "Index", id = UrlParameter.Optional } // Parameter defaults
        );

Using this workaround, my MVC-Sites work, but only with the following url:

http://localhost/My.Awesome.WebClient/My.Awesome.WebClient/
  • 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-30T05:40:15+00:00Added an answer on May 30, 2026 at 5:40 am

    If you don’t get an answer to this question (personally, I’m not aware of any way around this), I would recommend using “IIS Express”, which is available as a free download. It can be installed on development machines and you can control a lot of server settings with your web.config file, which is fairly unobtrusive.

    You can download it here:

    http://www.microsoft.com/download/en/details.aspx?id=1038

    I use IIS Express exclusively now; Cassini has always lacked features and IIS Express avoids me having to configure IIS for each web application.

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

Sidebar

Related Questions

I'm working on an ASP.NET project that replaces many existing paper forms. One of
I am working on an existing ASP.NET MVC app that started small and has
I'm currently working on a project I've just received that is asp.net + vb.
I've started working on an existing, large ASP.NET project and I'd love to get
I've integrated ASP.NET MVC 3 project into existing Web Forms project. It was working
I am working on implementing Zend Framework within an existing project that has a
For the first time in my career, I'm working on an ASP.Net (v3.5) project
I have a web project that had UrlRewriter.NET installed and working fine on .NET
I have been working on a ASP.NET MVC 2 project and i've been thinking
I've been working on an ASP.NET MVC project for about 8 months now. For

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.