I keep getting a parser error in my global_asax.

Posted on 2011-05-12
Last Modified: 2012-05-11
I am writing a web project in VS2010, however I keep getting a parser error. I originally called thie project "Features" and changed the name to "CardsISFeatures". It is not working now.  Any thoughts? I'm kind at a loss.
The Assembly Name is "CardsISFeatures".
The Root Namespace is "CardsISFeatures".
Here is the first line of the global.asax:
<%@ Application Codebehind="Global.asax.vb" Inherits="CardsISFeatures.Global_asax" Language="vb" %>

Here is the beginning of the global_asax.vb:
Imports System.Web.SessionState
Imports System.Data.SqlClient
Imports CardsISFeatures

Public Class Global_asax
    Inherits System.Web.HttpApplication
Here is my error:
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type 'CardsISFeatures.Global_asax'.

Source Error:

Line 1:  <%@ Application Codebehind="Global.asax.vb" Inherits="CardsISFeatures.Global_asax" Language="vb" %>

Source File: /global.asax    Line: 1
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
Question by:Purtman15
    LVL 18

    Expert Comment

    Please check the namespace of the class of code behind
    LVL 18

    Expert Comment

    namespace of Global_asax class

    Author Comment

    I did check it.  I even added a namespace of "CardsISFeatures" even though the root name is CardsISFeatures. It didn't work either time.
    LVL 18

    Expert Comment

    Please post your Global.asax.vb


    Accepted Solution

    dj, sorry I never saw this comment come up. Somebody here suggested the location of my compile. I changed that to the bin folder in the same project folder, and it now works. Thanks for your suggestions.

    Author Closing Comment

    It was provided by a co-worker.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

    It’s quite interesting for me as I worked with Excel using for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
    IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now