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
Microsoft
Microsoft

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.

Microsoft
Microsoft

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?

Microsoft
Microsoft

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.

Helpful resources

Announcements
Announcing the New Spanish Forum

Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

April 2020 Community Highlights

April 2020 Community Highlights

Info on our Super Users, MBAS content and badges, and updates to our support articles. - Read the full Community Highlights.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

Top Solution Authors
Top Kudoed Authors