Ask a Question related to ASP.NET Security, Design and Development.
-
Adam Billmeier #1
Using aspnet_setreg
Hello,
I am converting a asp.net web app from using connection string safety in the
web.config to using encrypted values using astnet_setreg. I am running into
a problem running the page.
The connection strings are used to connect to SQL server 2000 to load
datasets with the information for the system.
Here is what I have done.
Ran aspnet_setreg following the directions. i specified -c and supplied the
existing string.
I then placed the string generated by aspnet_setreg into the webconfig file.
example:
<add key="WEBCON"
value="registry:HKLM\Software\WEB\DAT\ASPNET_SETRE G,sqlConnectionString"/>
I then have the webpage retreive the value as follows:
Dim securityConn As New
SqlClient.SqlConnection(ConfigurationSettings.AppS ettings("WEBCON"))
When I run the web I receive the error:
Format of the initialization string does not conform to specification
starting at index 0.
Please Assist
Adam Billmeier Guest
-
ASPNET_SETREG and Framework 1.1
My colleage and I determined that generic error message that is given as a response to *anything* being slightly out of place, when using the... -
ASPNET_SETREG runs on XP, not 2000
I have a webservice up and running locally on my dev machine (XP) using impersonate like so: Line 5: <identity impersonate="true" Line 6:... -
Using ASPNET_SETREG.exe
Can this utility be used for an impersonated user in Web.Config? I've used it to create the appropriate userName and password keys in the registry... -
aspnet_setreg fails
Getting a consistent failure on machines when attempting to run the aspnet_setreg utility. The command line has worked on one or two machines. ... -
Has _ANYONE_ ever got the aspnet_setreg utility to work for them?
Dear Jason, I found the resolution to my problem with a hotfix from MS it is listed as Q329250 and you must requested from the support. You have...



Reply With Quote

