我刚刚在一个测试服务器上安装了Application服务器监视器,在那里我有一个功能齐全的.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并没有收到来自网站的任何遥测信息。
我需要做些什么来解决这个问题,并启用监测?
发布于 2015-03-27 03:48:01
请检查System.IO.dll在bin文件夹中的程序集版本,以及在插装之后在web.config中定义的绑定重定向。如果System.IO.dll的版本为2.0.10,而绑定重定向表示为2.0.9,那么这个问题将在下周初的下一次更新中得到解决。作为解决办法,您现在可以手动将绑定重定向设置为2.0.10。我为这个虫子感到非常抱歉!
https://stackoverflow.com/questions/29153001
复制相似问题