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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T02:48:16+00:00 2026-06-13T02:48:16+00:00

I was trying to add upshot to my mvc 4 project. My problem is

  • 0

I was trying to add upshot to my mvc 4 project.

My problem is that i am needed to add System.Json and System.Web.Http.Common to get

@(Html.UpshotContext(bufferChanges: true).DataSource<S_Innovations.TrafficTheory.Web2.APIControllers.TheoryTestsController>(x => x.GetTheoryTests()))

working.

After adding Json i get Could not load file or assembly ‘System.Web.Http.Common, and when i add this i cant compile.

Error   15  The type 'System.Web.Http.RouteParameter' exists in both 'g:\Documents\Visual Studio 2012\Projects\S-Innovations.TrafficTheory\packages\System.Web.Http.Common.4.0.20126.16343\lib\net40\System.Web.Http.Common.dll' and 'g:\Documents\Visual Studio 2012\Projects\S-Innovations.TrafficTheory\packages\Microsoft.AspNet.WebApi.Core.4.0.20710.0\lib\net40\System.Web.Http.dll' G:\Documents\Visual Studio 2012\Projects\S-Innovations.TrafficTheory\S-Innovations.TrafficTheory.Web2\App_Start\WebApiConfig.cs 19
  • 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-13T02:48:16+00:00Added an answer on June 13, 2026 at 2:48 am

    The problem is that you have 2 different references to the System.Web.Http.dll. Once from the System.Web.Http.Common package and the other from the Microsoft.AspNet.WebApi.Core pakage.

    I think you will have to remove one of the packages and it will work. An other thing you can do is look in the reference folder and search for the duplicate reference.

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

Sidebar

Related Questions

I'm trying to add upshot goodness to an existing MVC project. On the line
I'm trying add a tab to my web page that looks like this: Using
Im new to asp.net mvc. I'm trying add new model class but it got
Trying to add a 'class' html attribute, but I think the keyword 'class' is
I am trying add two columns in a text file that are seperated by
Im trying to add a button in my grid view that will redirect me
I'm trying add a directory of jar files (or barring that, each jar file
Trying to add my event handler to ComponentDispatcher.ThreadPreprocessMessage event like this: using System; using
Trying to add a border to the thumbnail video that's playing in the iframe.
I'm trying add some implicit rules in CMake that will generate direct dependencies (like

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.