Skip to main content

Notifications

Microsoft Dynamics GP forum
Suggested answer

Initialization of the data source failed

Posted on by 5

pastedimage1678379281120v2.png1030.GP1.pngpastedimage1678379360651v3.png

  • Suggested answer
    RE: Initialization of the data source failed

    Not sure what exactly you're doing here but it looks like custom Excel reports.

    Your connection string looks similar to what I have on the Excel reports deployed from GP, just a bit different:

    Provider=SQLNCLI11.1;Integrated Security=SSPI;Persist Security Info=True;Initial Catalog=T185C;Data Source=DESKTOP-03KE9TQ;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=DESKTOP-03KE9TQ;Use Encryption for Data=False;Tag with column collation when possible=False;MARS Connection=False;DataTypeCompatibility=0;Trust Server Certificate=False;Application Intent=READWRITE

    This is from one of my Excel reports deployed to a C:\ path on my desktop, so a connection string to a UNC path would be slightly different. You could look at our default Excel Reports' data source/connection string for an example.

    We don't usually see this message with Excel reports, so I don't have much more.

    Looking online, I see this message can be caused by everything from network to Excel version to the Power Pivot add in being enabled and more.

    Hopefully this gets you going in the right direction.......maybe others in the Community have more.......

    Thanks

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

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,522 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,441 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Product updates

Dynamics 365 release plans