In OpenCities Map when I'm trying to connect to my database I'm getting the following error:
Exception: An error occurred while parsing EntityName. Line 1, position 214.System.Xml.XmlException: An error occurred while parsing EntityName. Line 1, position 214. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.ParseEntityName() at System.Xml.XmlTextReaderImpl.ParseEntityReference() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) at System.Xml.XmlLoader.ParsePartialContent(XmlNode parentNode, String innerxmltext, XmlNodeType nt) at System.Xml.XmlElement.set_InnerXml(String value) at Bentley.Geospatial.Utility.SchemaMerger.ExtractECSchema(XmlDocument mergedSchemaDoc, String graphicSourceId) at Bentley.Geospatial.DataInterchange.GeoDataInterchangeAddIn.GetGraphicalSourceSchema(String graphicalSourceKey)
Everyone else in my team can connect fine, we're all using the same workspace. I've tried updating OCM but still getting the same error.
Just to clarify, I can connect to the database manually, but I get this error when I use the schema defined database connection
I've tried another workset and i can connect to the defined connection with no problem. So the problem is with the workset, but only for me.
Problem has been fixed. There was a '&' in one of the category names, removed it in Geospatial Administrator and OCM works.
Answer Verified By: Lachlan Hand
what is the database source you connected to ? I reproduce the issue on File GDB. do you use another source ?
I'm connecting to a SQL server