Solved

How to encrypt system.net/mailsettings section in web.config

Posted on 2009-05-04
3
1,533 Views
Last Modified: 2012-05-06
I am developing a web application using VS2008,  ASP.NET,  framework 3.5
The application uses system.net/mailsetting section of web.config file to store SMTP information.
While running
aspnet_regiis.exe -pe "system.net/mailsettings" -app /MyApp -prov "DataProtectionConfigurationProvider"
I get "The configuration section 'system.net/mailsettings' was not found" error.
How do I encrypt this section ?
0
Comment
Question by:vu3lmg
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
Mohamed Osama earned 500 total points
ID: 24296842
0
 
LVL 1

Author Comment

by:vu3lmg
ID: 24296945
Admin3k
Can you please explain what you did that sorted out the problem.
I tried 'system.net/mailsettings/smtp' but that did not help.
0
 
LVL 1

Author Comment

by:vu3lmg
ID: 24297582
OK my mistake,  
I tried 'system.net/mailSettings/smtp' and it worked.
The "S" in mailSettings was not proper (upper case).
I will close the question.
0

Featured Post

Get Actionable Data from Your Monitoring Solution

Your communication platform is only as good as the relevance of the information you send. Ensure your alerts get to the right people every time with actionable responses. Create escalation rules that ensure everyone follows the process and nothing is left to chance.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Keystroke loggers have been around for a very long time. While the threat is old, some of the remedies are new!
Ready for our next Course of the Month? Here's what's on tap for June.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question