在编译服务此请求所需的资源期间发生错误
本文关键字:资源 错误 服务 编译 请求 | 更新日期: 2023-09-27 18:10:16
这是什么意思?
'/'应用程序出现服务器错误。
编译错误
描述:在编译服务此请求所需的资源期间发生错误。请查看以下具体的错误细节,并适当修改您的源代码。
Compiler Error Message: The Compiler failed with Error code -1073741502.
显示详细的编译器输出:
c:'windows'system32'inetsrv> "C:'Windows'Microsoft.NET'Framework64'v3.5'csc.exe" /t:library /utf8output /R:"C:'Windows'assembly'GAC_MSIL'System'2.0.0.0__b77a5c561934e089'System.dll" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'b5d50123'4baf1c64_5780cc01'Tooltip.DLL" /R:"C:'Windows'assembly'GAC_64'System.Web'2.0.0.0__b03f5f7f11d50a3a'System.Web.dll" /R:"C:'Windows'assembly'GAC_MSIL'System.IdentityModel'3.0.0.0__b77a5c561934e089'System.IdentityModel.dll" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'f75ac7b7'30b20097_5480cc01'AjaxControlToolkit.DLL" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'853f18ae'b26243f5_d1d5cb01'Masterworks.Controls.Web.DLL" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'e43c5d29'51c72b28_6c74cb01'Iesi.Collections.DLL" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'911b5b42'18ea1580_6a5ecb01'Masterworks.SqlLocalization.DLL" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'a8b3bdef'4ebfce7e_6a5ecb01'Masterworks.Cryptography.DLL" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'c2317027'e86fb4e0_d341cb01'Microsoft.Practices.Web.UI.WebControls.DLL" /R:"C:'Windows'assembly'GAC_MSIL'System.Xml.Linq'3.5.0.0__b77a5c561934e089'System.Xml.Linq.dll" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'48bac770'1e6c3a24_5880cc01'FoodOrder.Shell.DLL" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'd06c67e9'efbee87f_6a5ecb01'Masterworks.Controls.Web.SecurityControls.DLL" /R:"C:'Windows'assembly'GAC_MSIL'System.Web.Services'2.0.0.0__b03f5f7f11d50a3a'System.Web.Services.dll" /R:"C:'Windows'assembly'GAC_MSIL'System.WorkflowServices'3.5.0.0__31bf3856ad364e35'System.WorkflowServices.dll" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'App_GlobalResources.xw29jesx.dll" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'53cb1bdc'1860c5e0_d341cb01'Microsoft.Practices.ObjectBuilder.DLL" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'1be16282'5915bd22_5880cc01'FoodOrder.Core.DLL" /R:"C:'Windows'assembly'GAC_64'System.EnterpriseServices'2.0.0.0__b03f5f7f11d50a3a'System.EnterpriseServices.dll" /R:"C:'Windows'assembly'GAC_MSIL'System.ServiceModel.Web'3.5.0.0__31bf3856ad364e35'System.ServiceModel.Web.dll" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'App_global.asax.u95mrm-a.dll" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'a1f2870f'1ecff82b_da21cb01'CSSFriendly.DLL" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'6d6af5ce'851e6028_6c74cb01'NHibernate.DLL" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'4ada28a5'5b97a426_5880cc01'FoodOrder.DLL" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'64acacfd'041c067a_6c5ecb01'Masterworks.WebControlCaptcha.DLL" /R:"C:'Windows'assembly'GAC_MSIL'System.Configuration'2.0.0.0__b03f5f7f11d50a3a'System.Configuration.dll" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'34f09ef4'a0b2a524_5880cc01'FoodOrder.Notifications.DLL" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'02ba03eb'95a66223_5880cc01'FoodOrder.Data.DLL" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'App_Web_swohbrqr.dll" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'24789032'78d4bce0_d341cb01'Microsoft.Practices.EnterpriseLibrary.Common.DLL" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'715b874b'ae4aa563_8186cb01'DayPilot.DLL" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'mscorlib.dll" /R:"C:'Windows'assembly'GAC_64'System.Data'2.0.0.0__b77a5c561934e089'System.Data.dll" /R:"C:'Windows'assembly'GAC_MSIL'System.Drawing'2.0.0.0__b03f5f7f11d50a3a'System.Drawing.dll" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'19b1cd66'ba096a28_6c74cb01'Castle.DynamicProxy2.DLL" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'aaf304a9'71a232e1_d341cb01'ManagedFusion.Rewriter.DLL" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'78131b2d'8b852f5f_695ecb01'Masterworks.Buttons.DLL" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'b24420c4'dbd4fc7e_6a5ecb01'Masterworks.ConfirmButtons.DLL" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'de089f2d'3d9d9f14_d544cb01'FredCK.FCKeditorV2.DLL" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'c9f50bf2'43a75d21_5880cc01'ProjectBase.Data.DLL" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'60b92aa4'cdb55928_6c74cb01'log4net.DLL" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'a1581848'8e7dcf0b_7ad6cb01'Masterworks.Controls.Web.Validators.DLL" /R:"C:'Windows'assembly'GAC_MSIL'System.Core'3.5.0.0__b77a5c561934e089'System.Core.dll" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'11e54d93'e5ef9b28_6c74cb01'Antlr3.Runtime.DLL" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'a645b2ed'98baed28_6c74cb01'FluentNHibernate.DLL" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'f900ae16'b247c823_5880cc01'FoodOrder.Lib.DLL" /R:"C:'Windows'assembly'GAC_MSIL'System.Web.Extensions.Design'3.5.0.0__31bf3856ad364e35'System.Web.Extensions.Design.dll" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'3e6c6fbf'ed7db520_5880cc01'ProjectBase.Utils.DLL" /R:"C:'Windows'assembly'GAC_MSIL'System.Design'2.0.0.0__b03f5f7f11d50a3a'System.Design.dll" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'1d165978'15481a25_5880cc01'FoodOrder.RestaurantModule.DLL" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'2b037192'e32e44e1_d341cb01'PostBackRitalin.DLL" /R:"C:'Windows'assembly'GAC_MSIL'System.Web.Extensions'3.5.0.0__31bf3856ad364e35'System.Web.Extensions.dll" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'c47bde74'1f6ad8c0_3984cb01'NHibernate.Linq.DLL" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'344c2531'5b4ffb28_6c74cb01'Castle.Core.DLL" /R:"C:'Windows'assembly'GAC_MSIL'System.ServiceModel'3.0.0.0__b77a5c561934e089'System.ServiceModel.dll" /R:"C:'Windows'assembly'GAC_MSIL'System.Web.Mobile'2.0.0.0__b03f5f7f11d50a3a'System.Web.Mobile.dll" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'0f060aeb'8eeca628_6c74cb01'NHibernate.ByteCode.Castle.DLL" /R:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'assembly'dl3'699a6c99'5909df08_7ad6cb01'Masterworks.Utilities.DnsQuery.DLL" /R:"C:'Windows'assembly'GAC_MSIL'System.Data.DataSetExtensions'3.5.0.0__b77a5c561934e089'System.Data.DataSetExtensions.dll" /R:"C:'Windows'assembly'GAC_MSIL'System.Xml'2.0.0.0__b77a5c561934e089'System.Xml.dll" /R:"C:'Windows'assembly'GAC_MSIL'System.Windows.Forms'2.0.0.0__b77a5c561934e089'System.Windows.Forms.dll" /R:"C:'Windows'assembly'GAC_MSIL'System.Runtime.Serialization'3.0.0.0__b77a5c561934e089'System.Runtime.Serialization.dll" /out:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'App_Web_search.master.7371103c.wkrdmiw6.dll" /D:DEBUG /debug+ /optimize- /win32res:"C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'7oevkkzx.res" /w:4 /nowarn:1659;1699;1701 /warnaserror- "C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'App_Web_search.master.7371103c.wkrdmiw6.0.cs" "C:'Windows'Microsoft.NET'Framework64'v2.0.50727'Temporary ASP.NET Files'root'85135762'a89acdb6'App_Web_search.master.7371103c.wkrdmiw6.1.cs"
版本信息:Microsoft .NET Framework Version:2.0.50727.5446;ASP。净版:2.0.50727.5420
这意味着你尝试打开一个网页,当asp.net试图在飞行中编译,因为它无法构建解决方案。您有一个构建错误或您需要重新构建解决方案。在Visual Studio中打开解决方案并尝试构建它。如果它有编译错误,修复它们,直到您可以构建它,然后尝试再次浏览它。
我遇到了同样的错误,它通过以下步骤得到解决:
1)移除ASP。. Net临时文件(C:'Windows' microt.net 'Framework'v4.0.30319'Temporary ASP. Net)网络文件)
2)清洗并重新配制溶液。请确保您在解决方案资源管理器中的项目中设置了StartUp Project。
在我的例子中,我只是重新启动应用程序池(停止和启动)。而且很有效!
我在Visual Studio 2017中创建了一个新的Web API项目,并发布到仅支持C#6
和.NET Framework 4.5.1
的iis托管服务器上。
这个项目有2.6.1
版本的Nuget包Microsoft.Net.Compilers
,它在描述中说:
引用此包将导致使用包中包含的特定版本的c#和Visual Basic编译器来构建项目,而不是使用任何系统安装的版本。
这个包可以用来编译针对任何平台的代码,但是只能在桌面上运行。. NET 4.6+全框架.
我想我本可以尝试单独降级Nuget包,但我选择在Visual Studio 2015中创建项目,而不是使用此包的1.0.0
版本,在其他Nuget包的更改中,导致在服务器上成功构建。
您必须右键单击c:'windows'Temp并通过添加修改,读取,执行,写入…来修改IIS_IUSRS帐户的授权
右键单击解决方案资源管理器-> Clean Solution
,然后单击Rebuild Solution
我在升级NuGet包时得到了这个错误。我必须手动删除packages
文件夹,然后手动选择Restore NuGet Packages
作为解决方案。然后一切又开始运转了。
检查你的网页。配置类似命名空间"...."
我重新启动了app-pool, IIS。我清理了临时文件。他们都没有解决问题。最后,我重新启动了电脑。它的工作原理。