Hello All,
We have two 2016 servers - report server and database server that we upgraded from 2008 R2. We are trying to transfer reports to the 2016 prod server using Visual Studio and /or RSScripter and it is not working.
Note: We are able to manually upload reports by clicking the "upload" button in SSRS portal.
It is throwing the below error:
Could not connect to the report server https://servername1/ReportServer. Verify that the TargetServerURL is valid and that you have the correct permissions to connect to the report server. (Microsoft SQL Server Report Designer)
The underlying connection was closed: An unexpected error occurred on a send. (System.Web.Services)
------------------------------
Program Location:
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
at ReportServiceClient2010.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.SqlServer.ReportingServices2010.ReportingService2010.ListItemTypes()
at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.<ListItemTypes>b__10f()
at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol)
at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.ListItemTypes()
at ReportServiceClient2010.CheckAuthenticated()
at Microsoft.ReportDesigner.Project.ReportClientManager.DetectEndpointAndAuthenticate(String url, ICredentials credentials, String& authCookieName, Cookie& authCookie, EndpointType& endpointType)
at Microsoft.ReportDesigner.Project.ReportClientManager.DetectEndpointAndAuthenticate(String url, ConnectionProperties& connectionProperties)
at Microsoft.ReportDesigner.Project.ReportClientManager.GetCredentials(String url, CancelFlag cancelFlag)
at Microsoft.ReportDesigner.Project.ReportProjectDeployer.PrepareDeploy()
I checked lot of posts in the forums and I am not able to resolve this. The targetURL is pointing to webservices URL in the report server config file. I am able to access the https://servername1/ReportServer URL in the browser.
The most interesting thing is it is working in DEV, when I give the DEV server name, it works with no issues. We checked the certificates and everything seems to be correct.
Additionally, the secureconnectionlevel is set to 0, please see below, though we are using SSL.
<Add Key="SecureConnectionLevel" Value="0"/>
If we change to 2, we are unable to upload reports.
Also, I did check whether the right configuration environment was used in Visual Studio, and it is correct.
I don't know why we are unable to transfer reports to PROD via Visual Studio or RS Scripter.
Any help is very appreciated.