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

Announcements

News and Announcements icon
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 17

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:
I have the same question (0)
  • Suggested answer
    Derek Albaugh Profile Picture
    Microsoft Employee on at

    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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 681 Super User 2026 Season 1

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 551 Super User 2026 Season 1

#3
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 471

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans