cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Scheduled Refresh Error

Hi,

 

Running 15.0.2.378 on windows 2012.  The server is configured with https to name like myservice.dev.mydomain.  

 

When a user tries to schedule a data refresh, they get an error.  Here is some logging.  Thanks!

 

2018-04-04 09:58:06.0382|INFO|11|Received request POST /api/v2.0/CacheRefreshPlans| RequestID = s_70829b83-9912-483c-9d70-a6a8003b7d9d 
2018-04-04 09:58:07.6320|ERROR|11|OData exception occurred: Microsoft.SqlServer.ReportingServices2010.RSConnection2010+MissingEndpointException: The attempt to connect to the report server failed.  Check your connection information and that the report server is a compatible version. ---> System.InvalidOperationException: Client found response content type of '', but expected 'text/xml'.
The request failed with an empty response.
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SetConnectionProtocol()
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol)
   --- End of inner exception stack trace ---
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol)
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.CreateCacheRefreshPlan(String itemPath, String description, String eventType, String matchData, ParameterValue[] parameters)
   at Microsoft.ReportingServices.Portal.Services.SoapProxy.SoapRS2010Proxy.<>c__DisplayClass32.<CreateCacheRefreshPlan>b__31()
   at Microsoft.ReportingServices.Portal.Services.SoapProxy.SoapAuthenticationHelper.ExecuteWithWindowsAuth[TReturn](SoapHttpClientProtocol soapClient, IPrincipal userPrincipal, Func`1 func)
   at Microsoft.ReportingServices.Portal.Repositories.SubscriptionService.CreateCacheRefreshPlan(IPrincipal userPrincipal, CacheRefreshPlan cacherefreshPlan)
   at Microsoft.ReportingServices.Portal.ODataWebApi.V2.Controllers.CacheRefreshPlansController.AddEntity(CacheRefreshPlan entity)
   at Microsoft.ReportingServices.Portal.ODataWebApi.Controllers.Reflection.EntitySetReflectionODataController`1.Post(ODataPath oDataPath, T value)
   at lambda_method(Closure , Object , Object[] )
   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)
   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
--- 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 System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.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 System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.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 System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext().| RequestID = s_70829b83-9912-483c-9d70-a6a8003b7d9d 
2018-04-04 09:58:07.6476|INFO|6|Sending response. Response code DOMAIN\User 500, Elapsed time 0:00:01.6050009| RequestID = s_70829b83-9912-483c-9d70-a6a8003b7d9d 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Helper I
Helper I

Re: Scheduled Refresh Error

While working with a helpful Microsoft employee, we found an entry in a log file that permissions were needed on a subdirectory inside the powerbi dir.  Once this was granted to the service account things are working.

View solution in original post

17 REPLIES 17
Highlighted
Community Champion
Community Champion

Re: Scheduled Refresh Error

Is the same dataset able to be refreshed using Power BI desktop?

Highlighted
Helper I
Helper I

Re: Scheduled Refresh Error

Yes, the refresh works on PowerBI Desktop.  

Highlighted
Frequent Visitor

Re: Scheduled Refresh Error

2018-04-09_8-01-35.png



Any ideas? I have attached the error we get. This was not happening in the Oct 2017 release. We are having this issue with the March 2018 version. 

Highlighted
Impactful Individual
Impactful Individual

Re: Scheduled Refresh Error

You might be able to get some detail on the underlying error using a query similar to the one mentioned in this post

 

 It might at least point you in the right direction. Trying to daignose this stuff form the web log files is just painful.

Highlighted
Resolver I
Resolver I

Re: Scheduled Refresh Error

i had 4 times this problem. two times i just restarted report server, and 2 times it was about the sql data access problems.  some data for bi user had no acces with tables thus couldnt be refreshed. 

Highlighted
Helper I
Helper I

Re: Scheduled Refresh Error

Thanks for the suggestion.  The subscription is not able to be created, so I don't think any history ends up in the table.  I had to modify that script for 2012 as it doesn't have any JSON functions, but there were no data refreshes with a LastStatus <> 'Completed 

data refresh'.

Helper I
Helper I

Re: Scheduled Refresh Error

Giorgilomidze, Thanks for the ideas.  I restared the service and tested the dataset, which is connecting to an on-prem data source and testing successfully. 

Highlighted
Helper I
Helper I

Re: Scheduled Refresh Error

We tested this on another power bi report server and are getting the same behavior.  Looking for a fix soon, otherwise we will have to reinstall the old version.

Highlighted
Power BI Team
Power BI Team

Re: Scheduled Refresh Error

Hey @samgreene1, couple questions for you:

 

1. Is this a clean install of report server or are you upgrading/migrating a previous install?

2. It wasn't clear from the post are you getting the error when you try to create the schedule or when you try to execute and existing one?

3. Are you able to share with me the RSPortal_XXXXX.log with me view private message?

4. This did work previously with the Oct. release of PBIRS?

 

Also one thing you can try is create a URL reservation that is not https and see if you get the error there. Thanks!

 

Matt M.

Helpful resources

Announcements
May 2020 Community Highlights

May 2020 Community Highlights

It’s time for another PBI Community recap!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Galleries

Galleries

Looking for inspiration on how to present your data? Need instructional videos? Check out our Galleries!

Top Solution Authors
Top Kudoed Authors