Forum Discussion
'Sap.Data.SQLAnywhere.SAConnection' threw an exception.
Desktop version is ok, error appears only on web service trying to setup shedule after press sign in button on source.
Failed to update data source credentials: An error happened while reading data from the provider: 'The type initializer for 'Sap.Data.SQLAnywhere.SAConnection' threw an exception.
How to fix it?
Analitika , have setup gateway correctly if needed , is it giving error on the gateway
Gateway
https://radacad.com/the-power-bi-gateway-all-you-need-to-know
https://docs.microsoft.com/en-us/power-bi/connect-data/service-gateway-onpremIssue on gateway
https://docs.microsoft.com/en-us/power-bi/connect-data/service-gateway-onprem-tshoot
2 Replies
- amitchandak
Super User
Analitika , have setup gateway correctly if needed , is it giving error on the gateway
Gateway
https://radacad.com/the-power-bi-gateway-all-you-need-to-know
https://docs.microsoft.com/en-us/power-bi/connect-data/service-gateway-onpremIssue on gateway
https://docs.microsoft.com/en-us/power-bi/connect-data/service-gateway-onprem-tshoot- KanthFrequent Visitor
Hello, I am also having the same issue. Our gateway has been up and running from past few years but when I try to create a Sybase connection I am getting the below error.
An error happened while reading data from the provider: 'The type initializer for 'Sap.Data.SQLAnywhere.SAConnection' threw an exception.'
Could you please help me with this?