Solved

Rollback framework from 4.5.1 to 4.0

Posted on 2014-07-30
3
528 Views
Last Modified: 2014-07-30
Hi I have to recompile my website from framework 4.5.1 to 4.0.30319 because of what is installed on the webserver running iis 6.  When I select recompile the website and run it I am receiving a number of errors similar to this:

The type or namespace name 'Membership' does not exist in the namespace 'Microsoft.AspNet' (are you missing an assembly reference?)      C:\Users\Documents\Visual Studio 2012\Projects\RF\Account\OpenAuthProviders.ascx.cs

How do I either exclude these references or enable them to run on framework 4?  ~if possible?
0
Comment
Question by:Scarlett72
  • 2
3 Comments
 
LVL 32

Accepted Solution

by:
sarabande earned 500 total points
Comment Utility
don't think it is so easy to rollback beside you have a full backup somewhere.

however, your framework and iis 6 should be able to handle the issue. of course your code may not be dependent on new features coming with 4.5.1

Sara
0
 

Author Comment

by:Scarlett72
Comment Utility
Thanks sarbande, I removed the reference to:  Microsoft.AspNet.OpenAuthProviders in the package.config file then removed the .dll reference to this then removed all auto generated pages in the web app that had a reference to this namespace, thankfully hadn't used anything from it then reinstalled all nuget assembly packages to the right versions.  working now.  thank you for taking the time to respond.
0
 
LVL 32

Expert Comment

by:sarabande
Comment Utility
great. good luck.

Sara
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now