HighTechTalks DotNet Forums  

Error when try to encrypt connectionstring using aspnet_regiis -pe

Dotnet Security microsoft.public.dotnet.security


Discuss Error when try to encrypt connectionstring using aspnet_regiis -pe in the Dotnet Security forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
phelix.yang@gmail.com
 
Posts: n/a

Default Error when try to encrypt connectionstring using aspnet_regiis -pe - 12-19-2007 , 04:02 PM






I followed this article,

http://msdn2.microsoft.com/en-us/library/zhhddkxy.aspx

My command is:
aspnet_regiis -pe "connectionStrings" -app "/myWebSiteName" -site
711831 -prov "RsaProtectedConfigurationProvider"

The error message is: A configuration file cannot be created for the
requested configuration object.
Failed!

ASPNET user is under administrators group
my website is not a virtual directory under default website, that's
why I need to specify the site no.
OS is Windows 2003 server

Am I missing anything?

Thanks in advance
-rockdale

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.