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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:15:01+00:00 2026-05-25T10:15:01+00:00

I am trying to make Visual Studio 2010 to run my project under a

  • 0

I am trying to make Visual Studio 2010 to run my project under a local instance of IIS 7.5 instead of starting the web development server. There is no problem deploying it to IIS, but when i try to browse to the site, it’s like the routes never been registered in IIS because i get error “The Web server is configured to not list the contents of this directory.” when i try to browse “http://localhost/returnjson”, and when i browse “http://localhost/returnjson/Home/Index” i get error 404. And there is nothing wrong with the routes in my project, it works under web development server. What could be the problem?

  • 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-25T10:15:02+00:00Added an answer on May 25, 2026 at 10:15 am

    It’s hard to say what’s wrong here but there are a couple of things you could try.

    You could be looking at the wrong application. IIS comes pre-configured with a default application that acts as a catch all. Any unmapped domain name will end up there. So, by default when you visit localhost you’ll end up there.

    If you deployed your application into a new IIS site, make sure you bind it a proper domain name like myapp.local. Then add that domain name to your hosts file (%Windows%\System32\Drivers\etc\hosts) and map it to IP 127.0.0.1.

    Another thing that could be wrong is that your IIS configuration is a bit screwed up. It happens sometimes. You can fix that with aspnet_regiis like so:

    aspnet_regiis -ir
    

    This tool is located under:

    %Windir%\Microsoft.NET\Framework\v4.0.30319
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to make my project compile under GCC (Visual Studio compiles it flawlessly).
Scenario : Web Site project under .NET 3.5 Visual Studio 2010 WCF Service reference
I'm trying to make a new ASP.NET MVC2 web site project, in Visual Studio
I was trying to compile our project in Visual Studio 2010 using the 2005
Visual Studio's internal development web-server only listens for connections from the local computer. Unfortunatly,
If I make a Visual Studio 2010 WinForms project and let the wizard add
I am trying to make an Outlook 2003 add-in using Visual Studio 2008 on
I'm trying to write a Visual Studio 2010 Extension to show an IronPython shell
I'm trying to build CGAL for windows to use in my project under Visual
I am trying to build a C project in Visual C++ 2010 Express as

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.