问题描述
在Windows 10上尝试使用Paradox FireDAC ODBC的Delphi 10.2 Tokyo会引发错误无法打开Paradox.net.此链接描述了问题: https://msdn.microsoft.com/en -us/library/bb221383(v = office.12).aspx
与Paradox表的Embarcadero FireDAC ODBC连接,默认情况下会将ParadoxNetPath设置为System32文件夹:
ODBCAdvanced = CollatingSequence = ASCII; DefaultDir = C:\ DEV \ TPDEMOS \ DATA; DriverId = 538; MaxBufferSize = 2048; MaxScanRows = 8; PageTimeout = 600; ParadoxNetPath = C:\ Windows \ system32; ParadoxNetStyle = 4.x ; ParadoxUserName = admin; SafeTransactions = 0; Threads = 3; UserCommitSync =是
对该文件夹可能没有写权限.一个简单的解决方案是尝试将其设置为用户具有读/写权限的某个位置.例如.临时文件夹.
我遇到了同样的问题.我已经在ODBC设置中定义了:ParadoxNetPath ='PDOXUSRS.NET文件路径'.
此文件必须位于当前用户具有读写权限的文件夹中,因此您不必运行作为管理员"程序.
如果使用BDE Administrator,则可以更改PDOXUSRS.NET文件的路径,该文件通常位于C:\目录的根目录.
另一种选择是仅以管理员身份运行程序,因为这是系统的主节点,所以存在的问题是,取决于应用程序的执行位置,将不允许客户端执行此操作. /p>
Trying Delphi 10.2 Tokyo with Paradox FireDAC ODBC on Windows 10 throws error Could not open Paradox.net. This link describes the problem:https://msdn.microsoft.com/en-us/library/bb221383(v=office.12).aspx
An Embarcadero FireDAC ODBC connection to Paradox table, by default will set ParadoxNetPath to System32 folder:
ODBCAdvanced=CollatingSequence=ASCII;DefaultDir=C:\DEV\TPDEMOS\DATA;DriverId=538;MaxBufferSize=2048;MaxScanRows=8;PageTimeout=600;ParadoxNetPath=C:\Windows\system32;ParadoxNetStyle=4.x;ParadoxUserName=admin;SafeTransactions=0;Threads=3;UserCommitSync=Yes
There may be no write rights to that folder. An easy solution is to try to set it to some place where user has read/write rights. Eg. Temp folder.
I was having the same problem. I have defined in the ODBC settings: ParadoxNetPath = 'PDOXUSRS.NET file path'.
This file must be in a folder where the current user has read and write permissions, so you do not have to run the "As Administrator" program.
If you use the BDE Administrator, you can change the path of the PDOXUSRS.NET file, which is usually at the root of the C: \ directory.
Another alternative would be to just run the program as Administrator, since this is the master of the system, the problem of this is that depending on where the application is executed, the client will not be allowed to do this operation.
这篇关于无法打开Paradox.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!