INsufficient permissions for setting the configuration property 'port'

Discussion in 'General troubleshooting' started by PawtucDave, Nov 8, 2011.

  1. I'm getting the following error when trying to send e-mail from my asp.net vb codebehind;

    Configuration Error

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: Insufficient permissions for setting the configuration property 'port'.

    Source Error:

    Code:
    
    Line 79:     <mailSettings>
    
    Line 80:       <smtp deliveryMethod="Network" from="myweb System Generated&lt;[email protected]&gt;">
    
    Line 81:         <network host="mail.myweb.com" userName="[email protected]" password="********" port="587" />
    
    Line 83:       </smtp>
     
    
    Suggestions?
     
  2. For PawtucDave and other user's experiencing this error, try increasing the Trust level that your application runs under to Full.
     

Share This Page