Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Rollback framework from 4.5.1 to 4.0

Posted on 2014-07-30
3
Medium Priority
?
570 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 35

Accepted Solution

by:
sarabande earned 2000 total points
ID: 40229571
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
ID: 40229704
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 35

Expert Comment

by:sarabande
ID: 40229722
great. good luck.

Sara
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

719 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