Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi everyone I have Power BI Report server, and power bi desktop for RS (May 2024) installed. I tried to create very first report using Direct Query to a SQL Server database. It works normally in Power BI Desktop, but when I open it from Power BI Report Server, it returned error related to Analysis Services
We couldn't connect to the Analysis Services server. Make sure you've entered the connection string correctly.
Request ID 46c3c998-4e49-568a-9440-538cddde9124
TimeTue Jun 25 2024 09:22:20 GMT-0400 (Eastern Daylight Time)
Service version/powerbi/libs
The detail log here:
2024-06-25 09:22:19.8493|INFO|21|Received request POST /api/explore/reports/3642b2a5-d385-4d38-a5af-415dcb07f16b/conceptualschema| RequestID = 46c3c998-4e49-568a-9440-538cddde9124 ClientSessionID = 3ac90abb-67c9-437b-4029-8875fd901c7e
2024-06-25 09:22:19.9074|INFO|21|Received request GET /libs/images/fluentui-icons.svg| RequestID = s_70ed60ee-bfe0-4b1a-94cc-e2fab7ae4f62
2024-06-25 09:22:19.9526|ERROR|47|PBI.Win.DataExtensionException|ExceptionType:Microsoft.PowerBI.DataExtension.Contracts.DataExtensionException;DataExtensionErrorDetails:Details: ErrorCode=QuerySystemError, ProviderErrorCode=0xC112001B, ErrorSource=PowerBI, Message=Failed to get CSDL., HResult=0x80004005, Language=en-US, ProviderErrorMessage=[<ccon>[content removed]</ccon>], ProviderGenericMessage=[Errors in the high-level relational engine. . The exception was raised by the IDbConnection interface.], ErrorSourceOrigin=MsolapWrapper, OnPremErrorCode=, InnerErrorDetails=[Type=MsolapWrapper.MsolapWrapperException, Message=Failure encountered while getting schema];stackTrace: at Microsoft.PowerBI.DataExtension.Msolap.SchemaCommand.GetModelMetadata(String catalogName, String perspectiveName, String supportedVersion, TranslationsBehavior translationsBehavior)
at Microsoft.PowerBI.ReportingServicesHost.ModelMetadataProvider.<>c__DisplayClass10_0.<GetModelMetadata>b__0(IDbSchemaCommand command)
at Microsoft.PowerBI.ReportingServicesHost.ModelMetadataProvider.ExecuteSchemaCommand[T](ExploreHostDataSourceInfo dataSourceInfo, IDbConnectionPool connectionPool, IConnectionFactory connectionFactory, IConnectionUserImpersonator connectionUserImpersonator, QueryExecutionOptionsBase queryExecutionOptions, ITelemetryService telemetryService, Func`2 action, String failTelemetryMessage, ServiceErrorStatusCode statusCode, ExploreBaseEvent exploreEvent);message:GetModelMetadata;| RequestID = 46c3c998-4e49-568a-9440-538cddde9124 ClientSessionID = 3ac90abb-67c9-437b-4029-8875fd901c7e
2024-06-25 09:22:19.9526|ERROR|80|Failure in conceptualschema catalogObjectId=3642b2a5-d385-4d38-a5af-415dcb07f16b| RequestID = 46c3c998-4e49-568a-9440-538cddde9124 ClientSessionID = 3ac90abb-67c9-437b-4029-8875fd901c7e Microsoft.PowerBI.ReportingServicesHost.CannotRetrieveModelException: An error occurred while loading the model. Verify that the connection information is correct and that you have permissions to access the data source. ---> Microsoft.PowerBI.DataExtension.Contracts.DataExtensionException: Failed to get CSDL. ---> MsolapWrapper.MsolapWrapperException: Failure encountered while getting schema
at MsolapWrapper.Utils.ThrowErrorIfHrFailed(Int32 hr, String message)
at MsolapWrapper.CDbSchemaRowsetWrapper.ExecuteSchemaRowset(Guid schema, Object[] restrictions, PropertySetCollection propSets)
at MsolapWrapper.SchemaCommand.ExecuteReader(Guid schema, Object[] restrictions)
at MsolapWrapper.SchemaCommand.GetModelMetadata(Object[] restrictions)
at Microsoft.PowerBI.DataExtension.Msolap.SchemaCommand.GetModelMetadata(String catalogName, String perspectiveName, String supportedVersion, TranslationsBehavior translationsBehavior)
--- End of inner exception stack trace ---
at Microsoft.PowerBI.DataExtension.Msolap.SchemaCommand.GetModelMetadata(String catalogName, String perspectiveName, String supportedVersion, TranslationsBehavior translationsBehavior)
at Microsoft.PowerBI.ReportingServicesHost.ModelMetadataProvider.<>c__DisplayClass10_0.<GetModelMetadata>b__0(IDbSchemaCommand command)
at Microsoft.PowerBI.ReportingServicesHost.ModelMetadataProvider.ExecuteSchemaCommand[T](ExploreHostDataSourceInfo dataSourceInfo, IDbConnectionPool connectionPool, IConnectionFactory connectionFactory, IConnectionUserImpersonator connectionUserImpersonator, QueryExecutionOptionsBase queryExecutionOptions, ITelemetryService telemetryService, Func`2 action, String failTelemetryMessage, ServiceErrorStatusCode statusCode, ExploreBaseEvent exploreEvent)
--- End of inner exception stack trace ---
at Microsoft.PowerBI.ReportingServicesHost.ModelMetadataProvider.ExecuteSchemaCommand[T](ExploreHostDataSourceInfo dataSourceInfo, IDbConnectionPool connectionPool, IConnectionFactory connectionFactory, IConnectionUserImpersonator connectionUserImpersonator, QueryExecutionOptionsBase queryExecutionOptions, ITelemetryService telemetryService, Func`2 action, String failTelemetryMessage, ServiceErrorStatusCode statusCode, ExploreBaseEvent exploreEvent)
at Microsoft.PowerBI.ReportingServicesHost.ModelMetadataProvider.<>c__DisplayClass10_1.<GetModelMetadata>b__1(ExploreBaseEvent timedEvent)
at Microsoft.PowerBI.ReportingServicesHost.ExploreTelemetryService.<>c__DisplayClass4_0`1.<RunInActivity>b__0(ExploreBaseEvent activity)
at Microsoft.PowerBI.ReportingServicesHost.ExploreTelemetryService.RunInActivity(String activityName, Action`1 action)
at Microsoft.PowerBI.ReportingServicesHost.ExploreTelemetryService.RunInActivity[T](String activityName, Func`2 action)
at Microsoft.PowerBI.ReportingServicesHost.ModelMetadataProvider.GetModelMetadata(ModelMetadataRequest request)
at Microsoft.PowerBI.ReportServer.ExploreHost.RSPowerViewHandler.GetModelCSDL(String id, String maxModelMetadataVersion, IASConnectionInfo& asConnectionInfo)
at Microsoft.PowerBI.ReportServer.ExploreHost.RSPowerViewHandler.<>c__DisplayClass41_0.<GetOrAddModel>b__0()
at System.Lazy`1.CreateValue()
at System.Lazy`1.LazyInitValue()
at Microsoft.PowerBI.ReportServer.ExploreHost.RSModelCache.GetOrAddModel(ModelKey key, Func`1 modelInfoFunc)
at Microsoft.PowerBI.ReportServer.ExploreHost.RSPowerViewHandler.EnsureSession(String modelId)
at Microsoft.PowerBI.ExploreHost.ExploreClientHandlerBaseFlow.<RunAsync>b__9_0()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerBI.ExploreHost.ExploreClientHandlerBaseFlow.<RunAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerBI.ExploreHost.ExploreClient.<GetClientConceptualSchemaAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerBI.ReportServer.ExploreHost.RSExploreHost.<GetConceptualSchemaAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerBI.ReportServer.WebApi.PbiApi.PbiApiController.<GetConceptualSchemaAsync>d__25.MoveNext()
2024-06-25 09:22:19.9526|INFO|41|Sending response. Response code AMERICAS\Loc_Nguyen 200, Elapsed time 0:00:00.1049723| RequestID = 46c3c998-4e49-568a-9440-538cddde9124 ClientSessionID = 3ac90abb-67c9-437b-4029-8875fd901c7e
I tried to search the whole day, but found nothing. Please help.
Solved! Go to Solution.
Subject already covered in the following post.. Solved: Re: Issues regarding power bi report server - Microsoft Fabric Community
I think it will help you !
Fabien
Good afternoon,
I am still having issues trying to get access to the website. I log on and asked for access. http://colo-sql-rpt01/Reports/powerbi/Business_User_Group/Clinical_Analytics/UM/Provider%20Search/Pr...s logging on to Power BI Provider Search.
ๆๅจPower BI Server ๆๅกๅจ็็ฏๅขๅ้ไธญ่ฎพ็ฝฎ PBI_SQL_TRUSTED_SERVERS * ๏ผๆๅ่ฟ่ก
20240812 ๆดๆฐ๏ผ
1.ๅฆๆSql server ๆๅกๅจๅฏ็จไบๅ ๅฏ้พๆฅ๏ผๅจPQ้พๆฅๆฐๆฎๆบ้
็ฝฎไธบๅ ๅฏ๏ผ
2.ๅฆๆSql serverๆๅกๅจๆฒกๆๅฏ็จๅ ๅฏ้พๆฅ๏ผ้ฃไนๆ็
งๅคงไฝฌ็ๅปบ่ฎฎไธคๆก่ทฏ๏ผ
a.ไฟฎๆน้พๆฅๅญ็ฌฆไธฒ๏ผๆทปๅ โEncrypt=True;TrustServerCertificate=Trueโ ๏ผไฝๆฏ่ฟไธชๆๅฐ่ฏไบๅพๅคๆนๆณ๏ผๆฏๅฆๆฐๆฎๅบๅบๅฑ็ดๆฅไฟฎๆนๆฐๆฎๆบ๏ผPowerShell๏ผๅ็ซฏpostๅผบๅถไฟฎๆน๏ผ้ฝๆ ๆณๅฎๆ๏ผๅ ๆญค่ฟๆก่ทฏ่ตฐไธ้๏ผ
--ๆไธชไบบ็ๆต๏ผ่ฟไธชๅญ็ฌฆไธฒๅฟ
้กป้ๅฏน sql serverๅฏ็จไบๅ ๅฏ้พๆฅ็๏ผๆ็
งๆนๆก1่ตฐ๏ผๅฏไปฅ่ชๅจๆบๅธฆๆญคๅๆฐ๏ผๅฆๅๆๅทฅๆ ๆณไฟฎๆน๏ผ
b. ๆทปๅ ็ฏๅขๅ้็ๆนๆก๏ผ็ปไบ่ตฐ้ไบ๏ผ๏ผ
้่ฆๅจ็จๆทๅ็ณป็ปไธคไธช็บงๅซๆทปๅ ็ฏๅขๅ้๏ผPBI_SQL_TRUSTED_SERVERS๏ผ
--็จๆท๏ผไธๆฏ็ฎก็ๅ่ดฆๅท๏ผ่ฟไธช็จๆทๆ็นๆฎๆไน๏ผ๏ผๅบ่ฏฅไธบ่ฟไธช็้ขไธๅฏนๅบ็่ดฆๅท๏ผๆไปฅไฝ ้่ฆ็จ่ฟไธช่ดฆๅท็ปๅฝPower BI Report server ๆๅกๅจ๏ผ็ถๅๅจ่ฟไธช็จๆท่ดฆๅทไธ้
็ฝฎ็ฏๅขๅ้(ๆ่ฟ้ๆฏ:*****e\co_bi)ๅ
ณ้ฎไฟกๆฏ้่ไบ๏ผ่ฟๆฏไธไธชๅ่ดฆๅท๏ผๅฆๆไฝ ็จ็ๆฏ็ฎก็ๅ๏ผ้ฃๅฐฑ็จ็ฎก็ๅ่ดฆๅท๏ผๆ นๆฎ็ๅฎๆ
ๅตๅฎ๏ผ
--็ณป็ป็จๆท็ฏๅขๅ้็จๅ
ทๆ็ฎก็ๆ้็่ดฆๅท้
็ฝฎๅณๅฏ๏ผ
้
็ฝฎๅฆไธ๏ผๅพไป
ไพๅ่๏ผๆ่ฟ้็จ็ๆฏ็ฎก็ๅ่ดฆๅท๏ผไฝๆฏ็ๅฎ็ฏๅข่ฏท็จไธไธๆญฅ็็จๆท่ดฆๅท็ปๅฝ่ฟ่ก้
็ฝฎ็จๆทๅ้)
-- ็ฏๅขๅ้็ๅผ๏ผๅฏนๅบ็sql server ๆฐๆฎๅบ็hostname๏ผๅปบ่ฎฎไธ่ฆ็จIP๏ผ้่ฆๅไฝ ็ๆฅๅ็ๆฐๆฎๆบ้
็ฝฎไฟๆไธ่ดๅง๏ผ
ไธ่ฆ่ฟ้็จhostname๏ผๆฅๅๆบ้
็ฝฎไธบip๏ผ
ๅฅฝไบ๏ผ่ฟๅฐฑๆฏ้
็ฝฎ็ๅ
ณ้ฎ็น๏ผ
้
็ฝฎๅฎๅ๏ผ่ฎฐๅพ้ๅฏ็ต่๏ผๆๅกๅจ๏ผ๏ผ
็ถๅๅๅฐ่ฏ่ฎฟ้ฎๆฅๅ๏ผๆญๅไฝ ๏ผๅบ่ฏฅๆฏ้ไบใ
ๅฆๆๆ้ฎ้ข๏ผ
ไธญๅฝๆๅ่ฏทๅ ๅพฎไฟก๏ผ93636319๏ผ่็ณปๆใ
ๅ
ถๅฎไฝ ไปฌไธ็ด้ฝๆฒกๆๅฃฐๆไธไธชๅๆ๏ผไฝ ไปฌ็SQL SERVER ๆฏๅฆ้
็ฝฎไบๅ ๅฏ้พๆฅ๏ผ
ๆๆณๅคง้จๅๅบ้ฎ้ข็็จๆท๏ผSql serverๆฏๆฒกๆๅฏ็จๅ ๅฏ้พๆฅ็;
Hey All,
I'm using PBIRS (on premise). I've used the direct query method; data is refreshing at the backend, but visuals are not refreshing automatically; all I have to do is click the refresh button to refresh visuals manually; is this a PBIRS bug in the Jan 2023 version, or do I need to adjust my query to refresh visuals automatically?
Do you have any update on how to solve this one?
thanks
Subject already covered in the following post.. Solved: Re: Issues regarding power bi report server - Microsoft Fabric Community
I think it will help you !
Fabien
I just created a new system variable named PBI_SQL_TRUSTED_SERVERS and put the server as its value. I can do direct query to that SQL Server now.
I can't find where specifically i can perfom this , thanks in advance...
First find "Edit the system environment variables" from start menu
Then following steps below:
- Click on Environment Variables
- If there is nothing named PBI_SQL_TRUSTED_SERVERS , Click New and then put the name and servers
- If the variable is there, you can select it and hit click Edit...
Hope this help
You are right
and if you have multiable server seprate the names with COMMA (,)
Thanks a lot for sharing how to solve the problem.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 7 | |
| 4 | |
| 4 | |
| 4 | |
| 3 |