教学文库网 - 权威文档分享云平台
您的当前位置:首页 > 精品文档 > 综合文档 >

Microsoft SQL Server 2005 Reporting Services(SSRS)部署及常见(9)

来源:网络收集 时间:2026-08-21
导读: 错误:尝试连接到报表服务器时失败。请检查连接信息,并检查报表服务器版本是否兼容。 解决: 部署SQL Server 2005 Report Serviecs 时 打开http://172.18.191.21/Reports 出现\尝试连接到报表服务器时失败。请检查

错误:尝试连接到报表服务器时失败。请检查连接信息,并检查报表服务器版本是否兼容。 解决:

部署SQL Server 2005 Report Serviecs 时 打开http://172.18.191.21/Reports

出现\尝试连接到报表服务器时失败。请检查连接信息,并检查报表服务器版本是否兼容。\错误

而 http://172.18.191.21/ReportServer 可以正确显示.

1 :看看虚拟目录中的ReportS是否有非法字符,

打开 :程序->sql server 2005->配置工具->Reporting Services Configuration

在 Report Server Vitural Directory中新建虚拟目录

在 Report Manager Vitural Directory中新建虚拟目录

2.RSWebApplication.config 配置文件的原因

打开C:\\Program Files\\Microsoft SQL Server\\MSSQL.3\\Reporting Services\\ReportManager

找到RSWebApplication.config 配置文件编辑:

ReportServerUrl改成这样,ReportServerVirtualDirectory置空

http://HostName/ReportServer

刷新IIS, IISRESET,必要时重启SQL Server Reporting Services (MSSQLSERVER)服务

微软技术支持上说原因是:

出现此问题的原因报表服务器站点的报表管理器工具使用不正确的服务器 URL。 报表服务器网站的报表管理器工具搜索的 URL 是文件 RSWebApplication.config 文件中 ReportServerUrl 标记中指定的。 默认情况下, 如果将此标记保留为空,报表管理器工具使用\作为服务器 URL。

修改为

http://:/

http://support.microsoft.com/kb/922656/zh-cn

http://technet.microsoft.com/zh-cn/library/ms159261(SQL.90).aspx

问题11

问题:报表服务Report Server 部署在域环境,而DMS系统则在非域环境。DMS访问报表服务采用域用户名和密码方式,而非匿名用户访问。

解决:

在域环境中创建用户名和密码,假设用户名为 test,密码为 123,域名为http://192.168.150.72/ 在DMS中报表加载时,加入一下代码验证权限:

using System.Net;

using System.Security.Principal;

this.ReportViewerItem.ServerReport.ReportServerCredentials = new CustomReportCredentials(\, \, \);

public class CustomReportCredentials : Microsoft.Reporting.WebForms.IReportServerCredentials {

// local variable for network credential. private string _UserName; private string _PassWord; private string _DomainName;

public CustomReportCredentials(string UserName, string PassWord, string DomainName) {

_UserName = UserName; _PassWord = PassWord; _DomainName = DomainName; }

public WindowsIdentity ImpersonationUser { get {

return null; // not use ImpersonationUser } }

public ICredentials NetworkCredentials { get {

return new NetworkCredential(_UserName, _PassWord, _DomainName); } }

public bool GetFormsCredentials(out Cookie authCookie, out string user, out string password, out string authority) {

authCookie = null;

user = password = authority = null; return false; } }

问题12

参考文档

SQL Server 联机丛书

Reporting Services 部署指南

John H. Miller, Microsoft Corporation

小马倾情制作2009-12-15

…… 此处隐藏:271字,全部文档内容请下载后查看。喜欢就下载吧 ……
Microsoft SQL Server 2005 Reporting Services(SSRS)部署及常见(9).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.jiaowen.net/wendang/404192.html(转载请注明文章来源)
Copyright © 2020-2025 教文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:78024566 邮箱:78024566@qq.com
苏ICP备19068818号-2
Top
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)