2

I'm serving an app through IIS6. An error is occurring preventing the app from working, I am not 100% sure what it might be.

I believe the following is generated by python, but I am not entirely sure.

"A server error has occurred. Please contact the administrator"


Any ideas on figuring out what is actually going on?

1
  • in your settings.py is DEBUG = True ???? Commented Nov 1, 2010 at 11:07

2 Answers 2

2

It looks more like web server error (500?).

Is debugging enabled? You should be able to see exception message and traceback. Also, check web server error log and define settings.ADMINS. This is usefull in production when debugging is disabled:

When DEBUG=False and a view raises an exception, Django will e-mail these people with the full exception information.

Sign up to request clarification or add additional context in comments.

1 Comment

yes DEBUG is set to true and I have added myself to ADMINS too. Thanks for reminding about Web Server logs!
0

http://docs.python.org/library/logging.html#simple-examples

import logging
logging.debug('foobar')

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.