Getting a "An error occurred while saving values to the app.config file." message

The content of the title is just part of the message I get. The second line of the message is: "The file might be corrupted or contain invalid XML."
I work with a lot of usercontrol libraries, and each one has 1 or 2 connection strings setup, and nothing else. I have no trouble in the code itself using the settings. Nor do I have trouble during runtime with them. But I do have the problem with every single library I work on.
The problem occurs when I make a change to the settings in the VS IDE (2005), which I do whenever I need to the connection string to point to my test SQL server, or need to set it back to the production SQL server. The connection strings were setup in the Settings tab of the Property page for the application.
I get the error message whenever I select the settings tab and again when I go to save it. I once tried deleting the app.config file, and recreating the settings, and the message went away until I checked it in. No one else has the problem when they get the files, but when I get then, I get the error message.
Any ideas what may be causing this. My boss thouight it might be an addon from CodeSMART, but I uninstalled it to see if the errors would go away and it didn't.
Thanks.
MarshallMarshall Youngblood

Marshall,
I am not sure if it helps in your case, but I have the similar problem. Add foloowing lines in your app.config file  in configSections  tag.
<
configSections>
<
sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<
section name="ApLibrary.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</
sectionGroup>
</
configSections>
let me know if that helps.
Purvi Patel

Similar Messages

  • Error: A Error Occured While Trying to Update The Default Audio File Type

    Whenever I do anything in the preferences, when I back out and close the prefs, I get this error:
    "An error occured while updating the default audio player for audio file types. You do not have enough access privileges for this operation"
    I do have Admin rights on my own computer. This happens with 6.0.4 which I just installed.

    user10163762 wrote:
    Thank you Eugen and Hussein.
    The problem is not with the template.
    It seems to be a problem in that particular instance.
    Uploaded it in a different instance.
    However once i run the program, i cannot view the output as the browser window flashes and disappears.
    My colleague says , it is to do with the trusted site to download something from the browser.
    Can you please guide me on how to fix this ?
    http://bit.ly/1k8e2vi
    Thanks,
    Hussein

  • I can not send files that I used to be able to send I get an error message: An error occurred while sending mail. The mail server responded: Message Too Big (T

    I regularly send photo files up to 10mb but now I can't send any files unless they are very small.
    I am able to send via Outlook so it must be a problem with Thunderbird.

    OK, the provider is TalkTalk
    Application Basics
    Name: Thunderbird
    Version: 31.1.1
    User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1
    Profile Folder: Show Folder
    (Local drive)
    Application Build ID: 20140908105904
    Enabled Plugins: about:plugins
    Build Configuration: about:buildconfig
    Memory Use: about:memory
    Mail and News Accounts
    account1:
    INCOMING: account1, , (imap) imap.talktalk.net:143, plain, passwordCleartext
    OUTGOING: smtp.talktalk.net:587, alwaysSTARTTLS, passwordCleartext, true
    account2:
    INCOMING: account2, , (none) Local Folders, plain, passwordCleartext
    account3:
    INCOMING: account3, , (imap) imap.talktalk.net:143, plain, passwordCleartext
    OUTGOING: smtp.talktalk.net:587, alwaysSTARTTLS, passwordCleartext, true
    Crash Reports
    Extensions
    Mail Merge, 3.8.0, true, [email protected]
    Important Modified Preferences
    Name: Value
    browser.cache.disk.capacity: 358400
    browser.cache.disk.smart_size.first_run: false
    browser.cache.disk.smart_size.use_old_max: false
    browser.cache.disk.smart_size_cached_value: 358400
    extensions.lastAppVersion: 31.1.1
    font.name.monospace.el: Consolas
    font.name.monospace.tr: Consolas
    font.name.monospace.x-baltic: Consolas
    font.name.monospace.x-central-euro: Consolas
    font.name.monospace.x-cyrillic: Consolas
    font.name.monospace.x-unicode: Consolas
    font.name.monospace.x-western: Consolas
    font.name.sans-serif.el: Calibri
    font.name.sans-serif.tr: Calibri
    font.name.sans-serif.x-baltic: Calibri
    font.name.sans-serif.x-central-euro: Calibri
    font.name.sans-serif.x-cyrillic: Calibri
    font.name.sans-serif.x-unicode: Calibri
    font.name.sans-serif.x-western: Calibri
    font.name.serif.el: Cambria
    font.name.serif.tr: Cambria
    font.name.serif.x-baltic: Cambria
    font.name.serif.x-central-euro: Cambria
    font.name.serif.x-cyrillic: Cambria
    font.name.serif.x-unicode: Cambria
    font.name.serif.x-western: Cambria
    font.size.fixed.el: 14
    font.size.fixed.tr: 14
    font.size.fixed.x-baltic: 14
    font.size.fixed.x-central-euro: 14
    font.size.fixed.x-cyrillic: 14
    font.size.fixed.x-unicode: 14
    font.size.fixed.x-western: 14
    font.size.variable.el: 17
    font.size.variable.tr: 17
    font.size.variable.x-baltic: 17
    font.size.variable.x-central-euro: 17
    font.size.variable.x-cyrillic: 17
    font.size.variable.x-unicode: 17
    font.size.variable.x-western: 17
    gfx.direct3d.last_used_feature_level_idx: 0
    mail.openMessageBehavior.version: 1
    mail.winsearch.firstRunDone: true
    mailnews.database.global.datastore.id: 467c2b21-106f-477e-a3c1-29d82f089ee
    mailnews.database.global.views.conversation.columns: {"threadCol":{"visible":true,"ordinal":"1"},"flaggedCol":{"visible":true,"ordinal":"3"},"attachmentCol":{"visible":false…
    network.cookie.prefsMigrated: true
    places.database.lastMaintenance: 1411405549
    places.history.expiration.transient_current_max_pages: 104858
    plugin.importedState: true
    print.printer_Canon_MX450_series_Printer.print_bgcolor: false
    print.printer_Canon_MX450_series_Printer.print_bgimages: false
    print.printer_Canon_MX450_series_Printer.print_colorspace:
    print.printer_Canon_MX450_series_Printer.print_command:
    print.printer_Canon_MX450_series_Printer.print_downloadfonts: false
    print.printer_Canon_MX450_series_Printer.print_duplex: 0
    print.printer_Canon_MX450_series_Printer.print_edge_bottom: 0
    print.printer_Canon_MX450_series_Printer.print_edge_left: 0
    print.printer_Canon_MX450_series_Printer.print_edge_right: 0
    print.printer_Canon_MX450_series_Printer.print_edge_top: 0
    print.printer_Canon_MX450_series_Printer.print_evenpages: true
    print.printer_Canon_MX450_series_Printer.print_footercenter:
    print.printer_Canon_MX450_series_Printer.print_footerleft: &PT
    print.printer_Canon_MX450_series_Printer.print_footerright: &D
    print.printer_Canon_MX450_series_Printer.print_headercenter:
    print.printer_Canon_MX450_series_Printer.print_headerleft: &T
    print.printer_Canon_MX450_series_Printer.print_headerright: &U
    print.printer_Canon_MX450_series_Printer.print_in_color: true
    print.printer_Canon_MX450_series_Printer.print_margin_bottom: 0.5
    print.printer_Canon_MX450_series_Printer.print_margin_left: 0.5
    print.printer_Canon_MX450_series_Printer.print_margin_right: 0.5
    print.printer_Canon_MX450_series_Printer.print_margin_top: 0.5
    print.printer_Canon_MX450_series_Printer.print_oddpages: true
    print.printer_Canon_MX450_series_Printer.print_orientation: 0
    print.printer_Canon_MX450_series_Printer.print_page_delay: 50
    print.printer_Canon_MX450_series_Printer.print_paper_data: 9
    print.printer_Canon_MX450_series_Printer.print_paper_height: 11.00
    print.printer_Canon_MX450_series_Printer.print_paper_name:
    print.printer_Canon_MX450_series_Printer.print_paper_size_type: 0
    print.printer_Canon_MX450_series_Printer.print_paper_size_unit: 1
    print.printer_Canon_MX450_series_Printer.print_paper_width: 8.50
    print.printer_Canon_MX450_series_Printer.print_plex_name:
    print.printer_Canon_MX450_series_Printer.print_resolution: 0
    print.printer_Canon_MX450_series_Printer.print_resolution_name:
    print.printer_Canon_MX450_series_Printer.print_reversed: false
    print.printer_Canon_MX450_series_Printer.print_scaling: 1.00
    print.printer_Canon_MX450_series_Printer.print_shrink_to_fit: true
    print.printer_Canon_MX450_series_Printer.print_to_file: false
    print.printer_Canon_MX450_series_Printer.print_unwriteable_margin_bottom: 0
    print.printer_Canon_MX450_series_Printer.print_unwriteable_margin_left: 0
    print.printer_Canon_MX450_series_Printer.print_unwriteable_margin_right: 0
    print.printer_Canon_MX450_series_Printer.print_unwriteable_margin_top: 0
    Graphics
    Adapter Description: NVIDIA GeForce GTX 650 Ti
    Vendor ID: 0x10de
    Device ID: 0x11c6
    Adapter RAM: 1024
    Adapter Drivers: nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
    Driver Version: 9.18.13.1070
    Driver Date: 12-3-2012
    Direct2D Enabled: true
    DirectWrite Enabled: true (6.2.9200.16571)
    ClearType Parameters: ClearType parameters not found
    WebGL Renderer: false
    GPU Accelerated Windows: 2/2 Direct3D 10
    AzureCanvasBackend: direct2d
    AzureSkiaAccelerated: 0
    AzureFallbackCanvasBackend: cairo
    AzureContentBackend: direct2d
    JavaScript
    Incremental GC: 1
    Accessibility
    Activated: 0
    Prevent Accessibility: 0
    Library Versions
    Expected minimum version
    Version in use
    NSPR
    4.10.6
    4.10.6
    NSS
    3.16.2 Basic ECC
    3.16.2 Basic ECC
    NSS Util
    3.16.2
    3.16.2
    NSS SSL
    3.16.2 Basic ECC
    3.16.2 Basic ECC
    NSS S/MIME
    3.16.2 Basic ECC
    3.16.2 Basic ECC

  • I am trying to create a community addition, but just keep getting *Error occurred while saving your data.

    I am trying to create a community addition, but just keep getting   *Error occurred while saving your data.
    Trying to add the following community addtion for:     http://technet.microsoft.com/en-us/library/cc755631(v=ws.10).aspx
    In the above website do NOT copy the command, you have to type it in.  Webpage Error.
    You can use both    dsquery server –hasfsmo schema    and    dsquery server -forest –hasfsmo schema
    The problem is, I believe, a hidden character in the command on this webpage which follows the Paste function and results in the error Unknown Parameter error.

    Hi John,
    You might have better luck posting this in the library feedback forum here:
    http://social.msdn.microsoft.com/Forums/en-us/home?forum=libraryfeedback&filter=alltypes&sort=lastpostdesc
    It seems odd to me that the TechNet library feedback forum lives under the MSDN branding, but that seems to be the case.
    Don't retire TechNet! -
    (Don't give up yet - 12,575+ strong and growing)

  • An error occurred: Save document failed / An error occurred while saving the document: PATH (HDB 00055)

    Hello Colleagues, I am creating an analysis in build 576, everything goes well, the algorithm calculates the needed values, but when I try to save the analysis, I receive the following error message: "An error occurred: Save document failed / An error occurred while saving the document: <PATH> (HDB 00055)".
    Does anyone know what could cause this error message?
    Thanks a lot for any hint.
    Sergey

    Hi Henry,
    I am using PA 1.0.11 and received this error; any update on this fix for SAP PA. Does this happen for a particular data source.
    I am currently using Excel as source and whenever I try to use this data; I get this even if I move the data to a new file or rename a file. I tried to check the same issue with a different file and it works fine. This file worked fine a day back.
    Please let me know if this is unusual for this version.
    Regards,
    Arvind E

  • I cannot send mail. Been so for 2 days. Get the message: An error occurred while sending mail. The mail server responded: Access denied

    When I send message the reply is "Access Denied" and a bunch of gobbly-gook ending with please re-check message. What would I check for? The G-G is of absolutely no value to the human species.
    An error occurred while sending mail. The mail server responded: Access denied...3c61d9886161c1c1b119b169f84d0c00bd1d41014c8da58d391805d17cbcdccd89e9557dcc85058535d178217d0831cc6d65.... Please check the message and try again.
    So what now. Mozilla must be the offspring of Microsoft in that help NEVER HELPS, EVER.

    Hello,
    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings and disables most add-ons (extensions and themes).
    ''(If you're using an added theme, switch to the Default theme.)''
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu by clicking on the '''Restart with Add-ons Disabled...''' menu item:<br>
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.
    Thank you.

  • Error occured while saving the user account information

    I'm trying to install LiveCycle ES 2 with PDF Generator on a Windows 2008 server wtih SQL Server 2005.  When I run the configuration manager I get an error in the step where you add the administrator user credentials for generator.  The error I'm receiving is ALC-PDG-080-032-Error occured while saving the user account information.  Has anyone seen this issue before?  Any ideas on what the problem may be?

    Going back some time, another user (do not recall Matrox on the system) had a similar issue. The workaround in that case was to use Save_As and just increment the file name. Now, I do not recall any real "fix," and for another user, the Save_As resulted in the same behavior, so it was not a universal workaround.
    Good luck, and please report your findings,
    Hunt

  • Error occured while saving ume properties

    Hi All,
    We have installed SAP ERP 6.0 SR3 central instance(ABAP+JAVA)
    I logged into Enterprise Portal using J2EE_ADMIN user.
    I am trying to change properties in System Administration --> System configuration --> UME Configuration --> ABAP System.
    I changed properties then i clicked on 'Saved All changes' button. I am getting following error.
    "An error occured while saving UME Properties. contact your system administrator'
    I want solution to move forward.
    Regards,
    Phanikumar.

    Hi Phanikumar.
    Please check whether J2EE_ADMIN is having super administrator role in portal or not.
    If you have assigned system administration role directly then it might be the case.
    You can try with config tool if still you are getting the problem in the portal
    Hope it helps
    Regards
    Arun

  • "An error occurred while attempting to retrieve the KPI value from the list"

    Hi all.
    when I used KPI, this error occured:
    An error occurred while attempting to retrieve the KPI value from the list
    what happened?
    any suggestion.
    thanks.

    Hello,
    Unfortunatly, I don't have the option to re-create my SP list.  I have created my KPI list in the same site as the targeted list.  I have made all items available in the list view, I've tried several different list views, I still get the
    An error occurred while attempting to retrieve the KPI value from the list.
    message. 
    I am at a loss here, I've search the internet high a low and haven't found any helpful info. 
    In MOSS 2007 I've created a list with about 24 columns.  I need a KPI based on one of the columns.  I've tried to creat a view with that one column, I've tried to creat a view with all columns
    and make it the defualt column...  I don't know what else to try here.
    Any help would be very appriciated!
    Cheers,
    ~Bryan

  • An error occurred while saving. Alert window

    Recently, whenever I select text and copy it (command C) in nearly any program (ex.: Browswer windows, Apple Mail, even a file name in Finder), I get a pop-up window with "An error occurred while saving." The yellow triangle with "!" and a pair of binoculars show in the window. I've just run Diskwarrior and have also used Apple's Disk Utility to repair permissions as a precaution.
    What's going on?

    OK, I think we're on the trail...
    So, you have Chronos Notes v6.5.4?
    I'd be tempted Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, then to move these files to the Desktop...
    /Users/YourUserName/Library/Preferences/com.chronos.SOHOOrganizer.plist
    /Users/YourUserName/Library/Preferences/com.chronos.SOHONotes.plist”
    /Users/YourUserName/Library/Preferences/com.chronos.ChronosNotesService.plist
    Maybe just this last one for a try!?
    Reboot... we can always move them back & reboot if we need to.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    http://support.chronosnet.com/customerservice/kb_cat.php?s=49cbbb1e4a685b3ad7573 9d5153651fd&id=13&t=qanda

  • An error occurred while saving the following file

    I want to build an app but I get this message:
    An error occurred while saving the following file:
    C:\Acquire U6 DS&FTP\Acquire U6 DS&FTP.vi
    Nothing more, absolutely nothing more.
    Before that I could build it without problems, now I can't. The file in the message is the main file (by the way it runs fine). I've tried creting a new project but it doesn't work.
    I really hope somebody can help me.
    Thanks,
    JuanM

    What's changed in your code?  Have you tried undoing anything or reverting back to a pervious version?
    Reese, (former CLAD, future CLD)
    Some people call me the Space Cowboy!
    Some call me the gangster of love.
    Some people call me MoReese!
    ...I'm right here baby, right here, right here, right here at home

  • Error occurred while saving document in Web Analysis Studio

    We have encountered an issue when we tried to save a new report in Web Analysis. An error message box will prompt up displaying "Error occurred while saving document." (Please refer to the attached screenshots). Clicking the details button gives no response.
    Originally we encountered this whilst creating a report with an SQL spreadsheet (JDBC connection tested successfully), which failed to save. Proceeding to test this saving a blank report also gave the same error message.
    The report shows up in the Oracle view, however also produces an error when trying to open it. "Unable to perform request
    Undefined exception encountered. Recommended Action: Contact your corporate technical support." (Please refer to the attached screenshots)
    Web Analysis version 11.1.2.3.000.1175
    Please advise on how to handle this case

    Hi Soumya,
    Thanks for your reply. I am already using the admin account which is given administrator provisioning under Reporting & Analysis. I have not had issues in the past of saving documents to the server location (e.g. with FR studio). Any ideas as to what else could cause this error? Thanks!

  • I am getting "a network error occurred while attempting to read from the file c:\windows\installer\itunes.msi" when I attempt to download itunes, can someone help me with this?

    I am getting "a network error occurred while attempting to read from the file c:\windows\installer\itunes.msi" when I attempt to install itunes.  Can anybody help me to resolve this issue?

    You can try disabling the computer's antivirus and firewall during the download the iTunes installation
    Also try posting in the iTunes forum since it is not an iPod touch problem.

  • I am using Adobe Reader with paid up service through May 2015.  When I attempt to convert a file from PDF or to PDF, I get the message "An error occured while trying to access the service.  What do I need to do to access the service paid for?

    I am using Adobe Reader with paid up service through May 2015.  When I attempt to convert a file either to PDF or from PDF, I get the error message, "An error occurred while trying to access the service".  What do I need to do to get access to the service I have paid for?

    Hi DeaconTomColorado,
    Please see "Error occurred when trying to access this service" when logging on to Acrobat.com.
    Adobe has just released an update to Adobe Reader, so if you're accessing the service via Reader, please let us know whether the update helps resolve the issue.
    Best,
    Sara

  • I keep getting the message"an error occurred while trying to access the service".  does anyone know what i need to do to resolve this problem.  I am trying to convert apdf file for msword?

    I keep getting the message"an error occurred while trying to access the service".  does anyone know what i need to do to resolve this problem.  I am trying to convert a PDF file for ms word?

    Adobe Reader is free; but you may have paid for the ExportPDF service.
    Contact Adobe Customer Care and click on the Still need help? button to chat with an agent.
    [topic moved to ExportPDF forum]

Maybe you are looking for

  • Scroller with rollovers

    Hi all... Hope you're all ok. Right i have a scroller that i have made with people on it, and when i hover the mouse over the right hand side the scroller moves to the right, and to the left when the mouse rolls over the left hand side. This is cool.

  • Motif XS88 and Duet

    I have the latest Yamaha USB drivers installed. Problem is when recording audio tracks from the Motif there is noise, unless I unplug the USB cable from the Motif. Software instruments are noiseless. It's almost like the midi USB and the audio in fro

  • Programmatically determine steps referenced in an expression

    Is there an elegant way to programmatically determine any steps that are reference in an expression using API.  Such that  AllOf(RunState.Sequence.Main["ID#:AzvyVD4OcUiZz2vk3ZHknA"].Result.Status == "Passed", RunState.Sequence.Main["ID#:0RT7Ih2QQkimH

  • Transportable tablespaces requirment

    Hello All, This is what I am running on. BANNER Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi PL/SQL Release 10.2.0.4.0 - Production CORE 10.2.0.4.0 Production TNS for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Productio NLSRTL

  • Any tutorial for Live RTMP Dynamic Streaming using Strobe Media Playback?

    Any tutorial for Live RTMP Dynamic Streaming using Strobe Media Playback anywhere available on the web ?