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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
alfredomar
Regular Visitor

PowerBi SQL server conection

Hi,

 

I try to connect powerbi desktop to my sql network server(2008)( and always appear the next error:

 

Detalles: "Se produjo un error al leer datos desde el proveedor: 'No se puede cargar el archivo o ensamblado 'System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' ni una de sus dependencias. No se ha proporcionado el nivel de representación necesario o el nivel de representación no es válido. (Excepción de HRESULT: 0x80070542)'"

 

And not connect. The server works OK, because I use it for a lot apps.

 

How is the problem?

 

Thanks!!

1 ACCEPTED SOLUTION
alfredomar
Regular Visitor

Hello!!

 

I try to connect the desktop to my network SQL server 2008 and always appear the next error:

 

Detalles: "Se produjo un error al leer datos desde el proveedor: 'No se puede cargar el archivo o ensamblado 'System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' ni una de sus dependencias. No se ha proporcionado el nivel de representación necesario o el nivel de representación no es válido. (Excepción de HRESULT: 0x80070542)'"

 

I try the windows and sql server login, and always the same.

 

The server works ok with other apps.

 

What can I do?

View solution in original post

5 REPLIES 5
losroussva
Regular Visitor

I solved it by changing my user time from public to sysadmin

 

Anonymous
Not applicable

Hi!!

Try enter Power BI by left click as "Execute as Administrator", 

Ejecutar_como_admi.png

 

Open Edit queries => Choose every table and check that the source is the same for SQL Server (Server, Database name, port..):

 

Problem_update.png

 

It happend to me and that was the solution.

The Table 1 was:

= Sql.Database("SBMDEAGSQL04,1454", "DW_DDS")

 

The Table 2 was:

= Sql.Database("SBMDEAGSQL04", "DW_DDS")

 

I added the port 1454.

Hi,

 

Thanks for the information, for me is working the query executing with elevated rights "Execute as Administrator".

The issue is that i don't have any diference on the tables between "Execute as Administrator" vs Normal...

 

the query only works when I executed as Administrator and I guees it will not work from a PBI Report server.

 

Thanks,

alfredomar
Regular Visitor

Hello!!

 

I try to connect the desktop to my network SQL server 2008 and always appear the next error:

 

Detalles: "Se produjo un error al leer datos desde el proveedor: 'No se puede cargar el archivo o ensamblado 'System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' ni una de sus dependencias. No se ha proporcionado el nivel de representación necesario o el nivel de representación no es válido. (Excepción de HRESULT: 0x80070542)'"

 

I try the windows and sql server login, and always the same.

 

The server works ok with other apps.

 

What can I do?

Anonymous
Not applicable

Hi @alfredomar,

 

Based on error message,the issue seems related to windows .net framework package. Please re-install suitable versions and try again.

Microsoft .NET Framework Repair Tool

 

Regards,

Xiaoxion Sheng

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors