2011-05-10 16 views
2

SSRS的表單身份驗證已在我的開發框中成功配置,並且我可以使用我的安全框架憑證成功登錄到報表管理器和報表生成器。SSRS表單身份驗證:無法從Visual Studio 2010添加ReportExecution2005.asmx的Web服務引用

現在我想製作一個控制檯應用程序,它將使用SSRS Web服務。但是我無法在控制檯應用程序項目中添加ReportExecution2005.asmx的引用。

我得到的Visual Studio


在URL http://servername/ReportServer/ReportExecution2005.asmx文檔未被識別爲已知的文檔類型下面的錯誤。

從每個已知類型的錯誤消息可能會幫助您解決問題:

  • 從XML架構「的報告是「一個W3C XML架構的根元素應該是和它的命名空間

當添加參考,在拉琴我可以看到以下錯誤作爲響應:


'/ ReportServer'應用程序中的服務器錯誤。

 <h2> <i>Access is denied.</i> </h2></span> 

     <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "> 

     <b> Description: </b>An error occurred while accessing the resources required to serve this request. The server may not be configured for access to the requested URL. 

     <b> Error message 401.2.: </b>Unauthorized: Logon failed due to server configuration. &nbsp;Verify that you have permission to view this directory or page based on the credentials you supplied and the authentication methods enabled on the Web server. &nbsp;Contact the Web server's administrator for additional assistance.<br><br> 

     <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.5 

回答

0

我沒能複製運行SSRS 2005。但是,將基準時,請嘗試單擊前進按鈕連接到我的開發服務器在Visual Studio 2010中的問題。在下一個屏幕中,單擊對話框底部的「添加Web引用...」按鈕。也許這種方法對你更好。

相關問題