Cannot create a connection to data source Error (rsErrorOpeningConnection) in SSRS 2016

Procedure 1:

1.Start Management Studio and connect to Report Server Instance.
2.Right click on the ReportServer Instance and Select Properties
3.Click Advanced
4.In EnableRemoteErrors, select True.
5.Click OK.

Procedure 2:

1. Create a text file and copy the following script into the file.

Public Sub Main() 
  Dim P As New [Property]() 
  P.Name = "EnableRemoteErrors" 
  P.Value = True 
  Dim Properties(0) As [Property] 
  Properties(0) = P 
  Try 
    rs.SetSystemProperties(Properties) 
    Console.WriteLine("Remote errors enabled.") 
  Catch SE As SoapException 
    Console.WriteLine(SE.Detail.OuterXml) 
  End Try 
End Sub

2. Save the file as EnableRemoteErrors.rss.
3. Click Start, point to Run, type cmd, and click OK to open a command prompt window.
4. Navigate to the directory that contains the .rss file you just created.
5. Type the following command line, replacing servername with the actual name of your server:
rs -i EnableRemoteErrors.rss -s http://servername/ReportServer

Comments

  1. Great article,Thank you for sharing this awesome Post.
    Keep updating....

    MSBI Course

    ReplyDelete
  2. Thank you so much for throwing light on such an important topic, not sure if you are interested in 3rd party product but ZappySys has very easy solution.
    Link here"

    Powerbi Read Soap

    ReplyDelete

Post a Comment

Hi User,
Thanks for visiting My Blog and please provide your valuable feedback and subscribe for more updates. Please don't post any spam content or comments.
Thank You

Popular Posts

Failed to execute the package or element. Build errors were encountered

Restore of database 'DataBase_Name' failed. (Microsoft.SqlServer.Management.RelationalEngineTasks)

Cannot convert "Column" between a unicode and a non-unicode string data types in SSIS