c# - Could not load file or assembly 'MySql.Web, Version=6.7.4.0, Culture=neutral -


i working on asp.net mvc-5 web application. inside login view, when user click on submit , following exception raised:-

could not load file or assembly 'mysql.web, version=6.7.4.0, culture=neutral, publickeytoken=c5687fc88969c44d' or 1 of dependencies. system cannot find file specified. 

now commnted the

connectionstringname="localmysqlserver" applicationname="/" />-->       </providers> 

from machine.config file under location:-

c:\windows\microsoft.net\framework64\v4.0.30319\config 

but did not solve problem,, can adivce on please ? thanks

edit

here whole web.config file:-

    <?xml version="1.0" encoding="utf-8"?> <!--   more information on how configure asp.net application, please visit   http://go.microsoft.com/fwlink/?linkid=301880   --> <configuration>   <appsettings>     <add key="webpages:version" value="3.0.0.0" />     <add key="webpages:enabled" value="false" />     <add key="clientvalidationenabled" value="true" />     <add key="unobtrusivejavascriptenabled" value="true" />   </appsettings>   <system.web>     <membership>       <providers>         <add name="testdomain1admembershipprovider" type="system.web.security.activedirectorymembershipprovider, system.web, version=4.0.0.0, &#xa;            culture=neutral, publickeytoken=b03f5f7f11d50a3a" connectionstringname="domainconnectionstring" connectionusername="tgroup\administrator" connectionpassword="******" attributemapusername="samaccountname"/>        </providers>     </membership>     <compilation debug="true" targetframework="4.5" />     <httpruntime targetframework="4.5" />     <authentication mode="forms">       <forms loginurl="~/account/login" timeout="2880"/>     </authentication>   </system.web>   <runtime>     <assemblybinding xmlns="urn:schemas-microsoft-com:asm.v1">       <dependentassembly>         <assemblyidentity name="webgrease" publickeytoken="31bf3856ad364e35" culture="neutral" />         <bindingredirect oldversion="0.0.0.0-1.5.2.14234" newversion="1.5.2.14234" />       </dependentassembly>     </assemblybinding>   </runtime>   <connectionstrings>     <add name="domainconnectionstring" connectionstring="ldap://win-spdev.tgroup.local/ou=domain controllers,dc=tgroup,dc=local"/>    </connectionstrings> </configuration> 

here complete error:-

server error in '/' application. --------------------------------------------------------------------------------   configuration error    description: error occurred during processing of configuration file required service request. please review specific error details below , modify configuration file appropriately.    parser error message: not load file or assembly 'mysql.web, version=6.7.4.0, culture=neutral, publickeytoken=c5687fc88969c44d' or 1 of dependencies. system cannot find file specified.  source error:     line 249:      <providers> line 250:        <add name="aspnetsqlmembershipprovider" type="system.web.security.sqlmembershipprovider, system.web, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a" connectionstringname="localsqlserver" enablepasswordretrieval="false" enablepasswordreset="true" requiresquestionandanswer="true" applicationname="/" requiresuniqueemail="false" passwordformat="hashed" maxinvalidpasswordattempts="5" minrequiredpasswordlength="7" minrequirednonalphanumericcharacters="1" passwordattemptwindow="10" passwordstrengthregularexpression="" /> line 251:        <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="" /> line 252:      </providers> line 253:    </membership> 

what references project have? though you're not referencing mysql directly, have reference assembly has dependency on particular version of mysql.


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -