環境說明
- Windows Server 2003
- IIS 6.0
- SQL Server 2008 (10.0.xxxx)
排查步驟
- 檢查 Reporting Services Web Service URL 埠號
打開「Reporting Services Configuration Manager」→「Web Service URL」,確認 TCP Port 是否為 80。
- 避免 IIS 預設網站衝突
若 IIS 預設網站也佔用 80 埠,請停用該網站。
- 確認報表管理器與 Web Service URL 的用途區別
在 Configuration Manager 的 URLs 頁面可看到報表伺服器介面,可上傳報表檔案。但從 Visual Studio 2008 部署專案時,必須使用 Web Service URL,而非 Report Manager URL。
- 專案屬性設定關鍵點
Ucom.DataMining.AnalysisServices 專案:
- Server:SQL Server 2008 實例名稱
- Database:目標資料庫名稱
Ucom.DataMining.ReportServer 專案:
- TargetReportFolder:自訂資料夾名稱
- TargetServerUrl:填入 Configuration Manager 中「Web Service URL」下的「Report Server Web Service URLs」位址
核心原因
部署時若使用 Report Manager URL 會導致驗證提示帳號密碼,改用 Web Service URL 即可解決。