cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Unexpected error could not lead data model

I am getting this error when I try got connect to a SQL Server database via direct query. Any idea why this would be happening?

 

*could not load the schema for the database model

5 REPLIES 5
Community Support Team
Community Support Team

Re: Unexpected error could not lead data model

Hi @Anonymous,

 

Can you provide more detailed error message?

 

Can you connect to SQL Server Database successfully using import mode? Test whether you can reach the database in SSMS with the same credential.

 

Please check this article to troubleshooting such a problem.

 

Regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Re: Unexpected error could not lead data model

It appears the issue is that the database is on-premises. An on-premises gateway would be needed in order to connect to it.

Community Support Team
Community Support Team

Re: Unexpected error could not lead data model

Hi @Anonymous,

 

So, above problem is related to schedule refresh, right?

 

Now, have you resolved the problem? If yes, would you please accept your sharing solution as an answer so that it can benefit more users having similar concern?

 

Thanks,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Re: Unexpected error could not lead data model

No, it is not related to scheduled refresh, it is just trying to load the data. Would the data being on-premises not be an issue for this?

Highlighted
Community Support Team
Community Support Team

Re: Unexpected error could not lead data model

Hi @Anonymous,

 

To load data from on-premises data source, there is no need to configure data gateway. A gateway is required to set scheduled refresh.

 

Can you connect to SQL Server Database successfully using import mode? Test whether you can reach the database in SSMS with the same credential.

 

Regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.