Skip to content

Instantly share code, notes, and snippets.

@fraga
Created September 8, 2011 03:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fraga/1202525 to your computer and use it in GitHub Desktop.
Save fraga/1202525 to your computer and use it in GitHub Desktop.
Enabling remote errors in SRSS
1) Put this code in a file called EnableRemoteErrors.rss
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) Run the following code in cmd
rs -i EnableRemoteErrors.rss -s http://servername/ReportServer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment