安装.netFramework3.0Sp1之后报“the located assembly's manifest definition does not match the assembly refer”的解决
2009-04-21 15:06
471 查看
很奇怪的问题,也没有找到为什么,从日志上来看好像跟system.servicemodel有关。
相关日志:
System.IO.FileLoadException: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
at System.ServiceModel.BasicHttpSecurity.set_Mode(BasicHttpSecurityMode value)
at System.ServiceModel.BasicHttpSecurity..ctor(BasicHttpSecurityMode mode, HttpTransportSecurity transportSecurity, BasicHttpMessageSecurity messageSecurity)
at System.ServiceModel.BasicHttpBinding..ctor(String configurationName)
。。。。
试了半天发现执行下边命令后居然就好了,实在搞不懂,就记录下吧。
1. %windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe –k:W3SVC
2. %windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe –s W3SVC
3. %windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe –s:W3SVC
相关日志:
System.IO.FileLoadException: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
at System.ServiceModel.BasicHttpSecurity.set_Mode(BasicHttpSecurityMode value)
at System.ServiceModel.BasicHttpSecurity..ctor(BasicHttpSecurityMode mode, HttpTransportSecurity transportSecurity, BasicHttpMessageSecurity messageSecurity)
at System.ServiceModel.BasicHttpBinding..ctor(String configurationName)
。。。。
试了半天发现执行下边命令后居然就好了,实在搞不懂,就记录下吧。
1. %windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe –k:W3SVC
2. %windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe –s W3SVC
3. %windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe –s:W3SVC
相关文章推荐
- The located assembly’s manifest definition does not match the assembly reference
- Mysql: The located assembly's manifest definition does not match the assembly reference
- Reference in the manifest does not match the identity of the downloaded assembly
- Java compiler level does not match the version of the installed Java project facet. map解决方法
- 解决方法:IAR The selected device does not match the target device
- 解决Android Studio编译后安装apk报错:The APK file does not exist on disk
- JavEE 报错compiler level does not match the version of the installed java project facet解决方法
- 解决java compiler level does not match the version of the installed java project facet
- Java compiler level does not match the version of the installed Java project facet解决方法
- Java compiler level does not match the version of the installed Java project facet.解决办法
- 解决Android Studio编译后安装apk报错:The APK file does not exist on disk
- GOOD解决MyEclipse工具中java compiler level does not match the version of the installed java project facet
- 解决java compiler level does not match the version of the installed java project facet
- 解决java compiler level does not match the version of the installed java project facet .
- 解决java compiler level does not match the version of the installed java project facet
- 解决java compiler level does not match the version of the installed java project facet
- "Java compiler level does not match the version of the installed Java project facet"异常解决
- java compiler level does not match the version of the installed java project facet 项目导入报错解决
- java compiler level does not match the version of the installed java project facet错误的解决
- 解决java compiler level does not match the version of the installed java project facet