Fix A Configuration File Cannot Be Created Tutorial

Home > Not Be > A Configuration File Cannot Be Created

A Configuration File Cannot Be Created


AttachmentSize 10.59 KB Top Login to post comments Fri, 2012-06-08 03:58 #20 julio99 Offline Beginner Joined: 2009-12-10 Posts: 18 rayh wrote: I would like to echo Matthew Vanecek's sentiments. Whether it works depends on the privileges of the user account that your App runs under. Should I have to run one of the backups that I created will it be ok without this configuration file? If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. have a peek here

user -location instead. What is the origin of the word "pilko"? I'm a member of the ASP.NET team, and was just popping over here to see what was going on. asked 7 years ago viewed 9434 times active 11 months ago Related 4Problem encrypting membership element in web.config4encrypting web.config in web farm4web.config error4Encrypting web.config on shared hosting2While decrypting the web.config get

C# A Configuration File Cannot Be Created For The Requested Configuration Object An error report can be alternately generated by booting to the bootable media CD and a report can be saved from CD menu and saved to a usb thumb drive, How to harness Jupiter's gravitational energy? I must have read 20 articles on the subject and didn't see one clue about this. Copyright (C) Microsoft Corporation.

If I run this code, nothing happens: private void SaveWebConfig() { Configuration webConfig = WebConfigurationManager.OpenWebConfiguration("~//Web.config"); webConfig.AppSettings.Settings["DocumentPath"].Value = this.txtDocumentsDirectory.Text; webConfig.SaveAs("~//Web.config"); } c# web-config share|improve this question asked Jul 5 '11 at more hot questions question feed lang-cs about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Failed! Aspnet_regiis Connectionstrings What is exactly meant by a "data set"?

The best place to ask ASP.NET questions is over on the ASP.NET forums at

Glad to hear you got your answer!  The best place to find out info about this The Configuration For Physical Path Cannot Be Opened What now? we can discuss hours if it could have been a nice idea or not to throw an exception in the ASP.NET implementation, but in fact the .NET Framework is generic and And, I suppose I know why!

HTH, PEte Tuesday, January 31, 2006 12:42 AM Reply | Quote Moderator All replies 1 Sign in to vote Apparently no one else is having this problem. Encrypt Connection String In Web Config C# Join them; it only takes a minute: Sign up encrypting web.config failed error up vote 10 down vote favorite I know that ppl have already asked questions regarding encrypting web.config. What permission to what user, and what folder should I set permission to ? Thank you Reply faujong Member 10 Points 116 Posts Re: Error "A configuration file cannot be created for the requested Configuration object." when...

The Configuration For Physical Path Cannot Be Opened

If you are having issues creating backups, please contact me privately with this report. Thanks for the responses. C# A Configuration File Cannot Be Created For The Requested Configuration Object Julio99, Until you get your problem resolved, you can always use the bootable media CD and make your backups from the CD. The Configuration Section Was Not Found If you would like to have my system report, let me know.

They are using hex code 96 for all of the examples, but it should be hex code 2D for a proper dash. Even after deleting everything and starting with a new task or backup creation, the error still finds it's way to the log file. didnt work for me, im using 2008, .NET 2.0 and ii7, there is no such thing as "web sharing" when i go to the physical folder and right click, i only have Top Login to post comments Sat, 2012-06-09 07:27 #26 julio99 Offline Beginner Joined: 2009-12-10 Posts: 18 Thanks rayh. "aspnet_regiis -pef"

You are using double forward slashes, and the SaveAs is wrong too. Disallowed to send a message without at least one valid recipient Also, AcronisInfo crashes and does not produce the ZIP file. I'm getting it on both my Win7 ultimate and xp home computers. Check This Out FYI: You can also you other options with this (see below): aspnet_regiis -prov "DataProtectionConfigurationProvider" -pef "connectionStrings" C:\Web\TestApp Thursday, July 26, 2012 9:34 PM Reply | Quote 0 Sign in to vote

I sure wish there were some easy way to have known to do this. The Rsa Key Container Could Not Be Opened. Jul 01, 2013 03:30 PM|faujong|LINK I figure out the problem. Check along left margin for "How to get support" __________________ Grovers status = Inactive1.

Do you need your password?

Hope it helps... Also,run: C:\WINNT\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe Permalink Posted 15-Mar-10 20:46pm Sandeep Mewara505.5K Updated 15-Mar-10 20:48pm v2 Rate this: Please Sign up or sign in to vote. Try this (tested and working for the opening): OpenWebConfiguration(HttpContext.Current.Request.ApplicationPath); or (base on msdn sample code) OpenWebConfiguration(/web.config); or even call it with null, as MSDN notes. Encrypt Web Config Solutions?

Website is named "Javascript" and is located under D:\Programming folder. Tuesday, February 28, 2006 11:58 AM Reply | Quote 0 Sign in to vote I am also having the problem ... Provide command to encrypt from a site and not default website. Privacy statement Dev Centers Windows Office More...

Does The Amazing Lightspeed Horse work, RAW? Find the function given its Fourier series Teenage daughter refusing to go to school Player claims their wizard character knows everything (from books). the web.config file. I'm glad it's working for you.

So, does anybody have an idea what does this mean? In case you don't have one you can apply for it at Acronis Web Site. At times I find that you can make very few errors that this software will let you get away with and still work properly. Not the answer you're looking for?

After I removed the readonly It worked like a charm. Thank you so much! I first found the site ID using the ServerVariables.