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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:57:58+00:00 2026-05-27T13:57:58+00:00

Background: I am building a MVC3 project in C# that calls up a SharePoint

  • 0

Background:

I am building a MVC3 project in C# that calls up a SharePoint project to request data. Both projects will live on the same server, but in separate app pools.

Problem:

After adding the necessary references to SP, I can get my MVC project to build correctly; however, when I debug, I get this error:

Could not load file or assembly ‘Microsoft.SharePoint.Search’ or one of its dependencies. An attempt was made to load a program with an incorrect format.

I have referenced the ‘Microsoft.SharePoint.Search’ dll, but still no luck.

Any ideas? Many thanks!

  • 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-27T13:57:59+00:00Added an answer on May 27, 2026 at 1:57 pm

    MVC3 requires .NET 4.0 but SharePoint 2007 does not support running under .NET 4.0

    You can’t bridge this gap so you’re not going to be able to use the SharePoint object model – instead look into the SharePoint web services.

    If the web services don’t give you everything you need then you may have to create some of your own (running under the SharePoint app) and call them from your MVC3 app

    http://msdn.microsoft.com/en-us/library/bb862916(v=office.12).aspx

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

Sidebar

Related Questions

Background: I'm building a small application that will be run daily, pulling data from
Background: I am building a webapp that makes use of JQuery and the Facebook
I'm building a web site with Rails, which will do something in the background.
Right now I'm building a project management app in rails, here is some background
I'm building a background job that's updating users' statistics for a web application. The
A bit of background: I'm building an MVC app to store golf course data
A bit of background: I am building an iPhone app with a complementary server
I am building a jqgrid that needs different background (or in general, a different
Background: I'm building a view-based NSTableView-esque control in Cocoa/Objective-C that offers the ease of
Background to question: We are building an online web application that requires the user

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.