Solved

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

Posted on 2009-05-04
3
1,443 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
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
Admin3k 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Article by: btan
Provide an easy one stop to quickly get the relevant information on common asked question on Ransomware in Expert Exchange.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video discusses moving either the default database or any database to a new volume.

743 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now