I get this during compile in Visual Studio .net 2005.
I am also getting the same type error on other lines like these below:
The name 'G_conn_string' does not exist in the current context
The name 'G_site' does not exist in the current context
---------------------------------------------------------
The default page and lincludes at the top:
<%@ Page Language="C#" Debug="true" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.SqlClient" %>
<%@ Register TagPrefix="ScitationReports" TagName="sci_head" src="sci_head.ascx" %>
<%@ Register TagPrefix="ScitationReports" TagName="global" src="global.ascx" %>
void Page_Load( Object sender , EventArgs e )
{
LoadGlobals ( sender , e );
}
---------------------------------------------------------
---------------------------------------------------------
Global.ascx contains the following:
<%@ Control Language="C#" ClassName="global" %>
<%@ Import Namespace="System.Data.SqlClient" %>
---------------------------------------------------------
Replies
Know the answer? Post it — somebody with the same question will find it here.