Solved

Rollback framework from 4.5.1 to 4.0

Posted on 2014-07-30
3
552 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 34

Accepted Solution

by:
sarabande earned 500 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 34

Expert Comment

by:sarabande
ID: 40229722
great. good luck.

Sara
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

729 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