views:

56

answers:

4
+2  A: 

You need to modify your web config. You need to turn off custom errors.

<customErrors mode="Off" />
John Hartsock
I've already got that, actually, under <system.web>. Is that correct?
JamesBrownIsDead
You probably have done this but if you have been making modifications to web.config it is important to reset IIS
John Hartsock
"Off" must be capitalized.
JamesBrownIsDead
your right...oops to me and you. Yep, sometimes it just takes someone to talk to briefly for the solution to appear. +1 for you for seeing my mistake and yours.
John Hartsock
You normally don't have to reset IIS if you change the web.config.
Greg
+2  A: 

I would use ELMAH. Here is the link

http://code.google.com/p/elmah/

ggonsalv
A: 

You also may need to set debug to true:

<compilation defaultLanguage="c#" debug="true" />
Alex
A: 

Are you positive IIS is configured properly? Could be an Application Pool error, or a problem with the Handler Mappings, etc.

It looks like the error probably isn't with your code or web.config, but rather with the configuration of the site in IIS 7.

Anachronistic