Error with Global.asax
I have the following error, just can't figure out why ?
Error-
Could not load type 'SomeNameSpace.Global'
<%@ Application Codebehind="Global.asax.cs" Inherits="SomeNameSpace.Global" %>
Code in Global.asax
<Code>
using System;
using System.Collections;
using System.ComponentModel;
using System.Web;
using System.Web.SessionState;
namespace SomeNameSpace
{
/// <summary>
/// Summary description for Global.
/// </summary>
public class Global : System.Web.HttpApplication
{
......
}
}
</Code>
I also get the following errors
(1)A namespace does not directly contain members such as fields or methods. Global.asax(1)
(2) Newline in constant Global.asax(1):
(3) Syntax error, '"' expected Global.asax(1):
Can any one please tell me what is this all about?..
-ashish
ashish
|