Using rs.exe with forms authentication
I've implemented a membership provider and added it to Reporting Services. It works well from the user interface, but I am unclear on how to authenticate using rs.exe. When I run it with the trace option (-t), I get this back:System.Exception: Could not connect to server: http://stsstg8642/reportserver/ReportService2005.asmx ---> System.Net.WebException: The request failed with the error message:--<html><head><title>Object moved</title></head><body><h2>Object moved to <a href="/ReportServer/logon.aspx?ReturnUrl=%2freportserver%2fReportService2005.asmx">here</a>.</h2></body></html>--. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Microsoft.SqlServer.ReportingServices2005.ReportingService2005.ListSecureMethods() at Microsoft.ReportingServices.ScriptHost.Management2005Endpoint.PingService(String url, String userName, String password, String domain, Int32 timeout) at Microsoft.ReportingServices.ScriptHost.ScriptHost.DetermineServerUrlSecurity() --- End of inner exception stack trace --- at Microsoft.ReportingServices.ScriptHost.ScriptHost.DetermineServerUrlSecurity() at Microsoft.ReportingServices.ScriptHost.ScriptHost.InstanceMain() at Microsoft.ReportingServices.BaseCmdLine.CommandLineMain(String[] args, BaseCmdLine instance)
January 30th, 2008 10:54pm

I am receiving the exact same error when using the rs.exe application with forms authentication. Does anyone know how to fix this?
Free Windows Admin Tool Kit Click here and download it now
December 8th, 2009 11:31am

I had to rebuild rs.exe to work with Forms authentication. Hopefully this helps someone out there. http://c--shark.blogspot.com/2010/06/sql-server-2008-reporting-services.html
June 15th, 2010 9:47am

There is a version of rs.exe that works with custom forms authentication. It's called rs1.exe - works great.
Free Windows Admin Tool Kit Click here and download it now
July 27th, 2012 5:22pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics