ASP.NET MVC 5 runs on IIS 7.5 Windows Server 2008?

Asked

Viewed 803 times

0

I have a website that is developed in ASP.NET Framework 4.5 MVC 5 and is not opening in IIS 7.5 Windows Server 2008, but in IIS Express Local Windows 7 opens normal.

Missing something to install on IIS?

  • Hello. When you say the site doesn’t open, does an error message appear? You have the application pool configured correctly (.NET4.0 with Managed pipeline mode in Integrated)? You need to give us some more information so we can help you.

  • @Omni, so this is the problem, there is no error, it is configured correctly yes, open the login page, I put the login and password and when I click "Login" the page is empty, does not even load.

  • try to do so, allow any page not need permission from users, and tell me if continued with the white page... Iss is configured to run as virtual directory or application?

  • I already had a problem this time, and I was able to solve it by following the steps of this link http://www.hanselman.com/blog/ASPNET4BreakingChangesAndStuffToBeAwareOf.aspx

  • @Rafaelcabral, when you say let the folder not need user permission, where am I supposed to do it, in code or in iis ? I don’t know much about iis. rs

2 answers

1

Try the following solutions:

  • Install the Hotfix KB 980368 on the server on which the IIS is installed
  • If Hotfix does not work, use the settings below:

    <system.webServer>
      <modules>
    <remove name="UrlRoutingModule-4.0" />
    <add name="UrlRoutingModule-4.0" type="System.Web.Routing.UrlRoutingModule" preCondition="" />
    

  • what is this Hotfix ? This second case I’ve tried and it didn’t work ..

  • It is "an update that enables certain IIS 7.0 and IIS 7.5 handlers to handle requests whose Urls do not end with a dot". The last time I went through these problems, what I had to do was reinstall IIS via the command line TWICE. The first time didn’t work, but the second one worked (I can’t tell the reason). I suggest you try this too, as a possible alternative.

  • To execute the command you open the CMD and go to the installation folder of the dot Net framework, and then from there runs C: Windows Microsoft.NET Framework v4.0.30319 aspnet_regiis /i

0

Maybe it’s some non-activated configuration. Try this:

  1. Sign in to 'Turn Windows Features on or Off' (enable or disable windows features)
  2. Open the 'Internet Information Services' tab'
  3. Open the 'World Wide Web Services' tab'
  4. Open the 'Application Development Features' tab'
  5. Select All.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.