Pregunta

I have tried all of the solution out there and have resolved nothing. It's a MVC 4 site on IIS 7 that I'm tryuing to get set up. Local browsing of the site won't display detail error information. Does anyone have any other suggestions?

So far I have done...

  1. Checked MachineConfig for for .net 4 both 32 and 64 bit. It was not there so it shouldn't interfere.
  2. Set customErrors mode="Off" in all config files.
  3. Changed settings for DefaultErrorPages in the Site Settings to always display details.
  4. Conducted an IISReset
  5. Enabled failed request logging. Nothing was logged.
  6. Checked the site error logs.=. Nothing indicated an error.
  7. Checked Windows Logs. No errors logged under the IIS section.
  8. Checked that the App Pool was running under .Net 4 and that it was set to integrated mode.
  9. Turned off friendly errors in the setting for the browser

PS this is a production web server running Windows 2008R2 and IIS 7.0

¿Fue útil?

Solución

I found the problem. One of the system admins had cloned the original production site intending for it to be used for the production beta, which was what I was setting up. Of course there was no communication as to what was needed to be kept in the copied site. Well it turns out there was a web.config in the original code that was doing a redirect to another location. Thus none of the new site configs were even being accessed. I removed all of the old code and it started working.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top