none
在虚拟机 win2019中安装远程桌面服务(RDS)和远程桌面 Web 客户端(RDWebClientManagement)后浏览器访问应用时js文件报错。 RRS feed

  • 问题

  • 你好,攻城狮们!请帮我解决一下如下问题,非常感谢!

    一 环境

    在虚拟机中安装两台服务器

    1. 域控服务器 win2016 standard : 创建新域 kkblf.com

    2. 应用服务器 win2019 standard :计算机名称app1.kkblf.com应用服务器加域后安装如下服务:

    1. 远程桌面服务服务

    如图1到图5


    2. 安装远程桌面 Web 客户端(RDWebClientManagement)

    安装流程参考:https://docs.microsoft.com/zh-cn/windows-server/remote/remote-desktop-services/clients/remote-desktop-web-client-admin

    二 问题重现

    1. 在另外一台电脑通过host文件映射了应用服务的ip和app1.kkblf.com

    2. 在浏览器中访问https://app1.kkblf.com/rdweb/webclient/index.html

    3. 出现登录窗口如下

    图6

    3. 使用域账号和名称登录,显示发布的应用列表

    图7

    4. 选择其中一个应用后连接过程正常,如下

    图8

    5. 但是在连接完成后,黑屏。观察控制台报错如下

    图9

    三 错误信息如下

    "BindingError: String has UTF-16 code units that do not fit in 8 bits
        at BindingError.<anonymous> (https://app1.kkblf.com/rdweb/webclient/js/rdcore.2d28f0f1.js:86:1478428)
        at new BindingError (eval at createNamedFunction (https://app1.kkblf.com/rdweb/webclient/js/rdcore.2d28f0f1.js:86:1478134), <anonymous>:4:34)
        at throwBindingError (https://app1.kkblf.com/rdweb/webclient/js/rdcore.2d28f0f1.js:86:1481953)
        at Object.toWireType (https://app1.kkblf.com/rdweb/webclient/js/rdcore.2d28f0f1.js:86:1517335)
        at IRailController$LaunchApplication [as LaunchApplication] (eval at new_ (https://app1.kkblf.com/rdweb/webclient/js/rdcore.2d28f0f1.js:86:1499616), <anonymous>:8:26)
        at Object.Connection.p.launchApplication (https://app1.kkblf.com/rdweb/webclient/js/client.194eecb6.js:3:8571)
        at Object.O [as OnRailActivated] (https://app1.kkblf.com/rdweb/webclient/js/client.194eecb6.js:3:1640)
        at methodCaller_emscripten$$val_$emscripten$$val_emscripten$$val$ (eval at new_ (https://app1.kkblf.com/rdweb/webclient/js/rdcore.2d28f0f1.js:86:1499616), <anonymous>:6:26)
        at __emval_call_method (https://app1.kkblf.com/rdweb/webclient/js/rdcore.2d28f0f1.js:86:1521150)
        at I$a (https://app1.kkblf.com/rdweb/webclient/js/rdcore.2d28f0f1.js:95:713702)
        at ujd (https://app1.kkblf.com/rdweb/webclient/js/rdcore.2d28f0f1.js:99:283347)
        at invoke_viiiii (https://app1.kkblf.com/rdweb/webclient/js/rdcore.2d28f0f1.js:86:1572907)
        at H$a (https://app1.kkblf.com/rdweb/webclient/js/rdcore.2d28f0f1.js:95:712115)
        at sjd (https://app1.kkblf.com/rdweb/webclient/js/rdcore.2d28f0f1.js:99:283181)
        at invoke_viii (https://app1.kkblf.com/rdweb/webclient/js/rdcore.2d28f0f1.js:86:1572497)
        at x0a (https://app1.kkblf.com/rdweb/webclient/js/rdcore.2d28f0f1.js:95:751280)
        at Hfb (https://app1.kkblf.com/rdweb/webclient/js/rdcore.2d28f0f1.js:97:365174)
        at qjd (https://app1.kkblf.com/rdweb/webclient/js/rdcore.2d28f0f1.js:99:283050)
        at invoke_vii (https://app1.kkblf.com/rdweb/webclient/js/rdcore.2d28f0f1.js:86:1572108)
        at s1a (https://app1.kkblf.com/rdweb/webclient/js/rdcore.2d28f0f1.js:95:788476)
        at qjd (https://app1.kkblf.com/rdweb/webclient/js/rdcore.2d28f0f1.js:99:283050)
        at invoke_vii (https://app1.kkblf.com/rdweb/webclient/js/rdcore.2d28f0f1.js:86:1572108)
        at t1a (https://app1.kkblf.com/rdweb/webclient/js/rdcore.2d28f0f1.js:95:789288)
        at sjd (https://app1.kkblf.com/rdweb/webclient/js/rdcore.2d28f0f1.js:99:283181)
        at dynCall_viii_471 (eval at makeDynCaller (https://app1.kkblf.com/rdweb/webclient/js/rdcore.2d28f0f1.js:86:1495763), <anonymous>:4:12)
        at OnMessageCallback$Invoke [as Invoke] (eval at new_ (https://app1.kkblf.com/rdweb/webclient/js/rdcore.2d28f0f1.js:86:1499616), <anonymous>:9:1)
        at Worker.<anonymous> (https://app1.kkblf.com/rdweb/webclient/js/rdcore.2d28f0f1.js:86:106254)"

    四 信息补充

    1. 使用下载rdp文件的方式能正常访问应用程序

    求攻城狮们耐心指导和批评教育。

    2020年6月9日 6:57

全部回复