无法加载文件或程序集“MySql.Web,版本= 6.8.3.0 [英] Could not load file or assembly 'MySql.Web, Version=6.8.3.0
问题描述
ASP.NET 配置会抛出无法加载文件或程序集MySql.Web,版本= 6.8.3.0,0,...
尝试时以添加新的用户
<添加名称=MySQLMembershipProviderTYPE =MySql.Web.Security.MySQLMembershipProvider,MySql.Web,版本= 6.8.3.0,文化=中性公钥= c5687fc88969c44d
的connectionStringName =LocalMySqlServerenablePasswordRetrieval =假
enablePasswordReset设置=真requiresQuestionAndAnswer =真
的applicationName =/requiresUniqueEmail =假了passwordFormat =清除
maxInvalidPasswordAttempts =5minRequiredPasswordLength =7minRequiredNonalphanumericCharacters =1passwordAttemptWindow =10
passwordStrengthRegularEx pression =/>
您可能会安装/重新安装的MySQL Connector或尝试以下步骤:
1)转到Machine.config中。
32位操作系统:
C:\\ WINDOWS \\ Microsoft.NET \\框架[版本] \\ CONFIG \\ machine.config中
64位操作系统:
C:\\ WINDOWS \\ Microsoft.NET \\ Framework64 [版本] \\ CONFIG \\ machine.config中
2)然后删除或注释掉下面几行:
<添加名称=MySQLRoleProviderTYPE =MySql.Web.Security.MySQLRoleProvider,MySql.Web,版本= 6.7.4.0,文化=中性公钥= c5687fc88969c44d的connectionStringName =LocalMySqlServer的applicationName =//><添加名称=MySQLMembershipProviderTYPE =MySql.Web.Security.MySQLMembershipProvider,MySql.Web,版本= 6.7.4.0,文化=中性公钥= c5687fc88969c44d的connectionStringName =LocalMySqlServerenablePasswordRetrieval =假enablePasswordReset设置=真正的requiresQuestionAndAnswer =真的applicationName =/requiresUniqueEmail =假了passwordFormat =清除maxInvalidPasswordAttempts =5minRequiredPasswordLength =7minRequiredNonalphanumericCharacters =1passwordAttemptWindow =10passwordStrengthRegularEx pression = />
希望这有助于...
ASP.NET configuration throws Could not load file or assembly 'MySql.Web, Version=6.8.3.0,0,…
when trying to add a new user
<add name="MySQLMembershipProvider" type="MySql.Web.Security.MySQLMembershipProvider, MySql.Web, Version=6.8.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d"
connectionStringName="LocalMySqlServer" enablePasswordRetrieval="false"
enablePasswordReset="true" requiresQuestionAndAnswer="true"
applicationName="/" requiresUniqueEmail="false" passwordFormat="Clear"
maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10"
passwordStrengthRegularExpression="" />
You might install/reinstall MySQL Connector or try the steps below:
1) Go to machine.Config.
for 32 bit Operating System: C:\Windows\Microsoft.NET\Framework[version]\config\machine.config
for 64 bit Operating System: C:\Windows\Microsoft.NET\Framework64[version]\config\machine.config
2) Then remove or comment out these lines below:
<add name="MySQLRoleProvider" type="MySql.Web.Security.MySQLRoleProvider, MySql.Web, Version=6.7.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" connectionStringName="LocalMySqlServer" applicationName="/"/>
<add name="MySQLMembershipProvider" type="MySql.Web.Security.MySQLMembershipProvider, MySql.Web, Version=6.7.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" connectionStringName="LocalMySqlServer" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="false" passwordFormat="Clear" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" passwordStrengthRegularExpression=""/>
Hope this helps...
这篇关于无法加载文件或程序集“MySql.Web,版本= 6.8.3.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!