Server Error in '/' Application.

The key 'smtp' does not exist in the appSettings configuration section.

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 key 'smtp' does not exist in the appSettings configuration section.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[InvalidOperationException: The key 'smtp' does not exist in the appSettings configuration section.]
   System.Configuration.AppSettingsReader.GetValue(String key, Type type) +950224
   comunesalerno.Global.Application_Start(Object sender, EventArgs e) +451


Version Information: Microsoft .NET Framework Version:2.0.50727.3662; ASP.NET Version:2.0.50727.3668