【发布时间】:2021-02-23 02:07:39
【问题描述】:
我遵循了本教程 (https://docs.microsoft.com/en-us/aspnet/signalr/overview/getting-started/tutorial-getting-started-with-signalr)。它在 Visual-Studio-2017 中运行良好。我对 web 和 signalR(以及 stackoverflow)完全陌生,不知道如何在 IIS 中部署它。
当我从 ..\SignalRChat\SignalRChat\ 文件夹启动 index.html 文件时,我收到了这个神秘的错误:
Failed to load resource: net::ERR_FILE_NOT_FOUND
index.html:34 Uncaught TypeError: Cannot read property 'client' of undefined
at HTMLDocument.<anonymous> (index.html:34)
at c (jquery-1.10.2.min.js:21)
at Object.fireWith [as resolveWith] (jquery-1.10.2.min.js:21)
at Function.ready (jquery-1.10.2.min.js:21)
at HTMLDocument.q (jquery-1.10.2.min.js:21)
顺便说一句:虽然我发现了其他类似的问题,但都没有帮助!
【问题讨论】:
标签: iis signalr web-deployment