StrataFrame Forum

Getting an error accessing Strataframe

http://forum.strataframe.net/Topic9633.aspx

By Ger Cannoll - 6/17/2007

I've just installed Stratframe and get error below when I go into Visual Stuidio ot try to access most stratframe facilitie

This error happens immediately I open visual studio, if I X out, it leaves me in.

I am also getting this error message when trying to run most of options from Start..Programs..Stratframe

Exception
 An error occurred while configuring the StrataFrame design-time data sources.
XmlException
 Invalid character in the given encoding. Line 1, position 1.

Source     :

Stack Trace:
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.InvalidCharRecovery(Int32& bytesCount, Int32& charsCount)
   at System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount)
   at System.Xml.XmlTextReaderImpl.ReadData()
   at System.Xml.XmlTextReaderImpl.SwitchEncoding(Encoding newEncoding)
   at System.Xml.XmlTextReaderImpl.ParseXmlDeclaration(Boolean isTextDecl)
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlTextReader.Read()
   at System.Xml.XmlReader.MoveToContent()
   at System.Data.DataSet.ReadXml(XmlReader reader, XmlReadMode mode, Boolean denyResolving)
   at System.Data.DataSet.ReadXml(String fileName, XmlReadMode mode)
   at MicroFour.StrataFrame.Xml.XmlBasics.OpenXmlFile(String CurrentVersion, String TableName, String PathAndFileName, List`1 ColumnStructure)
   at MicroFour.StrataFrame.Xml.XmlBasics.OpenXmlFile(String Version, String TableName, String PathAndFileName, List`1 ColumnStructure, Boolean DecryptFile)
   at MicroFour.StrataFrame.Data.BusinessObjects.DbeApplicationData.FillAll()
   at MicroFour.StrataFrame.Data.ConnectionManager.SetConnections()
   at MicroFour.StrataFrame.AddIns.AddInManager.SetDataSources()

By Trent L. Taylor - 6/18/2007

It sounds like your connection data files may have become corrupt.  Delete the files from the following location:

C:\Documents and Settings\All Users\Application Data\MicroFour\ConnectionData

There will be two files: AppKeys.dat and Connections.dat.  Once you remove these files, go back into Visual Studio....it will ask for your connection to the StrataFrame database again.