Solved

Rollback framework from 4.5.1 to 4.0

Posted on 2014-07-30
3
543 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 33

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 33

Expert Comment

by:sarabande
ID: 40229722
great. good luck.

Sara
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

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:…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…

856 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