Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

ODBC Help - The given key was not present in the dictionary.

$
0
0

I am using the CData ODBC driver connecting to Sage Accounts.

The ODBC connection wizard does not return the table list into the Navigator so I have to enter it into the query editor with the following:

 

= Odbc.DataSource("dsn=CData Sage50UK Source Sys", [HierarchicalNavigation=false])

 

This returns a list of the tables I require but I need these to be selectable in the Fields Pane, not displayed as a datatable.

 

I can then create a new query from the source and use this Navigation Pane to select a table (The tables show up in this Nav Pane but not in the connection wizard) which gives me the following expression:

 

= Source{[Item="Receipts",Schema="Sage50UK",Catalog="CData"]}[Data]

 

I then get the error message:

 

DataSource.Error: ODBC: ERROR [HY000] ApplicationDiagnosis:GET operation failed - The given key was not present in the dictionary.

at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Sage.Integration.Accounts50.SDOAdapter.SDOFeedDetails.GetTableColumnFromProperty(String property)
at Sage.Integration.Accounts50.SDOAdapter.SDORequestHandler.OnGetRequest(IRequest request, IFeed feed)
at Sage.Integration.Accounts50.SDOAdapter.RequestHandler`2.OnGetRequest(IRequest request)
at Sage.Integration.Accounts50.SDOAdapter.RequestHandler`2.GetRequest(IRequest request)
at Sage.Integration.Accounts50.SDOAdapter.SDORequestManager.OnGetResource(IRequest request)
at Sage.Integration.Accounts50.SDOAdapter.SDORequestManager.GetRequest(IRequest request) (-1)

 

The CData ODBC works perfectly fine in Excel (when MS Query does not break) but I cannot make all my Sage tables appear on the designer form for the end users to select tables/fields for their reports.

 

I have sent a few frowns with screenshots and logs but nothing back yet and the documentation is seriously lacking, can anyone on here help me out before I have give in and go back to Crystal?


Viewing all articles
Browse latest Browse all 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>