我刚刚在测试服务器上安装了 Application Insights Server Monitor,在那里我有一个功能齐全的 .net 4.0 ASP.net 站点。
在网站上启用 AI 后,当我尝试加载它时,出现错误:
Could not load file or assembly 'System.IO' or one of its dependencies.
The located assembly's manifest definition does not match the assembly
reference. (Exception from HRESULT: 0x80131040)
System.IO.FileLoadException: Could not load file or assembly 'System.IO'
or one of its dependencies. The located assembly's manifest definition
does not match the assembly reference. (Exception from HRESULT:
0x80131040)
当我启用 AI 时,它会将几个 .net dll 复制到站点 /bin/、System.IO.dll 和 System.Threading.Tasks.dll。如果我删除它们,问题就会自行解决,但 AI 不会从该站点接收任何遥测数据。
我需要做什么来解决此问题并启用监控?