Solved

Rollback framework from 4.5.1 to 4.0

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

777 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