c# - How do I fix a Database Authentication Error -


when run aspx file this:

      no error message available, result code: db_sec_e_auth_failed(0x80040e4d). 

why happening exactly?

here web.config file:

 <add name="2007 database  05-12-2013(esfahanian's conflicted copy 2013-06-24)   connectionstring" connectionstring="provider=microsoft.jet.oledb.4.0;data    source=" providername="system.data.oledb"/> 

and here relative path in aspx file:

<script runat="server">     string connectionstring = configurationmanager     .connectionstrings["2007 database      05-12-2013(esfahanian's conflicted copy 2013-06-24)connectionstring"]    .connectionstring + httpcontext.current.server.mappath(@"anderson\2007      database 05-12-2011 (esfahanian's conflicted copy 2013-06-24).mdb"); </script> 

your connection string not right. "name" property used internally application, in case, .aspx file. need have name of database file somewhere in actual connection string.

here favorite source things connection string: http://www.connectionstrings.com


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -