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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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