Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

ExcelReports Data Source

(0) ShareShare
ReportReport
Posted on by 11

We've created a custom ExcelReport based on a SQL Stored Procedure.  Report works as expected on the server -- where the ODBC Data Source exists.  However, we have deployed GP using a RemoteApp, so no local code (including ODBC Data Source) exists.

When users attempt to run the ExcelReport they receive error messages regarding missing Data Source.   We created a new 64-bit Data Source to allow access to the custom ExcelReport because we have 64-bit Office installed locally.   The ExcelReport runs without issue when running Remote Desktop because the Data Source is local.  

It seems the ExcelReports work with the ODC connections deployed through GP.  

Is it possible to create an ODC connection for the custom ExcelReport and not rely on the ODBC Data Source?

  

Categories:
  • Suggested answer
    Derek Albaugh Profile Picture
    on at
    RE: ExcelReports Data Source

    I haven't actually tested what you're stating, so I'll refer to the Community to see if any of them have.

    I'm wondering, since you can't add the data source to where your custom Excel Report is located, can you setup some type of data connection on the report itself?

    For example, using the 'Accounts' Excel Report from Dynamics GP, the connection string is something like this:

    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

    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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 565

#2
Martin Dráb Profile Picture

Martin Dráb 536 Most Valuable Professional

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 402 Super User 2025 Season 1

Product updates

Dynamics 365 release plans