G
Greg G
Using the tutorial:
Protecting Connection Strings and Other Configuration Information
http://www.asp.net/learn/data-access/tutorial-73-cs.aspx
The sample code works fine, but it does not work in my web application on my
local machine or on a test server.
When I try to encrypt my sql connection string, I get an error message:
Access to the path 'c:\inetpub\wwwroot\....\cjhspoo2.tmp' is denied.
web.config line 0
I assume it is here:
Configuration config =
System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(Request.ApplicationPath);
I have tried changing settings in IIS 6.0 with no luck. The sample program
code works but not with my website.
Is there some other permission that needs to be set?
Will this ever work on a shared server or is there a better approach?
Protecting Connection Strings and Other Configuration Information
http://www.asp.net/learn/data-access/tutorial-73-cs.aspx
The sample code works fine, but it does not work in my web application on my
local machine or on a test server.
When I try to encrypt my sql connection string, I get an error message:
Access to the path 'c:\inetpub\wwwroot\....\cjhspoo2.tmp' is denied.
web.config line 0
I assume it is here:
Configuration config =
System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(Request.ApplicationPath);
I have tried changing settings in IIS 6.0 with no luck. The sample program
code works but not with my website.
Is there some other permission that needs to be set?
Will this ever work on a shared server or is there a better approach?