cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

ODBC data sources connecting to AS400 - Sudden failures after working for a long time.

Data source error:{"error":{"code":"DM_GWPipeline_Gateway_MashupDataAccessError","pbi.error":{"code":"DM_GWPipeline_Gateway_MashupDataAccessError","parameters":{},"details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorCode","detail":{"type":1,"value":"-2147467259"}},{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"ODBC: ERROR [42000] [IBM][System i

This is the error. I get.

 

 

 

Access ODBC Driver][DB2 for i5/OS]SQL0104 - Token . was not valid. Valid tokens: FOR USE SKIP WAIT WITH FETCH LIMIT ORDER UNION EXCEPT OFFSET."}},{"code":"DM_ErrorDetailNameCode_UnderlyingHResult","detail":{"type":1,"value":"-2147467259"}},{"code":"Microsoft.Data.Mashup.ValueError.DataSourceKind","detail":{"type":1,"value":"Odbc"}},{"code":"Microsoft.Data.Mashup.ValueError.DataSourcePath","detail":{"type":1,"value":"dsn=CAMBRO400"}},{"code":"Microsoft.Data.Mashup.ValueError.OdbcErrors","detail":{"type":1,"value":"#table({\"SQLState\", \"NativeError\", \"Message\"}, {})"}},{"code":"Microsoft.Data.Mashup.ValueError.Reason","detail":{"type":1,"value":"DataSource.Error"}}],"exceptionCulprit":1}}} Table: DimItemMaster.Cluster URI:WABI-WEST-US-redirect.analysis.windows.netActivity ID:4242297b-6b3f-4f20-8d4c-14c20c5ce63cRequest ID:c67429c9-0f33-4372-84e3-99908f4401c3Time:2020-07-02 12:45:45Z

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: ODBC data sources connecting to AS400 - Sudden failures after working for a long time.

@anadavalos ,

 

Have you installed the latest ODBC driver for your data source? Please refer to: https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-connect-using-generic-interfaces#data... 

Also make sure the credentials you input in power bi service is valid.

 

Regards,

Jimmy Tao

View solution in original post

4 REPLIES 4
Highlighted
Helper II
Helper II

Re: ODBC data sources connecting to AS400 - Sudden failures after working for a long time.

Hi @anadavalos 

 

I also faced this issue. And resolved by re-enter DB UserID & DB pwd in Gateway.

 

Kind Regards

Ashwani

Highlighted
Frequent Visitor

Re: ODBC data sources connecting to AS400 - Sudden failures after working for a long time.

Hello @Ashu2021 

I am signed in to PBI service but with so many hidden pages. How do I sined in to Gateway. I am scheduling the refresh from scratch so I must be signed in.?

 

Thanks

Highlighted
Helper II
Helper II

Re: ODBC data sources connecting to AS400 - Sudden failures after working for a long time.

Hi @anadavalos 

 

Go to right top corner, there you will get 3 dots, then choose "Setting -> Manage Gateway".

 

There, please re-enter the DB credentials.

 

Kind Regards

Ashwani

Highlighted
Community Support
Community Support

Re: ODBC data sources connecting to AS400 - Sudden failures after working for a long time.

@anadavalos ,

 

Have you installed the latest ODBC driver for your data source? Please refer to: https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-connect-using-generic-interfaces#data... 

Also make sure the credentials you input in power bi service is valid.

 

Regards,

Jimmy Tao

View solution in original post

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Upcoming Events

Upcoming Events

Wondering what events you could join or have an event to promote yourself? Check out our Upcoming Events.

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

We are thrilled to announce we will begin running a monthly webinar series named Power BI Dev Camp.

Top Solution Authors
Top Kudoed Authors