zoukankan      html  css  js  c++  java
  • 数据库服务器改名导致Reporting Service不可用的案例

    案例环境:

        操作系统版本    :    Windows Server 2012 R2 Standard

        数据库版本      :   SQL Server 2012 Standard Edition SP2

     

    案例介绍:


        其实已经是第二次碰到这种情况,还是决定将这个案例记录一下。第一次是做数据库迁移时碰到,没有时间整理记录,第二次准备一个测试环境,从虚拟机一个服务器克隆了一个测试服务器GETESTNT30, 服务器名称变了,但是SQL SERVER里面@@SERVERNAME 与 SERVERPROPERTY('servername')不一致。

    clipboard

    现象如下所示:

    clipboard[1]

    The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing. (rsReportServerDatabaseUnavailable) Get Online Help
    Login failed for user 'xxxxGETTESTNT30$'.

    clipboard[2]

    The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing. (rsReportServerDatabaseUnavailable)

     

    如果要查看更详细的错误信息,可以去SQL SERVER的安装目录,例如这台测试服务器C:Program FilesMicrosoft SQL ServerMSRS11.MSSQLSERVERReporting ServicesLogFiles下查看详细日志记录。

    如下所示,在Reporting Services Configuration Manager里面,在数据库选项(Database)里面显示的SQL Server Name为原服务器GETNT59,而Report Manager URL里面则为GETTESTNT30

    clipboard[3]

    clipboard[4]

     

    解决方法:

        打开Reporting Service的配置管理器,进行数据库服务器更名操作。

    clipboard[5]

    clipboard[6]

    clipboard[7]

    clipboard[8]

     

    完成之后,还必须删除加密内容(Delete Enrypted Content),才能正常访问Reporting Service对应的URL地址。

    clipboard[9]

  • 相关阅读:
    栈的应用之银行叫号系统模拟
    栈的应用之括号匹配
    栈的应用之数制转换
    线性结构 一元多项式的乘法与加法运算
    Checkpoints codeforces 709B
    寒冰王座 hdu 1248(背包)
    单链表头插法、尾插法(26个字母为例)
    两个有序单链表的合并
    Number Sequence HDU 1711(KMP)
    完成运算
  • 原文地址:https://www.cnblogs.com/kerrycode/p/3972836.html
Copyright © 2011-2022 走看看