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: CS0234: The type or namespace name 'Global' does not exist in the class or namespace 'System.Web.UI.WebControls.DataGrid' (are you missing an assembly reference?)
Source Error:
C#
Line 26:
Line 27: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
Line 28: publicclassGlobal_asax : DataGrid.Global {
Line 29:
Line 30: privatestaticbool __initialized = false;
Source File: c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\datagrid\827e165f\a4dd7967\lc0v03hq.0.cs Line: 28
Show Detailed Compiler Output:
PowerShell
C:\WINDOWS\system32> "c:\windows\microsoft.net\framework\v1.1.4322\csc.exe" /t:library /utf8output /R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll" /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll" /R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll" /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\datagrid\827e165f\a4dd7967\assembly\dl2\aa1b3643\01f2251d_991cc701\datagrid.dll" /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll" /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\datagrid\827e165f\a4dd7967\lc0v03hq.dll" /D:DEBUG /debug+ /optimize- /warnaserror /w:1"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\datagrid\827e165f\a4dd7967\lc0v03hq.0.cs"
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.
c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\datagrid\827e165f\a4dd7967\lc0v03hq.0.cs(28,41): error CS0234: The type or namespace name 'Global' does not exist in the classornamespace 'System.Web.UI.WebControls.DataGrid' (areyoumissinganassemblyreference?)
Show Complete Compilation Source:
CSS
Line1: //------------------------------------------------------------------------------
Line 2: //
Line 3: // This code was generated by a tool.
Line 4: // Runtime Version: 1.1.4322.573
Line 5: //
Line 6: // Changes to this file may cause incorrect behavior and will be lost if
Line 7: // the code is regenerated.
Line 8: //
Line 9: //------------------------------------------------------------------------------
Line 10:
Line 11: namespace ASP {
Line12: using System;
Line13: using System.Collections;
Line14: using System.Collections.Specialized;
Line15: using System.Configuration;
Line16: using System.Text;
Line17: using System.Text.RegularExpressions;
Line18: using System.Web;
Line19: using System.Web.Caching;
Line20: using System.Web.SessionState;
Line21: using System.Web.Security;
Line22: using System.Web.UI;
Line23: using System.Web.UI.WebControls;
Line24: using System.Web.UI.HtmlControls;
Line25:
Line 26:
Line 27: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
Line 28: public class Global_asax : DataGrid.Global {
Line29:
Line 30: private static bool __initialized = false;
Line31:
Line 32: public Global_asax() {
Line33: if ((ASP.Global_asax.__initialized == false)) {
Line34: ASP.Global_asax.__initialized = true;
Line35: }
Line36: }
Line37: }
Line38: }
Line39:
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
Answers
Know the answer? Post it. Somebody with the same question will find it here.
Answers
Know the answer? Post it. Somebody with the same question will find it here.