Warning Messages - Could not find schema information for the element applicationSettings - App.Config of a console app

This is my app.config file
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <configSections>
        <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
            <section name="IntelBrandFX.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
        </sectionGroup>
    </configSections>
  <appSettings>
    <add key="connStr" value="Data Source=tmvnasql1.tmvn.com;Initial Catalog=brandplan;Integrated Security=True"/>
  </appSettings>
  <applicationSettings>
    <IntelBrandFX.Properties.Settings>
      <setting name="IntelBrandFX_rollupViewerService_extract" serializeAs="String">
        <value>https://viewer.rollup.com/omdsp2008/extract.asmx</value>
      </setting>
    </IntelBrandFX.Properties.Settings>
  </applicationSettings>
</configuration>
And the Warning messages  are
Message 1 Could not find schema information for the element 'applicationSettings'.
Message 2 Could not find schema information for the element 'IntelBrandFX.Properties.Settings'.
Message 3 Could not find schema information for the element 'setting'.
Message 4 Could not find schema information for the attribute 'name'.
Message 5 Could not find schema information for the attribute 'serializeAs'.
Message 6 Could not find schema information for the element 'value'.
Althought they do no hinder me from successfully running the project. these messages are annoying. I have seen many articles on the web but could nowhere find the exact schemas for that the above elements that I could add to the  DotNetConfig.xsd file.
Could somebody give me an idea how to create xsds for the elements above and include in the dotnetConfig.xsd.
I understand what needs to be done but not sure of the exact way to do it.
Thanks,

You don't need to modify the dotnetconfig.xsd.  All you need to do is generate an XSD for your section and let VS know where it is at.
1) Create your XSD using any of the various tools available or by hand.
2) Copy your XSD into the <VSDir>\Xml\Schemas directory.
3) Create a catalog file for your schema.
4) Restart VS and it'll load the XSD and give you Intellisense.
Here's the MSDN documentation for it: http://msdn.microsoft.com/en-us/library/ms255821.aspx
Michael Taylor - 8/18/09
http://p3net.mvps.org

