Enterprise Library June05: Data access
Hello, I am using Data Access Block in Enterprise Library June 2005 edition to connect to a local SQL server database.
I created the configuration file using Enterprise library configuration tool for data access. I saved this configuration file as app.exe.config. The tool also created dataconfiguration.config in the same directory.
Whenever I run the application, it gives me error"There is an error in XML document(1,734)"
I notice the below line in ConfigurationSettingsLoader.cs (inside Entwerprise library) which throws the above error.
configurationSettings = (ConfigurationSettings)xmlSerializer.Deserialize(new XmlTextReader(new StringReader(node.OuterXml))); |
node.OuterXml contains exactly the same xmldata under element "enterpriselibrary.configurationsettings" in my configuration file. It prefixes "\" just before every double quotes for parsing the string correctly.
Since I haven't touched the configuration file manually, how can it throw an error in XML ? Or, am I not saving the configuration file correctly ?
{Is there any separate forum for enterprise library related discussions ?}
Any help appreciated.
-Praveen

