find a location for property in a new city

Thursday, 15 April 2010

The type name 'MembershipProvider' could not be found in the namespace 'System.Web.Security' Upgrade to ASP.NET4

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

Follow britishdev on Twitter

12 comments:

  1. Thank you. I was having a tough time tracking this one down. Most online references indicate that it's in System.Web.Security.

    ReplyDelete
    Replies

    1. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a .Net developer learn from Dot Net Training in Chennai. or learn thru Dot Net Training in Chennai. Nowadays Dot Net has tons of job opportunities on various vertical industry.
      or Javascript Training in Chennai. Nowadays JavaScript has tons of job opportunities on various vertical industry.

      Delete
  2. Thanks. MSDN still says it's in System.Web.Security.

    ReplyDelete
  3. Can't get this to work in IIS for trustedProviders! Ideas?

    ReplyDelete
  4. Generous leads are cardinal for any business, this incorporates little Digital Marketing Company, medium and enormous undertakings. The ordinarily realized Digital Marketing Agency in India web-based promoting program that common computerized Digital Marketing Company in India can offer to its clients are Search Engine Optimization, Paid Marketing, Digital Marketing Company in Chennai

    ReplyDelete
  5. Great Article
    Cloud Computing Projects




    Networking Projects



    Final Year

    Projects for CSE





    JavaScript Training in Chennai



    JavaScript

    Training in Chennai




    The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals,

    Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer.

    Angular Training

    ReplyDelete
  6. Buy the latest Embroidered Lawn Collection from Reign and enjoy the best price with free home delivery.

    ReplyDelete