virtual path IIS7.5 - General Reply terridonahue 862 Posts MVP Re: Check the IIS virtual path in IIS 7.5 Sep 25, 2012 09:15 AM|terridonahue|LINK Try just

A Configuration File Cannot Be Created For The Requested

Browse other questions tagged c# encryption web-config cmd or ask your own question. aspnet_regiis -pef "connectionStrings" "C:\encryptedWeb.config" Encrypting configuration section... Please let me know if there is any concerns or queries. Example my folder "ExternalConfigs" multiple config files in different name.

If you will closely look at the command again, you will find a difference from the one mentioned in the above MSDN article. On the server you can use cmd.exe. Word for "using technology inappropriately"? Aspnet_regiis Pef OS is Windows 2003 server Am I missing anything?

I run IIS 7.5 in a Windows Server 2008 R2. Aspnet_regiis Object Already Exists Subscribe to our monthly newsletter for tech news and trends Membership How it Works Gigs Live Careers Plans and Pricing For Business Become an Expert Resource Center About Us Who We Below command works when application is in defaultwebsite: aspnet_regiis.exe -pe "connectionStrings" -app "/sitename" -prov "DataProtectionConfigurationProvider" share|improve this answer answered Sep 24 '15 at 6:32 Vamshi Chilukuri 75 add a comment| up security iis configuration share|improve this question edited Jun 24 '09 at 14:31 asked Jun 23 '09 at 21:27 alice7 1,46283577 add a comment| 6 Answers 6 active oldest votes up

We will look when can we get error like “The configuration for physical path ‘*\web.config' cannot be opened.” 2. Rsa Protected Configuration Provider Why cast an A-lister for Groot? Sign In·ViewThread·Permalink Re: Use this on aruba fabal15-Apr-15 4:40 fabal15-Apr-15 4:40 I'm sorry for the other question i try to explain may problem better. Now, purpose of writing this blog is to put some light on this feature and also pointing out one common mistake while using this feature. 1.

Aspnet_regiis Object Already Exists iis encryption rsa share|improve this question edited Feb 24 '13 at 16:08 asked Feb 24 '13 at 15:55 Jeb 4,6042176155 1 Is the C: vs. Thanks Gaurav Comments (11) Cancel reply Name * Email * Website Archna says: November 13, 2013 at 12:01 pm This was a great solution and information. A Configuration File Cannot Be Created For The Requested SO I created a seperate config file just for testing.So you mean I have to work on my actual config file even if I like it or not. –alice7 Jun 23 Aspnet_regiis Options You can find out more info here.

more hot questions question feed default about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Get More Info Thanks in advance -rockdale Dec 20 '07 #3 This discussion thread is closed Start new discussion Replies have been disabled for this discussion. Thanks you! Failed! Encrypt Configuration Sections In 4.0 Using Rsa

I also had to use a different user instead of the network service. Reply mdorrell None 0 Points 1 Post Re: aspnet_regiis.exe "cannot be opened" error Oct 18, 2007 07:25 PM|mdorrell|LINK I was having the same problem, and I think I figured out what Why did the best potions master have greasy hair? useful reference My application is called and its ID is 4.

Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back Dataprotectionconfigurationprovider If web.config file does not exist inside the folder it will create an empty web.config file and empty section inside it and then will encrypt it(Give it a try). Solved Error in encrypting ASP.NET web.config - "The configuration for physical path 'D:\Web.config" cannot be opened.

Reply After Encription timeout Issue says: January 22, 2016 at 2:44 am Hi, After Encription web.config file for connection string, After moving config file for production the file gets overritten often

Is that what you were asking? –Stuart Jun 23 '09 at 21:50 Actually my concern is I don't want to mess up my actual web.config if something goes wrong. Prepared for Yet Another Simple Rebus? How can I prove its value? Failed To Decrypt Using Provider 'rsaprotectedconfigurationprovider' Point is that Aspnet_regiis.exe implicitly considers that specified path has web.config file and it will encrypt the specified section of that file.

I will show an example on how use the RSAprovider, however there is also the DPAPI provider available which is not covered in this article. You can then reference the config file's physical path and avoid the hassle. Copyright (C) Microsoft Corporation. You'll also learn how to use your custo… MS Excel Fonts-Typography MS Office Advertise Here 773 members asked questions and received personalized solutions in the past 7 days.

Join & Ask a Question Need Help in Real-Time? History 2015/02/17 : First Publish License This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL) Share email twitter facebook linkedin reddit Error when try to encrypt connectionstring using aspnet_regiis -pe P: n/a rockdale I followed this article, My command is: aspnet_regiis -pe "connectionStrings" -app "/myWebSiteName" -site 711831 -prov "RsaProtectedConfigurationProvider" The error Sign In·ViewThread·Permalink Re: My vote of 5 Rolando CC19-Feb-15 4:29 Rolando CC19-Feb-15 4:29 Thank you!

Connect with top rated Experts 13 Experts available now in Live! Here is whereKeyContainersappear to save theday. im also trying to encrypt my test config file, but im getting this error. How can I prove its value?

Basically it is a library thatgives you the ability to encrypt sensitive data whether coding or using declarative configuration. Couldn't really find any info on the error you are receiving though so hope this helps :/ Sign In·ViewThread·Permalink Use this on aruba fabal15-Apr-15 2:56 fabal15-Apr-15 2:56 i can i