Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

ASP.NET MVC app NOT working on a Windows Server 2012 VM

$
0
0

Hi,

We've set up a Windows Server 2012 virtual machine to host some of our ASP.NET MVC 5 apps but we haven't been able to get them to run on that machine.

After creating the VM, we went to "Add Roles" and added IIS along with ASP.NET 3.5 and 4.5. We then set up the website to host our ASP.NET MVC app and set it to use DefaultAppPool which targets .NET Framework 4.

If I place only a single HTML file in the root folder, I can hit the site and it works.

However, when we put our ASP.NET MVC app -- or even a simple, barebones ASP.NET MVC 5 app -- in the root folder, we keep getting the 403 error.

We've found lots of bits and pieces of information but nothing's worked so far. Any idea how to get an ASP.NET MVC 5 working in a Windows Server 2012 VM?


Thanks, Sam



Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>