web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

management reporter 2012 import company error

(0) ShareShare
ReportReport
Posted on by 620

I have upgraded my MR installation to MR 2012. I have added my GP server to 'ERP Integrations'. WHen I click on Import and enter my GP User and password, I receive and error that states "An error has occurred retreiving company information. Verify that the specified credentials are valid. Check the deployment log for details."

I reentered my GP credentials correctly. I checked the deployment log and see the below:

 

4/3/2012 3:49:51 PM - An error occurred while importing companies from a company import adapter. Additional information: System.InvalidOperationException: There is an error in XML document (0, 0). ---> System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlTextReader.Read()
   at System.Xml.XmlReader.MoveToContent()
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEntitySettingCollection.Read3_ArrayOfEntitySetting()
   --- End of inner exception stack trace ---
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
   at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)
   at Microsoft.Dynamics.Performance.DataProvider.Core.EntitySettingCollection.Deserialize(String xmlDocument)
   at Microsoft.Dynamics.Performance.Deployment.CompanyImport.CompanyImport.CompanyImportViewModel.<ConvertToExistingCompanies>b__7(CompanyRow x)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at Microsoft.Dynamics.Performance.Deployment.CompanyImport.CompanyImport.CompanyImportViewModel.ConvertToExistingCompanies(CompanyDataTable companyDataTable)
   at Microsoft.Dynamics.Performance.Deployment.CompanyImport.CompanyImport.CompanyImportViewModel.<BeginImport>b__0()

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Cory Severson Profile Picture
    695 on at

    Hello Ryan,

    I've seen this one and it is caused by a problem most likely from a prior migration.  The ControlCompany table has a column called GLEntityConnectionInformation.  This needs to be filled in for every company before the import will work.  You will want to run update to get that set or delete the companies that are blank, usually the FW and FWC companies.

  • Ryan Connolly Profile Picture
    620 on at

    Thanks so Much Cory, that was the problem. There was a company that is no longer used in that table. Once I deleted from Table, company import was successful.

    Ryan

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans