我已经安装了最新版本的 SSRS 2019 并从开发服务器恢复了 ReportServer + ReportServerTempDB。它具有自定义安全设置(我们只使用自己的 cookie 进行访问),但一切正常,直到我尝试创建 SSRS 数据源。当我点击“+新建”>“数据源”下拉列表时,我会看到“出现问题。请稍后再试。”如下。
安装与在所有其他服务器上安装的安装相同。
我在控制台中注意到这是错误消息的来源:
https://localhost/Reports/api/v2.0/Extensions?$filter=ExtensionType+eq+(cast(%27Data%27,%20%27Model.ExtensionType%27))
...甚至这个:
https://localhost/Reports/api/v2.0/Extensions
...对这两个问题的回应是:
{
"error":{
"code":"0","message":""
}
}
“https://servername/Reports/api/v2.0/Extensions”在其他服务器上返回有效响应,作为参考:
{
"@odata.context":"https://(devservername)/Reports/api/v2.0/$metadata#Extensions","value":[
{
"ExtensionType":"Data","Name":"SQL","LocalizedName":"Microsoft SQL Server","Visible":true,"Parameters":[
]
},{
"ExtensionType":"Data","Name":"SQLAZURE","LocalizedName":"Microsoft Azure SQL Database","Visible":true,"Parameters":[
]
},{
"ExtensionType":"Data","Name":"OLEDB-MD","LocalizedName":"Microsoft SQL Server Analysis Services","Visible":true,"Parameters":[
]
},{
"ExtensionType":"Data","Name":"SHAREPOINTLIST","LocalizedName":"Microsoft SharePoint List","Visible":true,"Parameters":[
]
},{
"ExtensionType":"Data","Name":"ESSBASE","LocalizedName":"Oracle Essbase","Visible":true,"Parameters":[
]
},{
"ExtensionType":"Data","Name":"SAPBW","LocalizedName":"SAP BW","Visible":true,"Parameters":[
]
},{
"ExtensionType":"Data","Name":"OLEDB","LocalizedName":"OLE DB","Visible":true,"Parameters":[
]
},{
"ExtensionType":"Data","Name":"ODBC","LocalizedName":"ODBC","Visible":true,"Parameters":[
]
},{
"ExtensionType":"Data","Name":"XML","LocalizedName":"XML","Visible":true,"Parameters":[
]
},{
"ExtensionType":"Data","Name":"ENTERDATA","LocalizedName":"Enter Data","Visible":true,"Parameters":[
]
},{
"@odata.type":"#Model.DeliveryExtension","ExtensionType":"Delivery","Name":"Report Server FileShare","LocalizedName":"Windows File Share","Visible":true,"Parameters":[
],"IsImmutable":false,"DefaultDeliveryExtension":false
},{
"@odata.type":"#Model.DeliveryExtension","ExtensionType":"Delivery","Name":"NULL","LocalizedName":"Null Delivery Provider","Visible":true,"Parameters":[
],"IsImmutable":false,"DefaultDeliveryExtension":false
},{
"ExtensionType":"Render","Name":"RPL","LocalizedName":"RPL Renderer","Visible":false,"Parameters":[
]
},{
"ExtensionType":"Render","Name":"HTML5","LocalizedName":"HTML5","Visible":false,"Parameters":[
]
},{
"ExtensionType":"Render","Name":"HTML4.0","LocalizedName":"HTML 4.0","Visible":false,"Parameters":[
]
},{
"ExtensionType":"Render","Name":"RGDI","LocalizedName":"Remote GDI+ file","Visible":false,"Parameters":[
]
},{
"ExtensionType":"Render","Name":"NULL","LocalizedName":"NullRenderer","Visible":false,"Parameters":[
]
},{
"ExtensionType":"Render","Name":"ATOM","LocalizedName":"Data Feed","Visible":true,"Parameters":[
]
},{
"ExtensionType":"Render","Name":"XML","LocalizedName":"XML file with report data","Visible":true,"Parameters":[
]
},{
"ExtensionType":"Render","Name":"CSV","LocalizedName":"CSV (comma delimited)","Visible":true,"Parameters":[
]
},{
"ExtensionType":"Render","Name":"MHTML","LocalizedName":"MHTML (web archive)","Visible":true,"Parameters":[
]
},{
"ExtensionType":"Render","Name":"IMAGE","LocalizedName":"TIFF file","Visible":true,"Parameters":[
]
},{
"ExtensionType":"Render","Name":"PDF","LocalizedName":"PDF","Visible":true,"Parameters":[
]
},{
"ExtensionType":"Render","Name":"PPTX","LocalizedName":"PowerPoint","Visible":true,"Parameters":[
]
},{
"ExtensionType":"Render","Name":"EXCEL","LocalizedName":"Excel 2003","Visible":false,"Parameters":[
]
},{
"ExtensionType":"Render","Name":"EXCELOPENXML","LocalizedName":"Excel","Visible":true,"Parameters":[
]
},{
"ExtensionType":"Render","Name":"WORD","LocalizedName":"Word 2003","Visible":false,"Parameters":[
]
},{
"ExtensionType":"Render","Name":"WORDOPENXML","LocalizedName":"Word","Visible":true,"Parameters":[
]
},{
"@odata.type":"#Model.DeliveryExtension","ExtensionType":"DeliveryUI","Name":"Report Server FileShare","LocalizedName":"Windows File Share","Visible":true,"Parameters":[
],"IsImmutable":false,"DefaultDeliveryExtension":false
}
]
}
我已经通过在 Web 服务 URL 和 Web 门户 URL 中使用我的计算机名称以及“localhost”解决了该问题。内部报告服务可能会感到困惑,因为我也在 Visual Studio 中使用具有不同端口的 localhost,但停止 IIS Express 并没有解决问题。我添加了自签名证书。作为我的机器名称,我只使用它。如果使用自签名证书也会感到困惑。本地主机和机器名称。遗憾的是它不能托管在 IIS 中,因为自托管 SSRS 存在很多问题。
RSPortal_*.log 中未记录任何内容 - 在更新之前它是一个 0 字节文件。
经过上述修复后,下一个问题终于记录在 RSPortal_*.log 中(报表服务器无法验证数据库中加密数据的完整性。)。这是由于查看现有数据源引起的,并通过点击加密密钥中的“更改”按钮修复
发生这种情况的原因有很多,我已经从下面的网站列出了解决此问题的所有可能方法。
https://kingfishertechtips.in/something-went-wrong-please-try-again-later/