简体   繁体   中英

How to upload excel file without access ODBC driver

I am using access ODBC driver "provider=Microsoft.ACE.OLEDB.12.0;" in my ASP.NET Web application. But I don't want to install the driver on each machine to use my Web App. Please suggest something to do to avoid installing the driver.

There seems to be some kind of misconceptions here.

The WHOLE idea of a web server? Well, you setup and install the required software and drivers and systems and software on the web server. Once done, then anything from a iPad to a smartphone to a computer ONLY requires a web browser. So client side software is simply a browser. Is that not why we like and use web applications?

However, if you going to use say SQL server on the web site? Then yes, you have to setup + install the appropriate SQL server drivers on that site.

And if you going to use MySQl on that web site? Then yes, you have to setup + install the appropriate MySQL server drivers on that server hosting the web site.

And lo and behold? If you going to use Excel, or MS Access on that web site? Take a wild guess here? Then once again you have to setup + install the MS-access drivers on that web site.

So it not clear really what you are asking here?

But to answer your question?

If you going to use some kind of database on your server hosting the web site? Well then you have to ensure that the correct drivers are installed. How this works for MS-access, Oracle, MySQL, SQL server or any database is the SAME.

You simple have to ensure that such database systems and drivers are available on that server hosting the web site.

And if you looking to have this application work on other servers and web sites? Then of course once again, be it Oracle, MySQL, MS-access or any other database system? Then you have to ensure the correct database drivers are setup and installed on that web server. How this works for ANY database system you plan to use is the same. MS-Access is not any kind of special exception here at all.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM