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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:58:15+00:00 2026-05-26T01:58:15+00:00

I’m trying to upgrade a legacy .NET remoting web services project to .NET 4.0

  • 0

I’m trying to upgrade a legacy .NET remoting web services project to .NET 4.0 in IIS7. The old project is currently running fine on 2.0. All of the projects in the solution were upgraded to 4.0, rebuilt and deployed to a new web application running in a 4.0 integrated app pool on a different server. All of the URIs to the services are configured in the web.config using *.rem extensions. Whenever I try to make calls to the services on this new project I am getting server 500 errors complaining that there was a problem with the resource I am trying to access.

When checking the Handler Mappings in IIS for this application, I’ve notice some strange behavior. Whenever I try to edit the ‘HttpRemotingHandlerFactory-rem-Integrated-4.0’ handler (which is the one I’m assuming would need to be used given the version and type of app pool I run) I get the following errors:

1) Unrecognized attribute ‘targetframework’ referring to the ‘targetFramework=”4.0″‘ in my web.config

2) If I remove that attribute, then I get the ‘The assembly Foo could not be loaded because it was built using a newer framework than the one currently loaded’

Anywhere I’ve checked says that this means I need to change the app pool to be running on 4.0 instead of 2.0, but it’s ALREADY running 4.0! I’ve checked everywhere I can, I’ve even changed the Default Web Site to be in a 4.0 app pool as well with no luck. Is there some obscure setting somewhere that I am just missing, or something that I’m not thinking of?

  • 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-26T01:58:15+00:00Added an answer on May 26, 2026 at 1:58 am

    I was able to get past the issue by changing the mode from Integrated to Classic, and running the app pool as myself (to be changed later into a user created specifically for this web app). I still get the error messages when trying to edit the integrated rem handler though, maybe it’s just an issue with that particular handler.

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

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am currently running into a problem where an element is coming back from
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I am trying to render a haml file in a javascript response like so:
Seemingly simple, but I cannot find anything relevant on the web. What is the
I have a French site that I want to parse, but am running into
I want use html5's new tag to play a wav file (currently only supported

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.