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 627901
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:34:42+00:00 2026-05-13T19:34:42+00:00

I am currently working on another issue in my ASP.NET MVC project. In an

  • 0

I am currently working on another issue in my ASP.NET MVC project. In an effort to better understand what is happening in the codebase I decided to reference the ASP.NET MVC Source Code project in my own project by adding the solution file to my references.

When I did this, I started getting HTTP 404 errors.

It just so happens I had a breakpoint set on the OnException() method of the HandleErrorAttribute, otherwise it might have taken a long time to find the actual problem. When I hover over the filterContext parameter in the OnException method call, I get this Exception description:

    The type 'System.Web.Mvc.ViewMasterPage' is ambiguous: 
        it could come from assembly [path to assembly in GAC] 
        or from assembly [path to assembly in my project] 

The assembly in the GAC is there because I installed the ASP.NET MVC 2.0 RC2 release.

How do I best resolve this ambiguity?

  • 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-05-13T19:34:42+00:00Added an answer on May 13, 2026 at 7:34 pm

    System.Web.Mvc is referenced in Web.Config, in the <Compilation><Assemblies> section. In my application, this entry has a public key token attribute.

    I solved the problem by removing the PublicKeyToken attribute.

    So this:

    <add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral,
         PublicKeyToken=31BF3856AD364E35"/> 
    

    becomes this:

    <add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral"/> 
    

    Apparently Visual Studio can’t find the signed assembly in the GAC when the PublicKeyToken is missing, so it is forced to use the local project assembly.

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

Sidebar

Related Questions

I'm currently working on an Intranet application project, using ASP.NET MVC 3. One of
I am currently working on a prototype ASP.NET MVC 3 solution that will be
I am currently working with a generic handler in asp.net. I believe it is
I'm working on a typical CRUD application in ASP.NET MVC where there will be
I'm currently working on a web app/game using C# and ASP.NET(3.5). However, I'm running
I'm running into a minor issue with some ASP.Net code I'm working on. For
I'm currently working on a WCF service that reaches out to another service to
Currently working on a site built in Django and i'm getting an issue when
I am a brand new Java developer (I have been working in asp.net) and
I am working with an asp.net 2.0 site (call it site 1) which has

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.