简体   繁体   English

是否真的可以从Winform应用程序访问存储在http服务器(Windows或Linux)上的MS Access DB?

[英]Is it really possible to access MS Access DB stored on an http server (windows or linux) from a winform app?

As I can see here http://www.sqlstrings.com/MS-Access-connection-strings.htm 正如我在这里看到的http://www.sqlstrings.com/MS-Access-connection-strings.htm

one could 一个可以

Open connection to Access database located on a remote server: 打开与远程服务器上的Access数据库的连接:

"Provider=MS Remote; Remote Server= http://Your-Remote-Server-IP ; Remote Provider=Microsoft.Jet.OLEDB.4.0; Data Source=c:\\App1\\Your_Database_Name.mdb" “提供程序= MS远程;远程服务器= http://您的远程服务器-IP ;远程提供程序= Microsoft.Jet.OLEDB.4.0;数据源= c:\\ App1 \\ Your_Database_Name.mdb”

Did someone try this : access MS Access DB stored on a windows or http server from a winform app ? 是否有人尝试过:从Winform应用程序访问Windows或http服务器上存储的MS Access DB?

This requires the server to implement RDS for the MS Remote provider, which is now deprecated . 这要求服务器为MS Remote提供程序实现RDS, 现已弃用

Note that this worked via a service (the OLE DB Remoting Provider ) and a custom protocol (RDS), so this will not work on a linux server. 请注意,这通过服务( OLE DB Remoting Provider )和自定义协议(RDS)起作用,因此在Linux服务器上将不起作用。 It will work on a Windows server which has the MS Remote MDAC provider installed. 它将在安装了MS Remote MDAC提供程序的Windows服务器上运行。 However, it is obsolete technology, and would be better implemented using a more modern technique. 但是,它是过时的技术,使用更现代的技术可以更好地实现。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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