服务热线
IIS7.5下,某网站程序net4.0脚本映射,需要将*.html映射为aspx脚本来执行,却提示: 未能从程序集System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089中加载类型
解决办法是重新注册一下net4.0:
或在cmd中运行:C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i -enable