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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T14:56:30+00:00 2026-06-10T14:56:30+00:00

Ok, So as a company we deployed our first MVC3 application on a web

  • 0

Ok, So as a company we deployed our first MVC3 application on a web server. Which has been set up to handle .NET

The server uses Windows Server 2008 and IIS 7.

However when we point the browser to the URL we receive this error.

Directory Listing Denied
This Virtual Directory does not allow contents to be listed.

When we point it to a known path such as:

http://websitename/subfolder/subfolder/Views

We get the same error. Clearly when ww try to go directly to the Razor page, for example:

http://websitename/subfolder/subfolder/Views/Pages/Index.cshtml

As you would expect it downloads the .cshtml file, because the browser can’t read .cshtml, it reads the generated .html.

if I point to:

http://websitename/subfolder/subfolder/Views/Pages/Index.html

It cant find anything.

It works running on localhost through Visual Studio. and when published the start up page is just the root and it runs and directs to the correct place through VS.

My question is how do you point to the generated html on a web server manually, or is there a reason it isn’t finding the start page when I just go to the root on the server?

I have check the IIS and made sure that the correct things are set to local copy ‘true’, and I have also added runAllManagedModulesForAllRequests=”true” to my web.config file.

Any help or a point in the right direction would be appreciated.

  • 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-10T14:56:31+00:00Added an answer on June 10, 2026 at 2:56 pm

    It seems that you haven’t installed .NET 4.
    Please can you clarify your server settings, such as OS, IIS version, etc?

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

Sidebar

Related Questions

Our company currently has a web site which is deployed in Windows 2000 OS,
Our company has a share point document server where the UNC looks something like
I have a simple screensaver that I've written, which has been deployed to all
My company recently deployed our first Silverlight app, and, as expected, we've had a
I and a team-mate are working out an web-based application for our company. SQL
Here's my scenario: the company I work has applications deployed to a 32bit Windows
Our company produces cross-platform software and we have Bamboo instance which is building projects
We are using IIS7 and dotnet 3.5 in our company to build different web
At our company we use clickonce deployment for the client part of our client/server
I'm looking for reporting solution for .net, my company has used Crystal Reports XI

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.