开发者

Error when calling Render method on reporting services 2008

开发者 https://www.devze.com 2022-12-15 04:07 出处:网络
I\'ve moved my web application to a new server, when it calls the render method on the reporting services 2008 web service it brings back the error \"Client found response content type of \'\', but ex

I've moved my web application to a new server, when it calls the render method on the reporting services 2008 web service it brings back the error "Client found response content type of '', but expected 'text/xml'. The request failed with an empty response". It works fine on my development machine. Does anyone know what 开发者_C百科might be causing this?

Many thanks, Chris.


Microsoft, in their wisdom have completely changed how this works now. You'll need to add a new reference to some other service at ReportServer/reportexecution2005.asmx.

From here you can create ReportExecutionService object; this contains a Render method you can use. Don't expect your pain and misery to stop there though, oh no. The list of arguments it accepts are different too, so you'll need to rethink that as well.

Cheers Microsoft, thanks for keeping our lives simple, and trying to maintain some form a compatibility between release. As you might have guessed, I've been ripping hair because of this. I would like to meet the individual who dreamed up this craziness.

Anyway... hope this helps.

Paul

0

精彩评论

暂无评论...
验证码 换一张
取 消