Windows Server 2012 IIS HTTP 500 Error

Topics: Installing Orchard
Apr 16, 2013 at 9:30 AM
I installed 1.6 version and in as a new Website in IIS (did that with source and build versions) on my Windows Server 2012 64 bit VM. I think that I have all the configuration OK, like: app pool Manage Pipeline Integrated and 32 bit apps enabled, pool identity has full permission on Web folder, binding defined in host file. When I try to start the site – access my site, I get HTTP 500 Internal Server Error.
Interestingly, in a source code deployment, when I use development server, I am able to access the site. If I switch that to IIS, I get HTTP 500.
Any suggestion what I have been doing wrong?
Apr 17, 2013 at 5:54 AM
"500" is not enough information: it just means "server error". Please look in app_data\logs and give us the stack trace you see there.
Apr 18, 2013 at 6:24 PM
When I try to access the site, it does create the error log file for the day but it is empty. I couldn't find anything useful in the Event Viewer either.
Apr 18, 2013 at 6:34 PM
Sounds really like the website is not in integrated mode, or that the web.config handlers have been altered.
Apr 18, 2013 at 6:41 PM
is the pool running on 4.0 ?
are other .net 4 applications run? other wise try install or re-register .net framework?
Apr 23, 2013 at 8:50 PM
Pool is OK. I still cannot make it work on Windows Server 2012. What I noticed, Windows Server 2012 has .NET 4.5 and cannot have .NET 4.0. I guess the deployment files are compiled with .NET 4.0.
I was able to make it work on Windows 8, with the same settings, which has .NET 4.0 and 4.5.
Apr 27, 2013 at 8:48 PM
I am experiencing absolutely the same situation. It is ok on Windows 8 but I can't get it work on Windows Server 2012.
May 1, 2013 at 2:56 PM
Make sure you have installed ASP.NET 4.5 option in your IIS Server Role.
May 1, 2013 at 5:42 PM
ASP.NET 4.5 is installed in IIS. It is really interesting that I don't get any logs there either.
May 1, 2013 at 5:47 PM
I will investigate but I can't right now. Can someone file a bug so we can track the progress ?
May 2, 2013 at 8:15 AM
I've got it work. The site started when I added "App server" role with next options: ".NET Framework 4.5" and "Web Server (IIS) support". But it still looks a little bit tricky. Could you, please, give a brief explanation of failure reasons? Thanks in advance.