在WebConfig文件夹中system.webServer节点下面添加
例如:
<system.webServer> <handlers> <add name="valimg" path="*.valimg" verb="*" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" /> </handlers> </system.webServer>