HTTP 301 error in SSRS

The application  is Windows Forms smart client using Windows version of Report Viewer control to display reports. Reports are configured to not use SSL and  are accessed using Custom Authentication using the URL http://myserver.com/reportserver (note it is not over SSL).

However there is a proxy server before the reports web server which redirects the URL to https://myserver.com/reportserver.

When I use browser and provide the URL http://myserver.com/reportserver, I see that it is automatically redirected to https://myserver.com/reportserver. I can see the list of reports and run them.

If I access the reports through the windows forms application, I get the error as follows

<v:shapetype coordsize="21600,21600" filled="f" id="_x0000_t75" o:preferrelative="t" o:spt="75" path="m@4@5l@4@11@9@11@9@5xe" stroked="f"><v:stroke joinstyle="miter"><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"> </v:f></v:formulas></v:stroke></v:shapetype>

Any help to solve this would be appreciated. <v:shapetype coordsize="21600,21600" filled="f" id="_x0000_t75" o:preferrelative="t" o:spt="75" path="m@4@5l@4@11@9@11@9@5xe" stroked="f"><v:stroke joinstyle="miter"><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f></v:formulas></v:stroke></v:shapetype>

July 31st, 2015 9:39am

Hi biprisim,

This is issue is with the redirection. When you call the operation of the service you use HTTP POST but redirection results in HTTP GET to the new destination address. This is how HTTP protocol behaves. Can you post your generated url ?

Free Windows Admin Tool Kit Click here and download it now
August 1st, 2015 2:09am

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

Other recent topics Other recent topics