在调试SignalR程序时,不知怎样的情况,出现异常:

HTTP Error 404.0 - Not Found

The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

No Javascript on this page

 

使用FireFox的Firebug来检查:
No Javascript on this page

If <script> tags have a "type" attribute, it should equal "text/javascript" or "application/javascript". Also scripts must be parsable (syntactically correct).

No Javascript on this page

 

 对项目的代码做尽一切检查,特别是javascript部分的代码,找不到什么问题出来。
快要打算重建项目录时,Insus.NET找到问题所在了,请看下面:
No Javascript on this page

 

不知什么时候不小心把这个文件移到至Views目录之下了。浪费了不少时间。
把它移至项目录根目录之后,一切回归正常!!!




 

相关文章:

  • 2021-12-04
  • 2021-04-22
  • 2021-07-28
  • 2022-12-23
  • 2021-08-05
  • 2022-12-23
  • 2022-12-23
  • 2021-10-15
猜你喜欢
  • 2022-12-23
  • 2021-06-21
  • 2022-12-23
  • 2021-10-11
  • 2021-07-03
相关资源
相似解决方案