.net – 编译器失败,错误代码为-1073741502(在Windows Server 20
发布时间:2020-12-14 01:52:43 所属栏目:Windows 来源:网络整理
导读:我有一台虚拟机(在我的笔记本电脑上运行VMWare Workstation 8.0.2)运行我用于SharePoint开发的 Windows Server 2008 R2 Standard和SharePoint Server 2010 SP1(Visual Studio 2010安装在虚拟机上).有时我收到以下错误消息: Server Error in '/' Application
我有一台虚拟机(在我的笔记本电脑上运行VMWare Workstation 8.0.2)运行我用于SharePoint开发的
Windows Server 2008 R2 Standard和SharePoint Server 2010 SP1(Visual Studio 2010安装在虚拟机上).有时我收到以下错误消息:
Server Error in '/' Application. -------------------------------------------------------------------------------- Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: The compiler failed with error code -1073741502. Show Detailed Compiler Output: c:windowssystem32inetsrv> "C:WindowsMicrosoft.NETFramework64v2.0.50727csc.exe" /t:library /utf8output /R: "C:WindowsassemblyGAC_MSILSystem.Drawing2.0.0.0__b03f5f7f11d50a3aSystem.Drawing.dll" /R: "C:WindowsassemblyGAC_MSILSystem.Xml2.0.0.0__b77a5c561934e089System.Xml.dll" /R: "C:WindowsassemblyGAC_MSILAscomADManager1.0.0.0__e27e5c95e5e50246AscomADManager.dll" /R: "C:WindowsassemblyGAC_MSILSystem.Configuration2.0.0.0__b03f5f7f11d50a3aSystem.Configuration.dll" /R: "C:WindowsassemblyGAC_MSILSystem.Web.Services2.0.0.0__b03f5f7f11d50a3aSystem.Web.Services.dll" /R: "C:WindowsassemblyGAC_MSILSystem.Runtime.Serialization3.0.0.0__b77a5c561934e089System.Runtime.Serialization.dll" /R: "C:WindowsassemblyGAC_64Microsoft.Office.Server.Search14.0.0.0__71e9bce111e9429cMicrosoft.Office.Server.Search.dll" /R: "C:WindowsassemblyGAC_MSILSystem.IdentityModel3.0.0.0__b77a5c561934e089System.IdentityModel.dll" /R: "C:WindowsassemblyGAC_64Microsoft.SharePoint.Search14.0.0.0__71e9bce111e9429cMicrosoft.SharePoint.Search.dll" /R: "C:WindowsassemblyGAC_64System.Web2.0.0.0__b03f5f7f11d50a3aSystem.Web.dll" /R: "C:WindowsassemblyGAC_MSILSystem.Web.Mobile2.0.0.0__b03f5f7f11d50a3aSystem.Web.Mobile.dll" /R: "C:WindowsassemblyGAC_MSILMicrosoft.SharePoint.Publishing14.0.0.0__71e9bce111e9429cMicrosoft.SharePoint.Publishing.dll" /R: "C:WindowsassemblyGAC_MSILMicrosoft.Web.CommandUI14.0.0.0__71e9bce111e9429cMicrosoft.Web.CommandUI.dll" /R: "C:WindowsassemblyGAC_MSILSystem.ServiceModel.Web3.5.0.0__31bf3856ad364e35System.ServiceModel.Web.dll" /R: "C:WindowsassemblyGAC_MSILSystem2.0.0.0__b77a5c561934e089System.dll" /R: "C:WindowsMicrosoft.NETFramework64v2.0.50727Temporary ASP.NET Filesroot7e9d64cce402abe9App_GlobalResources.dll" /R: "C:WindowsassemblyGAC_MSILSystem.ServiceModel3.0.0.0__b77a5c561934e089System.ServiceModel.dll" /R: "C:WindowsassemblyGAC_MSILSystem.WorkflowServices3.5.0.0__31bf3856ad364e35System.WorkflowServices.dll" /R: "C:WindowsMicrosoft.NETFramework64v2.0.50727Temporary ASP.NET Filesroot7e9d64cce402abe9App_global.asax.dll" /R: "C:WindowsMicrosoft.NETFramework64v2.0.50727mscorlib.dll" /R: "C:WindowsassemblyGAC_64System.Data2.0.0.0__b77a5c561934e089System.Data.dll" /R: "C:WindowsassemblyGAC_MSILMicrosoft.SharePoint14.0.0.0__71e9bce111e9429cMicrosoft.SharePoint.dll" /R: "C:WindowsassemblyGAC_MSILSystem.Web.Extensions3.5.0.0__31bf3856ad364e35System.Web.Extensions.dll" /R: "C:WindowsassemblyGAC_64System.EnterpriseServices2.0.0.0__b03f5f7f11d50a3aSystem.EnterpriseServices.dll" /R: "C:WindowsassemblyGAC_MSILMicrosoft.Office.Access.Server.UI14.0.0.0__71e9bce111e9429cMicrosoft.Office.Access.Server.UI.dll" /out: "C:WindowsMicrosoft.NETFramework64v2.0.50727Temporary ASP.NET Filesroot7e9d64cce402abe9App_Web_usereditform.ascx.d7f0a421.emiw9vda.dll" /D:DEBUG /debug+ /optimize- /win32res: "C:WindowsMicrosoft.NETFramework64v2.0.50727Temporary ASP.NET Filesroot7e9d64cce402abe9q8k8a1mo.res" /w:4 /nowarn:1659;1699;1701 "C:WindowsMicrosoft.NETFramework64v2.0.50727Temporary ASP.NET Filesroot7e9d64cce402abe9App_Web_usereditform.ascx.d7f0a421.emiw9vda.0.cs" "C:WindowsMicrosoft.NETFramework64v2.0.50727Temporary ASP.NET Filesroot7e9d64cce402abe9App_Web_usereditform.ascx.d7f0a421.emiw9vda.1.cs" -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.4963; ASP.NET Version:2.0.50727.4955 错误是随机抛出的,有时当我激活一个新功能时,有时当我只是在SharePoint中浏览页面/列表时.我当然用谷歌搜索了这个问题,我找到了一些适用于其他用户的解决方案(但不适用于所有用户): >做一个iisreset(对我不起作用) 有没有人知道一个解决方案,解决问题而无需修复.NET框架?这是非常耗时的,更不用说必须一直这样做令人沮丧.错误发生在一天三到十次之间. 更新:这是Windows事件日志中记录的警告. Event code: 3007 Event message: A compilation error has occurred. Event time: 4/4/2012 12:48:04 PM Event time (UTC): 4/4/2012 10:48:04 AM Event ID: ea6ef6e68cb14f858564f541ff1389f6 Event sequence: 42 Event occurrence: 1 Event detail code: 0 Application information: Application domain: /LM/W3SVC/1794141158/ROOT-1-129780060874042968 Trust level: WSS_Minimal Application Virtual Path: / Application Path: C:inetpubwwwrootwssVirtualDirectories80 Machine name: SP2010 Process information: Process ID: 13668 Process name: w3wp.exe Account name: NT AUTHORITYNETWORK SERVICE Exception information: Exception type: HttpCompileException Exception message: External component has thrown an exception. Request information: Request URL: http://sp2010/sites/test52/projects/default.aspx Request path: /sites/test52/projects/default.aspx User host address: fe80::18b5:d6c1:ca34:5476/ User: SP20100marcus Is authenticated: True Authentication Type: Negotiate Thread account name: NT AUTHORITYNETWORK SERVICE Thread information: Thread ID: 11 Thread account name: NT AUTHORITYNETWORK SERVICE Is impersonating: True Stack trace: at System.Web.Compilation.AssemblyBuilder.Compile() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath,Boolean noBuild,Boolean allowCrossApp,Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context,VirtualPath virtualPath,Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath,HttpContext context,Boolean noAssert) at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath,Type requiredBaseType,Boolean noAssert) at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context,String requestType,String physicalPath) at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,Boolean& completedSynchronously) Custom event details: 解决方法
我有同样的问题…我停止了我的应用程序在应用程序池中我回收了与应用程序相关的应用程序池它解决了我的问题.
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- windows-8 – 在Windows 8中处理VirtualKey使用C#存储应用程
- .net – Windows窗体:用户控件和事件
- 如何在Windows中安装php_posix php扩展?
- 无法从程序集’Microsoft.WindowsAzure.Storage,Version =
- iis-7.5 – Kerberos委派的风险
- 将根/可信发布者证书文件部署到Windows计算机
- 我不能使用RubyInstaller for Windows在Windows上安装Haml
- mkdir仍然是原子的吗? (安装在SAN上的Windows 7文件系统)
- 为Microsoft的Luis编写F#类型提供程序的好方法是什么?
- 如何使用特定的用户名和密码将窗口配置为自动登录?
推荐文章
站长推荐
- 用于Unity(windows\iOS\安卓)的纯C版LZM
- windows-server-2008-r2 – 虚拟机内的磁盘延迟
- Haskell removeDirectoryRecursive:Windows上的
- windows-server-2003 – 在Amazon EC2上运行Wind
- Windows:复制正在编写的文件?
- window设置TortoiseGit连接git不用每次输入用户名
- Windows 7中的Javacv UnsatisfiedLinkError
- Windows 电脑的四种运行状态工作状态 (Working),
- windows x64函数调用约定(function call convent
- 网络流量监控器mrtg全攻略
热点阅读