Remote roles database and smtp setup for “forgot password” control web application failure scenarios

by Caroline Bogart on May 4, 2006

Which is more helpful:
1. “An error was encountered. Please return to the previous page and try again.”
2. A blank web page.
3. A DNS error while running on localhost

Scenario: setup “forgot password” smtp email for site being built on localhost but whose database is on remote server.

Web application
Click ASP.Net configuration icon
Configure SMTP Email Settings
Reply: DNS error, page cannot be found, or,a blank web page

troubleshooting
1: remove system.net and mailsettings from web.config
2. remove and replace remote database via aspnet_regsql

{ 0 comments… add one now }