I received this error after upgrading to ASP.NET 4, "The type name 'MembershipProvider' could not be found in the namespace 'System.Web.Security'. This type has been forwarded to assembly 'System.Web.ApplicationServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' Consider adding a reference to that assembly. ASP.NET4."

You wont believe what I did to fix it... I added the reference that it asked for, System.Web.ApplicationServices.
This has happened since
MembershipUser and Other Types in the System.Web.Security Namespace Have Been Moved
Thank you. I was having a tough time tracking this one down. Most online references indicate that it's in System.Web.Security.
ReplyDeleteThanks!!!
ReplyDeletelifesaver!
ReplyDeleteThanks. MSDN still says it's in System.Web.Security.
ReplyDeleteCan't get this to work in IIS for trustedProviders! Ideas?
ReplyDeleteThanks.it worked for me...
ReplyDeletegreat
ReplyDeleteYou wont believe what I did to fix it... I added the reference that it asked for, System.Web.ApplicationServices. vintage cross necklace , handmade ladies shoes , cute anklets , embroidery on leather bags , men's embroidered leather belts , jeans with belts , boots with attached belt , mens leather bracelet
ReplyDelete