Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I logged into my lap from my ad account (####\KavyaD) and login in to power bi using the same account. but due to a security concern, we have separate account to login into servers (####\KavyaDAU) . old server is ##.###.###.209 and recently bought a new server ##.###.###.6. i can go to remote desktop connection and log into the server and see the databases using ssms. and to access the server from local machine, i run the ssms by run as different user and use my KavyaDAU account to login. and i login to power bi using my ad account (KavyaD) and when i select get data and give the server ip address as ##.###.###.209, it connects. but when i add ##.###.###.6, it does not connect. gives an error saying " We encounted an error while trying to connect. Details: "Microsoft SQL: The target principal name is incorrect. Cannot generate SSPI context.". but it works for 209. then i tried login to ssms from my local machine by giving run as different user and gave credentials of my KavyaDAU account. that works for 209 but not works for 6. So there's a issue in server side not from power bi side. What should i do?
Solved! Go to Solution.
Hi @Kavi_9907 ,
Thanks for sharing the update.
The error you are now seeing "Loading assembly file 'System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed for data source type 'SQL'" is usually related to missing or corrupted .NET Framework components that Power BI depends on. You can try the following:
Ensure that the .NET Framework is properly installed and up to date on your machine. Repair or reinstall the .NET Framework if required.
Microsoft provides .Repair the .NET Framework - .NET Framework | Microsoft Learn.
.NET Framework & Windows OS versions - .NET Framework | Microsoft Learn
Make sure Windows and Power BI Desktop are updated to the latest versions.
Clear saved data source credentials from Data Source Settings -> Edit Permissions, then re-enter the SQL credentials.
If the issue persists, try reinstalling Power BI Desktop after repairing .NET.
Similar issue threads:
Solved: Getting Connection error while connecting SQL Serv... - Microsoft Fabric Community
Could not load file or assembly 'System.Enterprise... - Microsoft Fabric Community
Hope this helps. Please reach out for further assistance.
Thank you.
Hi @Kavi_9907 ,
Just checking in to see if you query is resolved and if any responses were helpful.
Otherwise, feel free to reach out for further assistance.
Thank you.
now database works when i open it through ssms seperately but when i import data into power bi, it gets an error.
"Loading assembly file 'System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed for data source type 'SQL'"
Hi @Kavi_9907 ,
Thanks for sharing the update.
The error you are now seeing "Loading assembly file 'System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed for data source type 'SQL'" is usually related to missing or corrupted .NET Framework components that Power BI depends on. You can try the following:
Ensure that the .NET Framework is properly installed and up to date on your machine. Repair or reinstall the .NET Framework if required.
Microsoft provides .Repair the .NET Framework - .NET Framework | Microsoft Learn.
.NET Framework & Windows OS versions - .NET Framework | Microsoft Learn
Make sure Windows and Power BI Desktop are updated to the latest versions.
Clear saved data source credentials from Data Source Settings -> Edit Permissions, then re-enter the SQL credentials.
If the issue persists, try reinstalling Power BI Desktop after repairing .NET.
Similar issue threads:
Solved: Getting Connection error while connecting SQL Serv... - Microsoft Fabric Community
Could not load file or assembly 'System.Enterprise... - Microsoft Fabric Community
Hope this helps. Please reach out for further assistance.
Thank you.
Hi @Kavi_9907 ,
Just wanted to check if the response provided was helpful. If further assistance is needed, please reach out.
Thank you.
Hi @Kavi_9907 ,
We wanted to kindly follow up regarding your query. If you need any further assistance, please reach out.
Thank you.
Hi @Kavi_9907 ,
Thanks for reaching out to Microsoft Fabric Community and sharing the details.
The error you are seeing is a Kerberos-related issue that usually occurs with SQL Server authentication.
You can try these steps:
First, update the server name in Data Source Settings if the SQL Server’s IP or hostname has changed, and check if the connection works.
If that doesn’t resolve it, go to Data Source Settings -> Edit Permissions -> Credentials -> Edit, switch to Database, and re-enter the SQL credentials for the affected database.
If the issue still persists, refresh both the server and database credentials instead of only updating the names.
Similar discussions:
ERRORDetails: "Microsoft SQL: The target principal... - Microsoft Fabric Community
Microsoft SQL: The target principal name is incorr... - Microsoft Fabric Community
Hope this helps. Please reach out for further assistance.
Thank you.
Hi @Kavi_9907 ,
Just wanted to check if the response provided was helpful. If further assistance is needed, please reach out.
Thank you.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Fabric update to learn about new features.