Mitchel's Forums

Subject: Module Configuration Settings
Prev Next
You are not authorized to post a reply.

AuthorMessages
Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:5490

08/19/2007 10:37 PM  

Below is a listing of each of the configuration setting items, and what they do.  Be sure to view the "Config Settings' post to see the proper format for the sections.

Module Settings

These settings apply to the global error handler and set information that is global to the module.

  • HandlerEnabled - This is a boolean value, if set to false, NO error processing will be completed
  • EmailEnabled - This is a boolean value, if set to false, no email messages will be generated
  • ApplicationName - This is a required field that identifies the application.  This value is used in e-mail notifications
  • RedirectLocation - This is a required field that directs the module where to send users in the case of an error.  This can be a relative path and can use the ~ symbol to represent application root.

Mail Settings

These settings apply only to the e-mail portion of the global error handler

  • SmtpServer - This is a required field that notifies the module to the appropriate SMTP server to use
  • Username - This is an optional field that allows you to specify the SMTP username
  • Password - This is an optional field that allows you to specify the SMTP password
  • HtmlMessages - This is an optional property that you can use to disable HTML message sending by setting to false
  • ErrorTemplatePath - This is an optional property that you can use to have the application use a template file stored on your server.  This property can accept all path types.
  • ErrorSubject - This is an optional property that you can use to specify the subject line of the email message, you may use the [APPLICATIONNAME] token in this setting
  • SystemEmail - This is a required field that allows you to set the "From" address for the e-mails
  • RecipientEmail - This is a required field that allows you to set the "To"address(es) for the e-mails.  Multiple recipients can be separated with comma's

-Mitchel Sellers
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

This site is hosted by 3Essentials

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
Chris BlankenshipUser is Offline
New Poster
New Poster
Posts:2

11/26/2007 3:25 AM  

Is there a way to test this module to make sure it's working after adding it to my site?

Thanks.

Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:5490

11/26/2007 8:23 AM  
Chris,

The only way to test the module is to cause an unhandled exception. You could create a simple .aspx page that in the page_load event simply does a

throw new Exception();

Then it should be captured by the handler.

-Mitchel Sellers
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

This site is hosted by 3Essentials

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
You are not authorized to post a reply.



ActiveForums 3.7