Forum Discussion
Invalid connection credentials while adding data sources
Hi All,
I've installed and configured on-premise data gateway but when I try to adding data source (in this case an Excel file saved on my desktop) I get the below error details:
| Activity ID: | 6436b4ab-689e-7514-2ba6-5d86778a445c |
| Request ID: | f8dfb7d6-fe6d-a84a-7b64-6e15f044f282 |
| Cluster URI: | https://wabi-australia-southeast-redirect.analysis.windows.net |
| Status code: | 400 |
| Error Code: | DMTS_PublishDatasourceToClusterErrorCode |
| Time: | Wed Jun 06 2018 23:45:53 GMT+1000 (AUS Eastern Standard Time) |
| Version: | 13.0.5484.164 |
| Gateway1: | Invalid connection credentials. |
| Underlying error code: | -2147467259 |
| Underlying error message: | The credentials provided for the File source are invalid. (Source at c:\users\johnmatta\desktop\book1.xlsx.) |
| DM_ErrorDetailNameCode_UnderlyingHResult: | -2147467259 |
| Microsoft.Data.Mashup.CredentialError.DataSourceKind: | File |
| Microsoft.Data.Mashup.CredentialError.DataSourcePath: | c:\users\johnmatta\desktop\book1.xlsx |
| Microsoft.Data.Mashup.CredentialError.Reason: | AccessUnauthorized |
| Microsoft.Data.Mashup.MashupSecurityException.DataSources: | [{"kind":"File","path":"c:\\users\\johnmatta\\desktop\\book1.xlsx"}] |
| Microsoft.Data.Mashup.MashupSecurityException.Reason: | AccessUnauthorized |
- Anonymous8 years ago
Johnmatta,
Do you install gateway in the same machine with your Excel file? Please make sure you enter correct user name and password when adding Excel data source, you can follow the guide in the similar thread below.
https://community.powerbi.com/t5/Integrations-with-Files-and/Scheduled-refresh-for-excel-file-with-on-premise-gateway/td-p/104363
Regards,
Lydia
8 Replies
- AnonymousNot applicable
Johnmatta,
Do you install gateway in the same machine with your Excel file? Please make sure you enter correct user name and password when adding Excel data source, you can follow the guide in the similar thread below.
https://community.powerbi.com/t5/Integrations-with-Files-and/Scheduled-refresh-for-excel-file-with-on-premise-gateway/td-p/104363
Regards,
Lydia- JohnmattaAdvocate IThanks Lydia for your response.
Yes, I did install the gateway on the same machine that the Excel file is located.
I feel that the issue is in the username as the post you've attached refers to putting domain\username and my laptop is not on any domain.- JohnmattaAdvocate I
Hi Lydia,
I've found my domain\user and the datat source added successfully but when I tried to refresh the data I got the floowing message: