I am using MS Access 2013 Database name is "comm" and Password is "xyz@12345"
Web.config Connection String :
<add name="commconn" connectionString="Provider=Microsoft.ACE.OLEDB.12.0; Data Source=E:/ee/comm.accdb; Jet OLEDB:Database Password=xyz@12345;" />
When i run my WebSite it gives an Error only where my DropDownList Bind Data and the Error is this "Not a valid password."
I bind my DropDownList using this code :
<asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="AccessDataSource1" DataTextField="share_amt" DataValueField="ID">
</asp:DropDownList>
<asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/comm.accdb" SelectCommand="SELECT * FROM [share_amt] ORDER BY [ID]">
</asp:AccessDataSource>
I am using MS Access 2013 Database and ASP.Net with C#.