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

  • Home
  • SEARCH
  • 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 3343556
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T00:58:06+00:00 2026-05-18T00:58:06+00:00

I have a mvc 3 web app, but my shared web hosting company supports

  • 0

I have a mvc 3 web app, but my shared web hosting company supports MVC 2 only.
So I deploy mvc 3 related dlls too, and it had worked well on the server till it was mvc 3 beta.

Yesterday, I upgraded my pc environment to the mvc 3 RC and rebuilt my web app. The app works well on my local pc, but when i deploy and run on the hosting server, it makes an error.

[MissingMethodException: Method not found: 'Void System.Web.Mvc.GlobalFilterCollection.Add(System.Object)'.]
Myweb.MvcApplication.RegisterGlobalFilters(GlobalFilterCollection filters) in c:\my\Global.asax.cs:18
Myweb.MvcApplication.Application_Start() in c:\my\Global.asax.cs:36

As you see, when i try to register global filter in global.asax, it says it can’t find Mvc.GlobalFilterCollection.Add(object) method.

If i do not register any global filter, the whole web works well on the hosting server.

How can I solve this error?

edit:
It seems that the mvc3 beta is registered in the GAC of the hosting server. They said it’s not, but i checked the location of the referenced System.Web.Mvc.dll in my app.

  • 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-18T00:58:07+00:00Added an answer on May 18, 2026 at 12:58 am

    From your description I looks like you have a mksmatch between the version of MVC 3 that you are using on your machine and the version that’s uploaded to your server. We changed the parameters for GlobalFilterCollection.Add and it looks like you are compiling your application on your PC using MVC 3 RC, however you are deploying it to a sever that has MVC 3 Beta. Please make sure that the version of System.Web.Mvc.dll is the right one on your sever.

    Edit: To confirm Eilon’s comment, if MVC 3 Beta is installed into the GAC then it will always win, even if you have the RC version in your app’s bin folder.

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

Sidebar

Related Questions

I have MVC 1.0 app with VS2008. I have added configuration to web.config but
I have C# MVC web app that has some textboxes that in IE9 you
I have an object which contains models for my ASP.NET MVC web app. The
Im trying to develop my first ASP.NET MVC web app and have run into
I have a web app (MVC) where I need some automatic service to run
I have a spring web app that uses Hibernate and Velocity. It's an MVC
I have configured in following way that spring MVC app using Spring 3.1.1.RELEASE web.xml
I have an ASP MVC web app and on one of the pages there
We have an MVC web app that uses FormsAuthentication and also stores a couple
I have a very simple asp.net mvc web app which uses castle active record,

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.