• 无法生成临时类(result=1) dodo


    说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

    异常详细信息: System.InvalidOperationException: 无法生成临时类(result=1)。
    error CS2001: 未能找到源文件“C:\WINDOWS\TEMP\qeqrsu5t.0.cs”
    error CS2008: 未指定输入


    源错误:

    DE<执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。DE<

    堆栈跟踪:

    DE<
    [InvalidOperationException: 无法生成临时类(result=1)。  error CS2001: 未能找到源文件“C:\WINDOWS\TEMP\qeqrsu5t.0.cs”  error CS2008: 未指定输入  ]     System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence) +1060     System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies) +2024     System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence) +74     System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace) +99     System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace) +348     System.Xml.Serialization.XmlSerializer..ctor(Type type) +6     PowerEasy.Foundation.SiteConfig.GetConfig() +460     PowerEasy.Foundation.SiteConfig.get_SiteInfo() +9     PowerEasy.Foundation.HttpModule.SystemCheckModule.UpdateVirtualPathToSiteConfig() +22     PowerEasy.Foundation.HttpModule.SystemCheckModule.Init(HttpApplication context) +11     System.Web.HttpApplication.InitModulesCommon() +66     System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +1006     System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +259     System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +114     System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +350
    DE<

    “/”应用程序中的服务器错误。

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

    解决办法:很简单只要把你的C:\WINDOWS\TEMP\ 文件夹的安全设置高就OK,如下:


  • 相关阅读:
    Windows下MySQL8.0.23的下载与安装简单易用
    【转】decimal double的区别
    【转】.NET垃圾回收
    vs2010 断点调试故障 反编译插件引起的
    【摘】别人对面向对象的理解
    【转】C# indexof
    【转】八大排序算法总结
    【转】JS windows.open()详解
    【转】with as
    【转】SQL Server的几种约束
  • 原文地址:https://www.cnblogs.com/zgqys1980/p/2451929.html
Copyright © 2020-2023  润新知