Chat
|
Needs
Help
|
E-Mail
Us
Home
Cards
|
Blogs
|
Poems
|
Gossips
|
Videos
|
Photos
|
Buy & Sell
Garage Sale
|
Manage Account
|
Login
|
Register
|
Search Members
Search
Blogs
Add a
Blog
Sort
Blogs
by
Category
Date Posted
Likes
DisLikes
Title
User Name
in
Ascending
Descending
order
display
10
25
50
100
250
500
items per page
There are
1
blogs found.
Saturday, July 13, 2019 7:47:33 PM
5
Likes
2
Dislikes
Encrypt database connection string in web.config file for framework 4.0
By:
SolanMa
Country:
United States
Open the Command Prompt and enter the following command
cd\windows\Microsoft.NET\Framework\v4.0.30319
Enter the following command (where C:\inetpub\wwwroot is the path to the folder where your application resides).
aspnet_regiis.exe -pef connectionStrings C:\inetpub\wwwroot
If success you will get the results below.
Open your Web.config file. If you notice your database connection string is gone. It was replaced with the following code.
Add comments
1
Comments posted
2,077 Views