Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8405149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T22:46:39+00:00 2026-06-09T22:46:39+00:00

I converted my MVC – 3 project to MVC – 4 project by following

  • 0

I converted my MVC – 3 project to MVC – 4 project by following this tutorial. I just created new MVC – 4 project , copy all existing controllers, views, models, contents from MVC – 3 project to newly created project. Then completed all manually conversion steps from the tutorial. Now after doing all this when i run MVC – 4 project i got this following exception page :

Can anybody please explain me how to solve this issue?

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T22:46:41+00:00Added an answer on June 9, 2026 at 10:46 pm

    The class name in the inherits attribute in the Global.asax (right click view markup) should match the class name and namespace in the Global.asax.cs

    Right now you have

    <%@ Application Codebehind="Global.asax.cs" 
                    Inherits="SiteBuilderAzure_MVC_4.MvcApplication" Language="C#" %>
    

    But I guess in your Global.asax.cs you have your MvcApplication in different namespace:

    namespace SomeOtherNamespace
    {
        public class MvcApplication : System.Web.HttpApplication
        {
        }
    }
    

    So just make sure that you use the correct MvcApplication namespace in your Inherits

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been experimenting with ASP.NET MVC and following this tutorial to create the basic
I converted my project from MVC 1 to MVC 2 and Visual Studio 2008
I just converted a my controller to asyncController in asp.net mvc 2. (ie: spliting
I have a new converted MVC2 project running against the MVC2 source code. I
I'm new to Spring. I worked through the sections of this tutorial that cover
I have converted my classic asp.net mvc views to razor. In a view there
I recently converted a project to visual studio 2010 then to mvc 3 and
I have a Asp.net MVC 2 project. My start page has following link: http://localhost:2666/Home/Index?SomeID=4f62c452-4513-4dd0-b235-830d721815e4
My company has a web forms project that we converted to an MVC 3
I'm trying to use the new bundling feature in a project I recently converted

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.