Similar Messages

  • Using Project Settings creates an app.config and dozens of errors about "Could not find schema information for the element...

    I am trying to work with Application settings.  I would just like to put together a very simple example of using these, but I can't get the most basic example to work.  Virtually every tag regarding the new Settings produces an Error "Could not find the schema information for the element "applicationSettings". or the element "Settings" etc. etc.  I am not using IIS, this is not a Web Project, and I am not working with User Settings.  Just simple read-only Application Settings.  I've read every MSDN page regarding this subject, I don't see that I am missing a reference - HELP !!!
    REPRODUCING THE PROBLEM:
    Step 1. Create a new C# solution and Windows Forms project. 
    Step 2. Add a reference to System.configuration
    Step 3. Right click the project, choose Properties, then Settings.
    Step 4. Using the Settings Designer, create ONE setting called "MySetting" as a String with the value "MyValue".
    RESULT: Observe the Errors like these, complaining about all of the Settings tags and elements.
    Message 1 Could not find schema information for the element 'applicationSettings'. 
    Message 2 Could not find schema information for the element 'LoadOriginalLists.Properties.Settings'. 
    Message 3 Could not find schema information for the element 'setting'. 
     HERE IS MY APP.CONFIG, AS GENERATED BY THE SETTING DESIGNER TOOL:
    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
    <configSections>
    <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
    <section name="LoadOriginalLists.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
    </sectionGroup>
    </configSections>
    <applicationSettings>
    <LoadOriginalLists.Properties.Settings>
    <setting name="MySetting" serializeAs="String">
    <value>MyValue</value>
    </setting>
    </LoadOriginalLists.Properties.Settings>
    </applicationSettings>
    </configuration>

    Ummmm... okay so these are Messages that are in the Error List.  Whether or not they are actually Errors is debatable.  They are in the Error List, so they are errors. 
    The application runs, so my question is slightly changed to the following.
    I would like to use Application Settings.  However, having settings in my app.config pollutes my Error List with a bunch of meaningless messages like "Could not find the schema information for...".  These messages then hide real errors. 
    Am I missing some setting or is there something I can do to make Visual Studio not show me these messages? 

  • Could not find schema information for the attribute 'filename'

    Can anyone help me.
    I download the VB.NET sample source and try to run the application and got this error.
    "Could not find schema information for the attribute 'filename'"
    and
    "Could not find schema information for the attribute 'url'"
    and
    "Custom tool warning:Schema validation warning:Schema item 'element' named 'AccountWS_AccountUpate_Input' from namespace 'urn:crmondemand/ws/account/' is invalid. Namespace 'urn:/crmondemand/xml/account' is not available to be referenced in this schema"
    Thanks
    Pitiporn

    Are these errors or warnings? If warnings, you should be able to just ignore them.

  • I formatted my macbookpro and followed the usual instructions to re-install but I get a message : Could not find installation information for this machine. This was at the OS X Utilities.My macbook is now blank.

    I formatted my macbookpro and followed the usual instructions to re-install but I get a message : Could not find installation information for this machine. This was at the OS X Utilities.My macbook is now blank.

    Try booting into Internet Recovery mode (booting whilst holding down the command, option and R keys). It will take a while to load as you're booting from Apple's servers across the Internet.
    Once there, use Disk Utility to erase the "Macintosh HD" partition. After the drive is formatted try reinstalling the OS.
    Good luck,
    Clinton

  • I get a message of "Could not find installation information for this machine." after trying to Reinstall Mac OS X.

    I would like to repartition the Main HD to two Partitions but could not do so and keep on getting an error message of "Could not unmount disc.." so I tried choosing the "Macintosh HD" partition and tried Partitioning it but the option is not available. So to my frustration I tried clicking on "Erase" to see whether doing so would allow me to finally partition my HD but still can't. And now since I erased my Macintosh HD partition I could no longer boot to Lion.
    Before doing the above steps I downloaded the Lion Recovery Disc Assistant and created an external Recovery HD using an 8GB flash drive. I used this as startup destination by choosing it as boot destination from pressing Option before startup. I tried using Mac OS X  Utilities to Reinstall Mac OS X from the external drive but I only get "Could not find installation information for this machine." message. I also tried booting from the Recovery HD partition on the HD but i also get the same message.
    I have a new iMac that came with OS X Lion 10.7.
    Anybody have idea how to fix this?

    Partitioning on-the-fly may fail if the disk is too fragmented. You cannot run Erase for the internal disk as it contains its system components. The same if trying to run Boot Camp in order to create the Windows partition, it may fail if disk is too fragmented.
    If I correctly understand what you want, then you must boot from an external disk, therefore copy Lion to a 4 GB (or higher) flash drive, run the installer, and then choose the option to partition the disk, this is done after rebooting into the installer from the external drive. You cannot do that if the Lion installer is on the internal drive as it cannot erase or repartition itself.
    If this fails (did you try this?), then perhaps you can try to create a Lion boot flash or DVD by using a non-Apple app called Lion DiskMaker, when ready restart, after chime press option / alt key, then choose to boot from this newly created boot disk or flash drive. This reportedly works OK (tried with an older version of Lion, not recently, was OK). It is better to work with a flash drive, Lion is not optimized to run from optical media.
    WARNING: disregarding the method, you MUST always back up your data when repartitioning or installing / reinstalling.
    Hope this helps to solve you issue. Before any attempt, backup, backup, backup.

  • Could not find installation information for this machine

    I tried to recover Mac OS X , but got message like this.
    "Could not find installation information for this machine. Contact AppleCare."
    I can not get detailed information of device because there is no system installed on Mac.
    but I remember,It is intel iMac. ver 10.7. core 2 duo.
    How do I install or recover system now?

    Make sure that your network connection satisfies the requirements for Recovery or Internet Recovery, depending on which you're trying to use. If possible, connect to the router with Ethernet.
    Restart the computer and try again.
    Connect to a different network, if possible.
    Wait a few hours and try again.
    Make a "Genius" appointment at an Apple Store.

  • Could not find installation information for this machine contact applecare

    I installed Lion on my MacBook, worked great. After 2 months I wanted to clean install the Lion on the same Macbook; went to Apple Support website and there they had instructions on how to clean install Lion.
    I followed the instructions and erased the partition where the OS Lion was installed. Then I tried to re-install it, it kept saying "could not find installation information for this machine contact applecare".
    When I contacted apple care, they asked me to pay 49 dollars in order to get help from them. I already paid the cost for the LION OS and now they want another 49 bucks. This is just insane. I'm not a fan of Apple, Mac or iCrap. But I was thinking to buy a new Mac after selling this one. Now I have no interest in buying any Mac product. Windows 7 is much much better than Lion OS X.
    I have to fix this before I sell it on ebay so Has anyone tried to clean install Lion ?

    I'm with you, OS X Lion has turned a lot of stomachs.
    Here's how to go about what you need to do:
    Get out your 10.6 installer disk, make sure it's clean and polished (bit of rubbing alcohol and a very soft cloth)
    Get 2 blank external drives, connect one and hold c and boot off the 10.6 installer disk, use Disk Utility to format the external drive use
    Erase>Security Option> Zero all data, wait
    under the partition tab
    1 partition, option MBR, format FAT
    Disconnect and reboot.
    Repeat the same procedure for the second drive and format the
    Erase>Security Option> Zero all data, wait
    under the partition tab
    1 partition, option GUID, format OS X Extended Journaled
    Quit and install 10.6 on the external GUID drive.
    Reboot holding the option key, you can boot off the 10.6 external drive, setup, use your same user name as before, update to 10.6.8, grab your files off the OSX Lion partition, transfer a copy to the FAT formatted drive.
    What you do is your choice,
    To continue using the machine under 10.6
    you can erase the entire (select the whole internal drive, not just the OS X Lion Paritition) and use Carbon Copy Cloner to clone 10.6 external to the internal drive,
    To sell the machine with a fresh 10.6 install
    or simply hold c boot off the 10.6 installer disk and install 10.6 on the internal drive and upon reboot, just hard shutdown by pressing the powerbutton before going through setup. The next person who gets the machine will be greeted by the setup again.
    You can use the files on the FAT drive on your Windows PC in some cases.
    Else download the free LibreOffice and it can read quite a few file formats.

  • Could Not Find Installation Information for this Machine" I need Help!

    i accidentaly erased the main drive and now i am trying hard to reinstal the OS X again but i constantly keep seeing this "could not find installation information for this machine" i need help....

    hello,
    I had the same problem yesterday, just go to a place with a better internet conncetion, it will work fine...
    good luck

  • HT202696 Trying to reset to factory settings it says could not find installation information for this machine contact Apple care

    Trying to to reset to factory settings to set up the installation it says could not find installation information for this machine contact Apple care. What does this mean

    Try another internet connection.

  • Could not find installation information for this machine for lion

    could not find installation information for this machine for lion after trying to reinstall lion ona new MacBook pro that come with lion

    I guess Lion Internet Recovery has still some issues, maybe it's just my internet connection at home, but yesterday and this morning I was trying to restore Lion at home and the remaining time was of 54+ hours, and it never get to be less than 50 when it crashed..
    I shut my computer down and headed to my office and once here, the remaining time showed as 1 and a half hour.
    I finally was able to restart my Macbook Pro.
    Maybe my router (at home), or mi ISP was blocking Lion Recovery tool or something like that... weird...
    My last choice was going to take it to the AppleCare, it's good I didn't have to...
    Thanks everyone!

  • I got this Could not find installation information for this machine. what i should do now? i can not use my mac, i got this Could not find installation information for this machine. what i should do now? i can not use my mac

    i erased my mac then i tried to download the os x mavericks, wich i had before ; however, i got this Could not find installation information for this machine.

    You should not have erased anything. Maverick uses some of the applications from the older software and now that you have erased part of the Operating System you are going to need the Original Install disc's that came with your machine. Hold down the C key while installing then do all of the Software updates then you can install Maverick.

  • Reinstall OS x "could not find installation information for this machine"

    Early 2011 MacBook Pro upgraded (on-line) from Lion to Mountain Lion.
    Going to Rocovery Console (Command+R) during startup and choose "Reinstall OS X".
    Clicking Continue in  OS X Mountain Lion  window, clicling contionue in
    "To download and restore OSX, your computers'elidgilibility will be veryfied with Apple"
    and got error:
    Could not find installation information for this machine.
    Contact AppleCare.
    Well, when I retirn from the office, AppleCare is not working anymore.
    Any idea what to do?
    Thanks.

    Singapore ISP  Singtel is having issues with Apple Internet Recovery.
    There is a need to add proxy access via port 8080.
    Since I can't even get into Recovery mode, this info doesn't help.
    So, I call up Apple hotline and explain the whole picture.
    Was fortunate that Apple has similar feedback from Singapore user.
    So, was told to just bring down Mini to service provider.
    Problem solved some what.
    Service provider only reinstate the ori OS X Lion.
    Back home, I download and install ML.
    This time, made a copy of ML installer in USB stick for future usage.
    I guess the only way around this is getting someone to just install Lion or ML, if Internet recovery doesn't work.

  • I am trying to install OSX and I get "could not find installation information for this machine" what do it do?

    Trying to install OSX and i get "could not find installation information for this machine" what do i do?

    someone will be by to edit, in the meantime, NEVER post your serial number.
    They wanted you to go to the Hardware section of System Profile and the part that looks like
    MACBOOK PRO N,1
    Anyone here has Mac Pro of 1,1 thru 6,1
    http://www.everymac.com is a good place to look at model specs and history of that model, max RAM and other features.

  • I lost the hd recovery in my mac. I already erased and the hardrve using the disk utility but then if i try to install the os x using os x utility it sees that could not find installation information for this machine .

    I lost the hd recovery in my mac. I already erased and the hardrve using the disk utility but then if i try to install the os x using os x utility it sees that could not find installation information for this machine .. Plz help

    Recovery Partition – Recreate Without Reinstalling
    Recovery Partition – Recreate Without Reinstalling (Requires Installer)

  • I can't seem to reinstall OS X Mavericks after trying to restoring my IMac it said, "Could not find installation information for this machine."

    I can't seem to reinstall OS X Mavericks after trying to restore my IMac to factory settings. It said, "Could not find installation information for this machine."

    Recovery Partition – Recreate Without Reinstalling
    Recovery Partition – Recreate Without Reinstalling (Requires Installer)

Maybe you are looking for