Click here to Skip to main content
11,505,486 members (60,181 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: IIS7 Windows IIS Visual-Studio , +
I am trying to get Orchard CMS running under IIS, but I keep getting an HTTP 500 response. I have built and run the source code from within VS2012, but even with exceptions set to break when thrown, VS doesn't break, and I still get a very unhelpful and opaque HTTP 500 response.

I created a new web site called Orchard, pointing to the source folder of the web app, i.e. C:\Development\Orchard.Source.1.6\src\Orchard.Web, and bound it to host name orchard.local, which I added to my hosts file under 127.0.0.1. I have read that I need to set file system permissions for IIS_IUSRS when running the web site under IIS; I don't know if I still do for debugging under VS. I would have though VS would take care of that. Then, for some reason I don't have that group, I only have an IIS_WPG group, which is supposed to be for IIS6.

How can I diagnose what is causing this Internal Server Error if I can't even get VS to break on the exception?
Posted 4-Dec-12 1:53am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hey Brandy,
Execute this line from command prompt


 
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis -i
 

If its not solved by this,then paste the log details
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 512
1 F-ES Sitecore 380
2 Richard Deeming 270
3 CHill60 245
4 Richard MacCutchan 230
0 Sergey Alexandrovich Kryukov 1,067
1 Maciej Los 575
2 Peter Leow 540
3 F-ES Sitecore 525
4 DamithSL 470


Advertise | Privacy | Mobile
Web04 | 2.8.150520.1 | Last Updated 21 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100