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