抓取结果
编译错误 “/”应用程序中的服务器错误。 编译错误 说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。 编译器错误消息: CS0234: The type or namespace name 'Main' does not exist in the namespace 'YR.PAGE.Global.ApplicationStart' (are you missing an assembly reference?) 源错误: 行 10: { 行 11: // 初始化环境和定时器 行 12: YR.PAGE.Global.ApplicationStart.Main.Do(Application, this.ApplicationStartException); 行 13: } 行 14: 源文件: C:\yrrj\20230405\ui.mrtx.cn\global.asax 行: 12 显示详细的编译器输出: C:\Windows\SysWOW64\inetsrv>C:\yrrj\20230405\ui.mrtx.cn\bin\roslyn\csc.exe /t:library /utf8output /nostdlib+ /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Runtime.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\assembly\dl3\8ddee7f5\80bece69_076cdc01\YR.UI.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\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\assembly\dl3\7078e33a\00fe012e_192fd801\BCrypt.Net-Next.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\assembly\dl3\846b9368\00dd8a2b_9ec7d701\System.Runtime.CompilerServices.Unsafe.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.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\assembly\dl3\b8cb9e0d\809b4cd9_7e6bdc01\YR.ECMS.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\assembly\dl3\20ff470a\00a4cf3f_de62d201\Imazen.WebP.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\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\assembly\dl3\2bd10be2\00c37916_0ce7d501\System.Buffers.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\assembly\dl3\985e8f2d\00fefdb7_8ccdd601\BouncyCastle.Crypto.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\assembly\dl3\05a65d14\008acba4_bc1dd901\Json2HtmlTable.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.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\assembly\dl3\2b36b6a5\00616478_7334dc01\HtmlAgilityPack.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\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\assembly\dl3\f431810f\001424c9_50ecd301\System.Numerics.Vectors.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\assembly\dl3\ba3b6d43\00d882d7_7e6bdc01\YR.DAL.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.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\assembly\dl3\51a7c26a\80908dd3_536bdc01\YR.ULT.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\assembly\dl3\f965858f\00881b6d_9ec7d701\Microsoft.Bcl.AsyncInterfaces.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_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.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\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\assembly\dl3\4439eaec\00d4e8c3_08e7d801\System.Text.Json.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\assembly\dl3\0b8e4946\806b77f9_0d6cdc01\YR.PAGE.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_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.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\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\assembly\dl3\f218da39\00eac7a6_b34fd901\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.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_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\assembly\dl3\8a9f1163\801f579a_576bdc01\YR.ET.Spider.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\assembly\dl3\f2e093e8\00079b82_e026dc01\Newtonsoft.Json.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\assembly\dl3\182234ae\00c37916_0ce7d501\System.Memory.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\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\assembly\dl3\4f4d85e3\00111095_1f86cf01\ChnCharInfo.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\assembly\dl3\286828df\00c9eb4c_9ec7d701\System.Text.Encodings.Web.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\assembly\dl3\e8f435d7\00c37916_0ce7d501\System.Threading.Tasks.Extensions.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\assembly\dl3\891df80c\00033bf6_9580d101\SimplifiedChinesePinYinConversion.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\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\assembly\dl3\898f8250\801f579a_576bdc01\YR.YUN.TOOL.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ValueTuple\v4.0_4.0.0.0__cc7b13ffcd2ddd51\System.ValueTuple.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\assembly\dl3\fa87931f\00961116_716bdc01\YR.TAB.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\Temporary ASP.NET Files\root\67ae054e\ae64ef6\assembly\dl3\0bd1b242\801f579a_576bdc01\YR.API.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\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\assembly\dl3\55946825\0007ce4c_a016da01\Pinyin4net.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 Files\root\67ae054e\ae64ef6\assembly\dl3\d5100760\00cdfdad_a2ccd901\JWT.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 Files\root\67ae054e\ae64ef6\App_global.asax.tilgh-3n.dll" /D:DEBUG /debug+ /optimize- /warnaserror- /w:4 /nowarn:1659;1699;1701;612;618 /langversion:default /nowarn:1659;1699;1701 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\App_global.asax.tilgh-3n.0.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\67ae054e\ae64ef6\App_global.asax.tilgh-3n.1.cs" Microsoft (R) Visual C# Compiler version 4.1.0-5.22114.11 (260d16a8) Copyright (C) Microsoft Corporation. All rights reserved. C:\yrrj\20230405\ui.mrtx.cn\global.asax(12,9): error CS0234: The type or namespace name 'Main' does not exist in the namespace 'YR.PAGE.Global.ApplicationStart' (are you missing an assembly reference?) C:\yrrj\20230405\ui.mrtx.cn\global.asax(19,9): error CS0234: The type or namespace name 'ApplicationEnd' does not exist in the namespace 'YR.PAGE.Global' (are you missing an assembly reference?) C:\yrrj\20230405\ui.mrtx.cn\global.asax(24,9): error CS0234: The type or namespace name 'ApplicationError' does not exist in the namespace 'YR.PAGE.Global' (are you missing an assembly reference?) C:\yrrj\20230405\ui.mrtx.cn\global.asax(33,9): error CS0234: The type or namespace name 'Main' does not exist in the namespace 'YR.PAGE.Global.RequestBegin' (are you missing an assembly reference?) C:\yrrj\20230405\ui.mrtx.cn\global.asax(41,9): error CS0234: The type or namespace name 'EndAct' does not exist in the namespace 'YR.PAGE.Global.RequestEnd' (are you missing an assembly reference?) 显示完整的编译源: 行 1: #pragma checksum "C:\yrrj\20230405\ui.mrtx.cn\global.asax" "{8829d00f-11b8-4213-878b-770e8597ac16}" "BE90392D1D1383DC32B4DC9FF1021A63E437735DD24DE92CAE85846499C7DC90" 行 2: //------------------------------------------------------------------------------ 行 3: // <auto-generated> 行 4: // 此代码由工具生成。 行 5: // 运行时版本:4.0.30319.42000 行 6: // 行 7: // 对此文件的更改可能会导致不正确的行为,并且如果 行 8: // 重新生成代码,这些更改将会丢失。 行 9: // </auto-generated> 行 10: //------------------------------------------------------------------------------ 行 11: 行 12: namespace ASP { 行 13: 行 14: #line 388 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config" 行 15: using System.Configuration; 行 16: 行 17: #line default 行 18: #line hidden 行 19: 行 20: #line 391 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config" 行 21: using System.Text.RegularExpressions; 行 22: 行 23: #line default 行 24: #line hidden 行 25: 行 26: #line 392 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config" 行 27: using System.Web; 行 28: 行 29: #line default 行 30: #line hidden 行 31: 行 32: #line 396 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config" 行 33: using System.Web.Security; 行 34: 行 35: #line default 行 36: #line hidden 行 37: 行 38: #line 400 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config" 行 39: using System.Web.UI.WebControls.WebParts; 行 40: 行 41: #line default 行 42: #line hidden 行 43: 行 44: #line 385 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config" 行 45: using System.Collections.Generic; 行 46: 行 47: #line default 行 48: #line hidden 行 49: 行 50: #line 394 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config" 行 51: using System.Web.DynamicData; 行 52: 行 53: #line default 行 54: #line hidden 行 55: 行 56: #line 386 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config" 行 57: using System.Collections.Specialized; 行 58: 行 59: #line default 行 60: #line hidden 行 61: 行 62: #line 402 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config" 行 63: using System.Xml.Linq; 行 64: 行 65: #line default 行 66: #line hidden 行 67: 行 68: #line 384 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config" 行 69: using System.Collections; 行 70: 行 71: #line default 行 72: #line hidden 行 73: 行 74: #line 389 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config" 行 75: using System.Linq; 行 76: 行 77: #line default 行 78: #line hidden 行 79: 行 80: #line 398 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config" 行 81: using System.Web.UI; 行 82: 行 83: #line default 行 84: #line hidden 行 85: 行 86: #line 397 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config" 行 87: using System.Web.Profile; 行 88: 行 89: #line default 行 90: #line hidden 行 91: 行 92: #line 390 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config" 行 93: using System.Text; 行 94: 行 95: #line default 行 96: #line hidden 行 97: 行 98: #line 401 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config" 行 99: using System.Web.UI.HtmlControls; 行 100: 行 101: #line default 行 102: #line hidden 行 103: 行 104: #line 393 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config" 行 105: using System.Web.Caching; 行 106: 行 107: #line default 行 108: #line hidden 行 109: 行 110: #line 383 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config" 行 111: using System; 行 112: 行 113: #line default 行 114: #line hidden 行 115: 行 116: #line 399 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config" 行 117: using System.Web.UI.WebControls; 行 118: 行 119: #line default 行 120: #line hidden 行 121: 行 122: #line 395 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config" 行 123: using System.Web.SessionState; 行 124: 行 125: #line default 行 126: #line hidden 行 127: 行 128: #line 387 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config" 行 129: using System.ComponentModel.DataAnnotations; 行 130: 行 131: #line default 行 132: #line hidden 行 133: 行 134: 行 135: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()] 行 136: public class global_asax : global::System.Web.HttpApplication { 行 137: 行 138: private static bool @__initialized; 行 139: 行 140: 行 141: #line 3 "C:\yrrj\20230405\ui.mrtx.cn\global.asax" 行 142: 行 143: 行 144: //捕获Application_Start方法异常 行 145: public Exception ApplicationStartException { get; set; } 行 146: 行 147: 行 148: void Application_Start(object sender, EventArgs e) 行 149: { 行 150: // 初始化环境和定时器 行 151: YR.PAGE.Global.ApplicationStart.Main.Do(Application, this.ApplicationStartException); 行 152: } 行 153: 行 154: void Application_End(object sender, EventArgs e) 行 155: { 行 156: // 在应用程序关闭时运行的代码 行 157: //清理资源 行 158: YR.PAGE.Global.ApplicationEnd.CleanResources.Do(this.Context); 行 159: } 行 160: 行 161: void Application_Error(object sender, EventArgs e) 行 162: { 行 163: YR.PAGE.Global.ApplicationError.LogInfo.Main(Context, "Application_Error"); 行 164: } 行 165: 行 166: 行 167: void Application_BeginRequest(object sender, EventArgs e) 行 168: { 行 169: //系统级别第一次初始化全局参数 行 170: //初始化防火墙 行 171: //加载路由系统 行 172: YR.PAGE.Global.RequestBegin.Main.Do(this.Application, this.Context, this.ApplicationStartException); 行 173: //站点级别第一次初始化全局参数(每个站点/节点初始化的内容不一样) 行 174: // 行 175: } 行 176: 行 177: 行 178: void Application_EndRequest(object sender, EventArgs e) 行 179: { 行 180: YR.PAGE.Global.RequestEnd.EndAct.Do(Context); 行 181: } 行 182: 行 183: 行 184: #line default 行 185: #line hidden 行 186: 行 187: 行 188: [System.Diagnostics.DebuggerNonUserCodeAttribute()] 行 189: public global_asax() { 行 190: if ((global::ASP.global_asax.@__initialized == false)) { 行 191: global::ASP.global_asax.@__initialized = true; 行 192: } 行 193: } 行 194: 行 195: protected System.Web.Profile.DefaultProfile Profile { 行 196: get { 行 197: return ((System.Web.Profile.DefaultProfile)(this.Context.Profile)); 行 198: } 行 199: } 行 200: } 行 201: } 行 202: 版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.8.4676.0
网站标题
宜昌亚荣软件开发有限公司
关键词
站点描述