日期:2014-05-18  浏览次数:20976 次

无法生成临时类(result=1)
无法生成临时类(result=1)。
error CS2001: 未能找到源文件“C:\WINDOWS\TEMP\tn5k0lvo.0.cs”
error CS2008: 未指定输入

请问这是什么问题?我从没碰到过.希望高手解答

[InvalidOperationException: 无法生成临时类(result=1)。
error CS2001: 未能找到源文件“C:\WINDOWS\TEMP\tn5k0lvo.0.cs”
error CS2008: 未指定输入
]
  System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence) +1267
  System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies) +2890
  System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence) +125
  System.Xml.Serialization.XmlSerializer.GetSerializersFromCache(XmlMapping[] mappings, Type type) +813
  System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[] mappings, Type type) +139
  System.Web.Services.Protocols.SoapClientType..ctor(Type type) +520
  System.Web.Services.Protocols.SoapHttpClientProtocol..ctor() +306
  ip.IpAddressSearchWebService..ctor() +16
  _Default.getIp() +31
  _Default.btnRegist_Click(Object sender, EventArgs e) +301
  System.Web.UI.WebControls.Button.OnClick(EventArgs e) +115
  System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +140
  System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29
  System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981

 



------解决方案--------------------
我也没遇到过。。
------解决方案--------------------
网上查了一下,说是目录权限的问题,没有读写权限。
------解决方案--------------------
探讨

网上查了一下,说是目录权限的问题,没有读写权限。