当我在调试或发布模式下在 VS2013 上启动我的应用程序时,一切都很好。但是当我在远程服务器上发布它时,我收到此错误:
Server Error in '/Doratletica' Application
。
编译错误
描述:编译服务此请求所需的资源时发生错误。请查看以下特定错误详细信息并适当修改源代码。
编译器错误消息:编译器因错误代码128而失败。
显示详细的编译器输出:
C:\ Windows \ System32下\ INETSRV> " C:\ Windows \ Microsoft.NET \框架\ v4.0.30319 \ CSC.EXE" / T:库 / utf8output /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Web\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.DynamicData\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.DynamicData.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activation\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activation.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.Activities.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activities.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.WorkflowServices\v4.0_4.0.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET 文件\ doratletica \ 2d4f66e3 \ 5486bc0d \组件\ DL3 \ 879ef36c \ 188ffd17_b4b2d001 \ Doratletica.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET 文件\ doratletica \ 2d4f66e3 \ 5486bc0d \组件\ DL3 \ 06d2e9d7 \ 049e0f50_6fa3d001 \ EO.Web.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET 文件\ doratletica \ 2d4f66e3 \ 5486bc0d \组件\ DL3 \ ec623854 \ c6891b50_6fa3d001 \ System.Data.SQLite.DLL" /R:"c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET 文件\ doratletica \ 2d4f66e3 \ 5486bc0d \组件\ DL3 \ 5784996f \ fc40ef17_b4b2d001 \ App_global.asax.DLL" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.Entity\v4.0_4.0.0.0__b77a5c561934e089\System.Web.Entity.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll" /out:"c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET 文件\ doratletica \ 2d4f66e3 \ 5486bc0d \ App_Web_site.master.cdcab7d2.eoeflm-m.dll" / D:DEBUG / debug + / optimize- / w:4 / nowarn:1659; 1699; 1701 / warnaserror- " c:\ WINDOWS \ Microsoft.NET \ Framework \ v4.0.30319 \ Temporary ASP.NET 文件\ doratletica \ 2d4f66e3 \ 5486bc0d \ App_Web_site.master.cdcab7d2.eoeflm-m.0.cs" " c:\ WINDOWS \ Microsoft.NET \ Framework \ v4.0.30319 \ Temporary ASP.NET 文件\ doratletica \ 2d4f66e3 \ 5486bc0d \ App_Web_site.master.cdcab7d2.eoeflm-m.1.cs"
我发现其他人遇到同样的问题,但不仅在远程服务器上,而且无论如何都没有解决方案。 我也尝试过预编译我的解决方案,但它没有用。
提前获取任何帮助