I've been developing a ASP website that uses a database. It works offline when I'm testing it but as soon as I upload it to my fasthosts account I get the following error when trying to run it:
Exception Details: System.InvalidOperationException: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.
The connection string is as follows:
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$
ConnectionStrings:ThreadString %>" ProviderName="<%$
ConnectionStrings:ThreadString.ProviderName %>" SelectCommand="SELECT * FROM [Thread]
WHERE ([rank] <= ?) ORDER BY [rank]">
web.config file:
<add name="ThreadString" connectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data
Source=|DataDirectory|\Database.accdb" providerName="System.Data.OleDb" />
any ideas why this is happening? Thanks in advance