I have a problem when upload Excel files

  • Answered
I make a website using asp.net c#
On-site access to data from Excel file
my website on my computer works without errors
And on the website server and when I set Excel file Please click on the button lift gives me the following error

"The 'Microsoft.Ace.OLEDB.12.0' provider is not registered on the local machine."

my conection string is :

OleDbConnection oldbcon = new OleDbConnection("Provider=Microsoft.Ace.OLEDB.12.0;Data Source=" + path + ";Extended Properties='Excel 12.0 xml;HDR=NO;IMEX =1 ;ImpoertMixedtypes = text;typeGuessRows = 0'");

Sorry to hear you are having trouble with your Excel files on your website. I also apologize for the delay in answering, but you asked outside of our Support Center operating hours. Unfortunately, we do not work with Windows servers and do not have any support for ASP or IIS. You will likely want to contact your own hosting company for assistance with the error you are experiencing on your site.

Kindest Regards,
Scott M