locked
Inherits MembershipProvider Type Expected RRS feed

  • Question

  • User488827836 posted

    Using vs 2005.

    I downloaded the code from

    http://msdn.microsoft.com/en-us/library/6tc47t75(v=vs.80).aspx

    I am getting error on the fllowing line 

    Public NotInheritable Class OdbcMembershipProvider
    Inherits MembershipProvider  <-- Type expected.

    I have references to 

    system.web.dll and system.configuration.dll

    What am I missing

    Thanks

    Wednesday, September 11, 2013 1:38 AM

All replies

  • User-821857111 posted

    I'm not getting the same problem. Copied and pasted the code as-is and added references to System.Web (v 2.0) and System.Configuration (v 2.0). What happens if you try the C# version instead?

    Wednesday, September 11, 2013 3:44 AM