Soap IIS7-Win7上的ASMX Web服务部署问题

Soap IIS7-Win7上的ASMX Web服务部署问题,soap,windows-7,iis-7,asmx,Soap,Windows 7,Iis 7,Asmx,我在尝试基本的HellowWorld SOAP Web服务时遇到以下错误。从VisualStudio进行调试时,它可以正常工作。有什么想法吗 System.InvalidOperationException: Unable to generate a temporary class (result=1). error CS2001: Source file 'C:\windows\TEMP\evamkhpw.0.cs' could not be found err

我在尝试基本的HellowWorld SOAP Web服务时遇到以下错误。从VisualStudio进行调试时,它可以正常工作。有什么想法吗

System.InvalidOperationException: Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\windows\TEMP\evamkhpw.0.cs' could not be found
error CS2008: No inputs specified

   at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
   at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)
   at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
   at System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[] mappings, Type type)
   at System.Web.Services.Protocols.XmlReturn.GetInitializers(LogicalMethodInfo[] methodInfos)
   at System.Web.Services.Protocols.HttpServerType..ctor(Type type)
   at System.Web.Services.Protocols.HttpServerProtocol.Initialize()
   at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)

通过在我的机器上安装IIS6兼容性解决了此问题