Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
v-yulgu-msft
Employee
Employee

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

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

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

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?

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.