首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

无法生成临时类(result=1),该怎么处理

2012-04-18 
无法生成临时类(result1)无法生成临时类(result1)。error CS2001: 未能找到源文件“C:\WINDOWS\TEMP\tn5k0

无法生成临时类(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

 



[解决办法]
我也没遇到过。。
[解决办法]
网上查了一下,说是目录权限的问题,没有读写权限。
[解决办法]

探讨

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

热点排行