CSVChicago
08-21-2005, 01:18 AM
I'm working with the new Membership functions, specifically the 'forgot password' function that is supposed to send an email to the user with their password, but it's ahving trouble.
It generates this error message:
================================================== ==========
The SMTP host was not specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: The SMTP host was not specified.
================================================== ==========
I tried adding a section to the web.config that says:
<system.web>
<smtpMail serverName='localhost' serverPort='25' />
<system.web>
But then I get the standard error message that says 'You need to add a 'customerrors=off' thingy - so my guess is my attempt to override something in the machine.config is going blammo because of how the server security is setup, or I'm not entering the line correctly in the web.config?
It does look like VWD Express Beta is flagging that line in the web.config and saying that <SmtpMail> is not a valid item in the web.config.
Has anyone got anything to email at all form the sandbox? And if so any luck with the 'forgot password' function?
Thanks,
-Walter
It generates this error message:
================================================== ==========
The SMTP host was not specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: The SMTP host was not specified.
================================================== ==========
I tried adding a section to the web.config that says:
<system.web>
<smtpMail serverName='localhost' serverPort='25' />
<system.web>
But then I get the standard error message that says 'You need to add a 'customerrors=off' thingy - so my guess is my attempt to override something in the machine.config is going blammo because of how the server security is setup, or I'm not entering the line correctly in the web.config?
It does look like VWD Express Beta is flagging that line in the web.config and saying that <SmtpMail> is not a valid item in the web.config.
Has anyone got anything to email at all form the sandbox? And if so any luck with the 'forgot password' function?
Thanks,
-Walter