具有有效报告ID的ReportingServiceInvalidReportId [英] ReportingServiceInvalidReportId with a valid report id

查看:64
本文介绍了具有有效报告ID的ReportingServiceInvalidReportId的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我对PollGenerateReport有疑问。在过去的几天里,我收到消息
"指定的报告ID无效。请使用有效的报告ID。"。我使用的报告ID来自SubmitGenerateReport。当我查看id时,报告ID应该有效,它看起来与之前请求的报告完全相同。我发送的
soap消息看起来像这样,应该可以正常工作。


< SOAP_ENV:Envelope xmlns:SOAP_ENV =" http://schemas.xmlsoap.org/soap /信封/"的xmlns:NS1 = QUOT; HTTPS://adcenter.microsoft.com/v8" >

  < SOAP_ENV:标题>

    < ns1:DeveloperToken> {DevToken}< / ns1:DeveloperToken>

    < ns1:UserName> {USERNAME}< / ns1:UserName>

    < ns1:密码> {密码}< / ns1:密码>

    < ns1:CustomerAccountId> {CustomerAccountId}< / ns1:CustomerAccountId>

    < ns1:CustomerId> {CustomerId}< / ns1:CustomerId>

  < / SOAP_ENV:标题>

  < SOAP_ENV:正文>

    < ns1:PollGenerateReportRequest xmlns =" https://adcenter.microsoft.com/v8">

      < ns1:ReportRequestId> {xxxxxxxxx}< / ns1:ReportRequestId>

    < / ns1:PollGenerateReportRequest>

  < / SOAP_ENV:正文>

< / SOAP_ENV:信封>


xxxxxxxxx仅为数字。为什么我收到无效的报告ID错误?可能是SubmitGenerateReport之后的请求很快发生了吗?


Jorik Kraaikamp

解决方案

嗨Jorik,


您可以尝试的几件事情相当简单且值得花时间:



  • 检查PollGenerateReport的UserName是否与SubmitGenerateReport中的UserName不同。换句话说,除非您是提交报告的用户,否则您不能轮询报告。
  • 尝试等待60秒查看是否有效

如果这确实有效,那么下一个最好的事情就是通过支持提交两个SOAP请求。最佳实践如下:



http://msdn.microsoft.com/en-US/library/aa983155.aspx#troubleshooting

 

我希望这有帮助,


Adi( MSFT)


Hello,

I have a problem with PollGenerateReport. In the last few days I get the message "The specified report id is invalid. Please use a valid report id.". The report id that I use comes from the SubmitGenerateReport. The report id should work when I look at the id it looks exactly the same as a report requested before. The soap message that I send looks like this and should work.

<SOAP_ENV:Envelope xmlns:SOAP_ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://adcenter.microsoft.com/v8" >
  <SOAP_ENV:Header>
    <ns1:DeveloperToken>{DevToken}</ns1:DeveloperToken>
    <ns1:UserName>{USERNAME}</ns1:UserName>
    <ns1:Password>{password}</ns1:Password>
    <ns1:CustomerAccountId>{CustomerAccountId}</ns1:CustomerAccountId>
    <ns1:CustomerId>{CustomerId}</ns1:CustomerId>
  </SOAP_ENV:Header>
  <SOAP_ENV:Body>
    <ns1:PollGenerateReportRequest xmlns="https://adcenter.microsoft.com/v8">
      <ns1:ReportRequestId>{xxxxxxxxx}</ns1:ReportRequestId>
    </ns1:PollGenerateReportRequest>
  </SOAP_ENV:Body>
</SOAP_ENV:Envelope>

The xxxxxxxxx are numbers only. Why do I get the invalid report id error? could it be that the request after the SubmitGenerateReport happens to quickly?

Jorik Kraaikamp

解决方案

Hi Jorik,

A couple of things you can try, which are fairly simple and worth your time are:

  • Check if UserName for PollGenerateReport differs from UserName in SubmitGenerateReport. In other words you may not poll for a report unless you are the user who submitted it.
  • Try waiting 60 seconds to see if it works

If this does work, the next best thing is to have your submit both SOAP requests via support. Best practices are here:

http://msdn.microsoft.com/en-US/library/aa983155.aspx#troubleshooting
 
I hope this helps,

Adi (MSFT)


这篇关于具有有效报告ID的ReportingServiceInvalidReportId的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