Home  >  Article  >  Database  >  .net4.0开发支持MySql的Membership时遇到找不到MembershipProvid

.net4.0开发支持MySql的Membership时遇到找不到MembershipProvid

WBOY
WBOYOriginal
2016-06-07 15:08:281248browse

在.net4.0中使用System.Web.Security.MembershipProvider类时,必须引用: 'System.Web.dll' 'System.Web.ApplicationServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. 否则提示找不到MembershipProvider类。 解决了这个问题

在.net4.0中使用System.Web.Security.MembershipProvider类时,必须引用:

'System.Web.dll' 

'System.Web.ApplicationServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

否则提示找不到MembershipProvider类。

 

解决了这个问题,终于可以尝试一下Membership连接MySql数据库,呵呵。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn