2011-09-02 87 views
0

我有一個報告,該報告具有以下屬性報表參數:非查詢參數 - 不同的行爲的SQL Server 2005,SQL Server 2008 R2的

  • 隱藏
  • 允許空值
  • 不被查詢
  • 默認值(非查詢):DD/MM/YYYY

報告使用ReportExecution2005.asmx Web服務開始。

  • 在SQL Server 2005上,Web服務運行報告沒有問題。
  • 在SQL Server 2008 R2中,Web服務將返回一個錯誤:

This report requires a default or user-defined value for the report parameter 'datumformaat'. To run or subscribe to this report, you must provide a parameter value.

這個問題能以某種方式固定,具有相同的行爲與SQL Server 2005?

+0

想我找到了,在2008年SQL,此參數有一個NULL值,這是不正確當然...的 – rekna

回答

0

參數包含空值,這是導致錯誤