Created
September 8, 2011 03:16
-
-
Save fraga/1202525 to your computer and use it in GitHub Desktop.
Enabling remote errors in SRSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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