Greetings, I have been trying to use aspnet_regiis.exe to encrypt the ConnectionString entries in my Web.Config file (which exists in the root directory of the app) I keep getting the following error: and the same thing when Iset up the command inthe external tools optionof VWD Express : which likewise gives: I get different errors (unable to find site) if I remove the -app and -site options, and settings -app to "/" didn't work either. Does anyone know what I have done wrong with the params? Ta Very Much, Bruce.
I currently don't believe it is possible to encrypt settings in the web.config in a shared hosting environment. Joel Thoms DiscountASP.NET http://www.DiscountASP.NET
I think this happened because I don't have IIS installed - and the virtual directory that is being referred to is only the IIS variety - not the ASP.NET Web Management tool variety I used-pef with the physical path instead with success : C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis.exe -pef "connectionStrings" "C:\Documents and Settings\aspnet_198211\My Docume ts\Visual Studio 2005\WebSites\xeowoolfe" -prov "XeoWoolfeSiteRSAProtectedConfigProvider" Encrypting configuration section... Succeeded! C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727> Hence problem solved. Thanks anyway, Bruce