SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We've created an Application Page which configure database for custom modules. We've designed this Application Page with SharePoint custom control.

There are some errors which can be occured when user configure database, for example, database server not found etc. How should we design an Application which should be similar to Sharepoint Error Pages.

Or Is there any better way of doing this?


share|improve this question
up vote 3 down vote accepted

It's not clear the purpose of "similar to SharePoint Error Page". If you can/want you can reusre SharePoint error page by using SPUtility.TransferToErrorPage(). If you need some customisations - then I beleave you must create something yorself ..

share|improve this answer

I believe if the exception caught by the page inherits from SPException, the message in the exception will be displayed on the normal error page.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.