积极答复者
ASP.NET连接VFP配置网络路径出错

问题
-
web.config里如下配置,可以读取VFP数据
<add name="Mrp" connectionString="Provider=VFPOLEDB.1;Data Source=D:\data\db.DBC" providerName="System.Data.OleDb"/>
但是,修改为网路路径,报错(已确认网络共享文件夹正确且任何人可以访问)
<add name="Mrp" connectionString="Provider=VFPOLEDB.1;Data Source=\\192.168.10.100\data$\db.DBC" providerName="System.Data.OleDb"/>
错误:Invalid path or file name.
做有意义的事^_^
答案
-
远程服务器没有授权你的服务帐号访问吧?你的两台计算机在同一个域里面么?
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP- 已标记为答案 『刘军』 2010年8月6日 1:25
全部回复
-
远程服务器没有授权你的服务帐号访问吧?你的两台计算机在同一个域里面么?
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP- 已标记为答案 『刘军』 2010年8月6日 1:25