起步软件技术论坛-X3

 找回密码
 立即注册
搜索
查看: 15046|回复: 4

BDE错误的解决方法

[复制链接]
发表于 2004-5-26 08:46:09 | 显示全部楼层 |阅读模式
BDE Error 000F means the buffer manager run out of memory.
Theoretically lots of things might cause this error. Increasing the BDE SHAREDMEMSIZE parameter in BDE Admin may solve the problem, or just delay the error from occuring. In general, when this error occurs you must do less of something to make the error not occur.  
$2109 : Cannot load IDAPI32.DLL.
(1) the Path does not point to the BDE directory,
(2) IDAPIxx.DLL is damaged or is opened in non-shared mode by another program
(3) the BDE is not installed or has been damaged.

(2) _might_ happen if you install the BDE but don't reboot, or perhaps if there's a virus in the system.  If (3), reinstalling the BDE should fix this


解决方法:
1、        是否已安装BDE,安装以后是否已经重启
2、        检查注册表“HKEY_LOCAL_MACHINE\SOFTWARE\Borland\Database Engine\DLLPATH”目录下是否有IDAPI32.DLL,与正常的文件比较是否被损坏。
3、        修改IDAPI32.DLL的文件名,如果不能修改的话,重新启动计算机

$2501 : Insufficient memory for this operation.
Perhaps something in your new version is using the memory address that the BDE is trying to use.

解决方法:
在BDE Administrator程序中调整“System\Init”项目中的SharedMemSize属性,默认此属性的设置为2M字节,对于稍复杂一点的数据库应用而言实在是太小了(对比ORACLE或者SQL Server则动辄是几十M的内存占用),所以请调整此属性为合适值。同时注意要调整MemSize属性,保证SharedMemSize不大于MemSize属性。
"Index is out of date" ($2F02) or "Blob has been modified" ($3302)
Problem: A table has become corrupted.
Solution: There are several known situations that can cause this to happen. Here are some of the more popular causes:
1) Set LOCAL SHARE to TRUE on all workstations.
2) Make sure the application sets the Session.PrivateDir property to a local directory (not shared).
3) Make sure all workstations point to the same shared directory for the NET DIR setting (Session.NetFileDir).
4) Disable Opportunistic Locking on Windows NT/2000 workstations and file servers. Click here for more info.
5) If any system on the network is running Windows 95 and has an older version of VREDIR.VXD (4.00.1113 or 4.00.1114) update that workstation. Check out this MSKB article for an update to VREDIR.VXD.
6) Make sure your application properly closes all files before terminating.
7) Try making NetBEUI your default networking protocol on all workstations.
To repair your tables, you can download the Borland Table Repair Utility and rebuild your tables. You can also repair your tables if you have a copy of Paradox installed by using its built-in Table Repair facility.
Read Borland Technical Information Document TI3342 for more information about this error and its causes.

"Directory is controlled by another .NET file" ($2C06)
Problem #1: The application terminated abnormally and left .LCK and .NET files floating around.
Solution #1: Close all BDE applications and search for and delete the following files at the file server and all workstations: PDOXUSRS.NET, PDOXUSRS.LCK, PARADOX.LCK

Problem #2: Multiple workstations accessing the same table are referencing the NET DIR differently.
Solution #2: The NET DIR (in BDEADMIN or your application's NetFileDir parameter) should be configured using the exact same path (only the drive letter may differ) to reference the NET DIR on all workstations. Using UNC for the path may help with consistency and thus help resolve this error. Read Borland Technical Article TI247B for more information about proper configuration of the BDE in a networked environment.

"Table is Full" ($2507)
Problem: A table has exceeded one of the internal BDE or Paradox file limits.
Solution: You have probably hit the limit on the number of blocks that a Paradox table can contain (65535 blocks). In order to store additional records in the file, you'll need to increase the table's block size to allow each block to hold more records. Read this Borland Technical Information Document for more information about this error, its causes, and solutions. To read more about the limitations of Paradox files and the BDE, see Borland Technical Information Document TII59B


"Insufficient memory for this operation" ($2501)
Problem: Your application (or another BDE application) has exhausted the memory available to the BDE.
Solution:
1) Close all BDE applications.
3) Run BDEADMIN.EXE and click on the Configuration tab.
4) There should be an item in the treeview on the left side called "Configuration". If it's not expanded, expand it.
5) Next, expand the System entry below it. Under System, select INIT.
6) In the right-side window, find the entry called "SHAREDMEMSIZE". Change this value to 4096.
7) Next, click on the word "Object" in the main window's menu bar, and select Apply.
8) Answer "OK" to the confirmation to "Save all edits...".

You can now try to start your application again. If you still have trouble running the application and you are running Windows NT or Windows 2000, follow the same instructions above, but this time leave the SHAREDMEMSIZE property at 4096, and change the SHAREDMEMLOCATION property to "0x5BDE". Then apply the changes as before, and retry your application. If you still receive the same error, try changing SHAREDMEMSIZE to 8192. If the error continues to persist, you can also try "0x6BDE" for SHAREDMEMLOCATION. If the error still continues to persist, you can also try other values for SHAREDMEMLOCATION. (See solution for error $210D below.)

"Shared memory conflict ($210D)
Problem: The BDE is trying to use a location in memory that is already in use by the operating system or another application.
Solution:
1) Close all BDE applications.
2) Find the program BDEADMIN.EXE. This is usually in a directory somewhere under "\Program Files\Borland...".
3) Run BDEADMIN.EXE and click on the Configuration tab.
4) There should be an item in the treeview on the left side called "Configuration". If it's not expanded, expand it.
5) Next, expand the System entry below it. Under System, select INIT.
6) In the right-side window, find the entry called "SHAREDMEMLOCATION". Change this value to 5BDE.
7) Next, click on the word "Object" in the main window's menu bar, and select Apply.
8) Answer "OK" to the confirmation to "Save all edits...".

Other values that may also help solve this issue on NT or Windows 2000 are: 1000, 7000, and 7F00. If none of these values resolve the issue, you may try 2000, 3000, 4000, etc. or any values in between the specified ranges below for each operating system:
    Windows 95/98: SHAREDMEMLOCATION = 9000 to FFFF
    Windows NT/2000: SHAREDMEMLOCATION = 1000 to 7F00
It has also been reported by some users that removing or disabling the driver for a sound card on Windows NT can resolve the issue as well, but normally just "relocating" the BDE's memory pool using the SHAREDMEMLOCATION setting will suffice.

"Lock file has grown too large" ($2517)
Problem: There are several causes for this error.
Solution: The most common cause of this error is having the table you are accessing located in the same directory as the executable itself. Also set the NetFileDir and PrivateDir properties (of the Session object) to point to different directories. The PrivateDir property should be a directory on the local system's hard drive for maximum performance and stability. Read this Borland Technical Information Document for more information about this error, its causes, and solutions.
"Too many open files.You may to increase MAXFILEHANDLE limit in IDAPI configuration"
BDE的最大打开文件数目默认为48,在系统中如果多连接几个数据集,可能会出现此错误。

    增大BDE数据库文件连接,即可解决此问题,请按照下列步骤进行:

1、“开始”-“设置”-“控制面板”中执行“BDE Administrators”。

2、选择左边选项卡的“Configuration”。

3、展开树型结构“Configuration\SYSTEM\INIT”。

4、在右边列表中修改“MAXFILEHANDLES”项到适当值,如128;

5、保存退出设置以后,重新启动应用程序。

BDE错误的解决方法.rar

9.32 KB, 下载次数: 243

回复

使用道具 举报

 楼主| 发表于 2004-5-26 08:49:21 | 显示全部楼层

查看BDE错误信息的工具

运行这个程序,在Error Number中输入错误号,(缺省显示的是16进制,因此请选择Hexdecimal)

bdeerr32.rar

84.9 KB, 下载次数: 208

回复 支持 反对

使用道具 举报

 楼主| 发表于 2004-5-26 09:10:42 | 显示全部楼层

BDE错误代码与错误信息对照

System Related (Fatal Error)
十进制 十六进制

  8449 : $2101 : Cannot open a system file.
  8450 : $2102 : I/O error on a system file.
  8451 : $2103 : Data structure corruption.
  8452 : $2104 : Cannot find Engine configuration file.
  8453 : $2105 : Cannot write to Engine configuration file.
  8454 : $2106 : Cannot initialize with different
                 configuration file.
  8455 : $2107 : System has been illegally re-entered.
  8456 : $2108 : Cannot locate IDAPI32  .DLL.
  8457 : $2109 : Cannot load IDAPI32  .DLL.
  8458 : $210A : Cannot load an IDAPI service library.
  8459 : $210B : Cannot create or open temporary file.
  8460 : $210C : Trying to load multiple IDAPIxx.DLL
  8461 : $210D : Shared Memory Conflict

Object of Interest not Found

  8705 : $2201 : At beginning of table.
  8706 : $2202 : At end of table.
  8707 : $2203 : Record moved because key value changed.
  8708 : $2204 : Record/Key deleted.
  8709 : $2205 : No current record.
  8710 : $2206 : Could not find record.
  8711 : $2207 : End of BLOB.
  8712 : $2208 : Could not find object.
  8713 : $2209 : Could not find family member.
  8714 : $220A : BLOB file is missing.
  8715 : $220B : Could not find language driver.

Physical Data Corruption

  8961 : $2301 : Corrupt table/index header.
  8962 : $2302 : Corrupt file - other than header.
  8963 : $2303 : Corrupt Memo/BLOB file.
  8965 : $2305 : Corrupt index.
  8966 : $2306 : Corrupt lock file.
  8967 : $2307 : Corrupt family file.
  8968 : $2308 : Corrupt or missing .VAL file.
  8969 : $2309 : Foreign index file format.

I/O related error

  9217 : $2401 : Read failure.
  9218 : $2402 : Write failure.
  9219 : $2403 : Cannot access directory.
  9220 : $2404 : File Delete operation failed.
  9221 : $2405 : Cannot access file.
  9222 : $2406 : Access to table disabled because of
                 previous error.

Resource or Limit error

  9473 : $2501 : Insufficient memory for this operation.
  9474 : $2502 : Not enough file handles.
  9475 : $2503 : Insufficient disk space.
  9476 : $2504 : Temporary table resource limit.
  9477 : $2505 : Record size is too big for table.
  9478 : $2506 : Too many open cursors.
  9479 : $2507 : Table is full.
  9480 : $2508 : Too many sessions from this workstation.
  9481 : $2509 : Serial number limit (Paradox).
  9482 : $250A : Some internal limit (see context).
  9483 : $250B : Too many open tables.
  9484 : $250C : Too many cursors per table.
  9485 : $250D : Too many record locks on table.
  9486 : $250E : Too many clients.
  9487 : $250F : Too many indexes on table.
  9488 : $2510 : Too many sessions.
  9489 : $2511 : Too many open databases.
  9490 : $2512 : Too many passwords.
  9491 : $2513 : Too many active drivers.
  9492 : $2514 : Too many fields in Table Create.
  9493 : $2515 : Too many table locks.
  9494 : $2516 : Too many open BLOBs.
  9495 : $2517 : Lock file has grown too large.
  9496 : $2518 : Too many open queries.
  9498 : $251A : Too many BLOBs.
  9499 : $251B : File name is too long for a Paradox version
                 5.0 table.
  9500 : $251C : Row fetch limit exceeded.
  9501 : $251D : Long name not allowed for this tablelevel.
  9502 : $251E : Insufficient shared memory available.

Integrity Violation

  9729 : $2601 : Key violation.
  9730 : $2602 : Minimum validity check failed.
  9731 : $2603 : Maximum validity check failed.
  9732 : $2604 : Field value required.
  9733 : $2605 : Master record missing.
  9734 : $2606 : Master has detail records. Cannot delete or
                 modify.
  9735 : $2607 : Master table level is incorrect.
  9736 : $2608 : Field value out of lookup table range.
  9737 : $2609 : Lookup Table Open operation failed.
  9738 : $260A : Detail Table Open operation failed.
  9739 : $260B : Master Table Open operation failed.
  9740 : $260C : Field is blank.
  9741 : $260D : Link to master table already defined.
  9742 : $260E : Master table is open.
  9743 : $260F : Detail table(s) exist.
  9744 : $2610 : Master has detail records. Cannot empty it.
  9745 : $2611 : Self referencing referential integrity must
                 be entered one at a time with no other
                 changes to the table
  9746 : $2612 : Detail table is open.
  9747 : $2613 : Cannot make this master a detail of another
                 table if its details are not empty.
  9748 : $2614 : Referential integrity fields must be
                 indexed.
  9749 : $2615 : A table linked by referential integrity
                 requires password to open.
  9750 : $2616 : Field(s) linked to more than one master.
  9751 : $2617 : Expression validity check failed.

Invalid Request

  9985 : $2701 : Number is out of range.
  9986 : $2702 : Invalid parameter.
  9987 : $2703 : Invalid file name.
  9988 : $2704 : File does not exist.
  9989 : $2705 : Invalid option.
  9990 : $2706 : Invalid handle to the function.
  9991 : $2707 : Unknown table type.
  9992 : $2708 : Cannot open file.
  9993 : $2709 : Cannot redefine primary key.
  9994 : $270A : Cannot change this RINTDesc.
  9995 : $270B : Foreign and primary key do not match.
  9996 : $270C : Invalid modify request.
  9997 : $270D : Index does not exist.
  9998 : $270E : Invalid offset into the BLOB.
  9999 : $270F : Invalid descriptor number.
10000 : $2710 : Invalid field type.
10001 : $2711 : Invalid field descriptor.
10002 : $2712 : Invalid field transformation.
10003 : $2713 : Invalid record structure.
10004 : $2714 : Invalid descriptor.
10005 : $2715 : Invalid array of index descriptors.
10006 : $2716 : Invalid array of validity check descriptors.
10007 : $2717 : Invalid array of referential integrity
                 descriptors.
10008 : $2718 : Invalid ordering of tables during restructure.
10009 : $2719 : Name not unique in this context.
10010 : $271A : Index name required.
10011 : $271B : Invalid session handle.
10012 : $271C : invalid restructure operation.
10013 : $271D : Driver not known to system.
10014 : $271E : Unknown database.
10015 : $271F : Invalid password given.
10016 : $2720 : No callback function.
10017 : $2721 : Invalid callback buffer length.
10018 : $2722 : Invalid directory.
10019 : $2723 : Translate Error. Value out of bounds.
10020 : $2724 : Cannot set cursor of one table to another.
10021 : $2725 : Bookmarks do not match table.
10022 : $2726 : Invalid index/tag name.
10023 : $2727 : Invalid index descriptor.
10024 : $2728 : Table does not exist.
10025 : $2729 : Table has too many users.
10026 : $272A : Cannot evaluate Key or Key does not pass
                 filter condition.
10027 : $272B : Index already exists.
10028 : $272C : Index is open.
10029 : $272D : Invalid BLOB length.
10030 : $272E : Invalid BLOB handle in record buffer.
10031 : $272F : Table is open.
10032 : $2730 : Need to do (hard) restructure.
10033 : $2731 : Invalid mode.
10034 : $2732 : Cannot close index.
10035 : $2733 : Index is being used to order table.
10036 : $2734 : Unknown user name or password.
10037 : $2735 : Multi-level cascade is not supported.
10038 : $2736 : Invalid field name.
10039 : $2737 : Invalid table name.
10040 : $2738 : Invalid linked cursor expression.
10041 : $2739 : Name is reserved.
10042 : $273A : Invalid file extension.
10043 : $273B : Invalid language Driver.
10044 : $273C : Alias is not currently opened.
10045 : $273D : Incompatible record structures.
10046 : $273E : Name is reserved by DOS.
10047 : $273F : Destination must be indexed.
10048 : $2740 : Invalid index type
10049 : $2741 : Language Drivers of Table and Index do not
                 match
10050 : $2742 : Filter handle is invalid
10051 : $2743 : Invalid Filter
10052 : $2744 : Invalid table create request
10053 : $2745 : Invalid table delete request
10054 : $2746 : Invalid index create request
10055 : $2747 : Invalid index delete request
10056 : $2748 : Invalid table specified
10058 : $274A : Invalid Time.
10059 : $274B : Invalid Date.
10060 : $274C : Invalid Datetime
10061 : $274D : Tables in different directories
10062 : $274E : Mismatch in the number of arguments
10063 : $274F : Function not found in service library.
10064 : $2750 : Must use baseorder for this operation.
10065 : $2751 : Invalid procedure name
10066 : $2752 : The field map is invalid.

Locking/Contention related

10241 : $2801 : Record locked by another user.
10242 : $2802 : Unlock failed.
10243 : $2803 : Table is busy.
10244 : $2804 : Directory is busy.
10245 : $2805 : File is locked.
10246 : $2806 : Directory is locked.
10247 : $2807 : Record already locked by this session.
10248 : $2808 : Object not locked.
10249 : $2809 : Lock time out.
10250 : $280A : Key group is locked.
10251 : $280B : Table lock was lost.
10252 : $280C : Exclusive access was lost.
10253 : $280D : Table cannot be opened for exclusive use.
10254 : $280E : Conflicting record lock in this session.
10255 : $280F : A deadlock was detected.
10256 : $2810 : A user transaction is already in progress.
10257 : $2811 : No user transaction is currently in progress.
10258 : $2812 : Record lock failed.
10259 : $2813 : Couldn't perform the edit because another
                 user changed the record.
10260 : $2814 : Couldn't perform the edit because another
                 user deleted or moved the record.

Access Violation - Security related

10497 : $2901 : Insufficient field rights for operation.
10498 : $2902 : Insufficient table rights for operation.
                 Password required.
10499 : $2903 : Insufficient family rights for operation.
10500 : $2904 : This directory is read only.
10501 : $2905 : Database is read only.
10502 : $2906 : Trying to modify read-only field.
10503 : $2907 : Encrypted dBASE tables not supported.
10504 : $2908 : Insufficient SQL rights for operation.

Invalid context

10753 : $2A01 : Field is not a BLOB.
10754 : $2A02 : BLOB already opened.
10755 : $2A03 : BLOB not opened.
10756 : $2A04 : Operation not applicable.
10757 : $2A05 : Table is not indexed.
10758 : $2A06 : Engine not initialized.
10759 : $2A07 : Attempt to re-initialize Engine.
10760 : $2A08 : Attempt to mix objects from different
                 sessions.
10761 : $2A09 : Paradox driver not active.
10762 : $2A0A : Driver not loaded.
10763 : $2A0B : Table is read only.
10764 : $2A0C : No associated index.
10765 : $2A0D : Table(s) open. Cannot perform this operation.
10766 : $2A0E : Table does not support this operation.
10767 : $2A0F : Index is read only.
10768 : $2A10 : Table does not support this operation because
                 it is not uniquely indexed.
10769 : $2A11 : Operation must be performed on the current
                 session.
10770 : $2A12 : Invalid use of keyword.
10771 : $2A13 : Connection is in use by another statement.
10772 : $2A14 : Passthrough SQL connection must be shared

Os Error not handled by Idapi

11009 : $2B01 : Invalid function number.
11010 : $2B02 : File or directory does not exist.
11011 : $2B03 : Path not found.
11012 : $2B04 : Too many open files. You may need to increase
                 MAXFILEHANDLE limit in IDAPI configuration.
11013 : $2B05 : Permission denied.
11014 : $2B06 : Bad file number.
11015 : $2B07 : Memory blocks destroyed.
11016 : $2B08 : Not enough memory.
11017 : $2B09 : Invalid memory block address.
11018 : $2B0A : Invalid environment.
11019 : $2B0B : Invalid format.
11020 : $2B0C : Invalid access code.
11021 : $2B0D : Invalid data.
11023 : $2B0F : Device does not exist.
11024 : $2B10 : Attempt to remove current directory.
11025 : $2B11 : Not same device.
11026 : $2B12 : No more files.
11027 : $2B13 : Invalid argument.
11028 : $2B14 : Argument list is too long.
11029 : $2B15 : Execution format error.
11030 : $2B16 : Cross-device link.
11041 : $2B21 : Math argument.
11042 : $2B22 : Result is too large.
11043 : $2B23 : File already exists.
11047 : $2B27 : Unknown internal operating system error.
11058 : $2B32 : Share violation.
11059 : $2B33 : Lock violation.
11060 : $2B34 : Critical DOS Error.
11061 : $2B35 : Drive not ready.
11108 : $2B64 : Not exact read/write.
11109 : $2B65 : Operating system network error.
11110 : $2B66 : Error from NOVELL file server.
11111 : $2B67 : NOVELL server out of memory.
11112 : $2B68 : Record already locked by this workstation.
11113 : $2B69 : Record not locked.

Network related

11265 : $2C01 : Network initialization failed.
11266 : $2C02 : Network user limit exceeded.
11267 : $2C03 : Wrong .NET file version.
11268 : $2C04 : Cannot lock network file.
11269 : $2C05 : Directory is not private.
11270 : $2C06 : Directory is controlled by other .NET file.
11271 : $2C07 : Unknown network error.
11272 : $2C08 : Not initialized for accessing network files.
11273 : $2C09 : SHARE not loaded. It is required to share
                 local files.
11274 : $2C0A : Not on a network. Not logged in or wrong
                 network driver.
11275 : $2C0B : Lost communication with SQL server.
11277 : $2C0D : Cannot locate or connect to SQL server.
11278 : $2C0E : Cannot locate or connect to network server.

Optional parameter related

11521 : $2D01 : Optional parameter is required.
11522 : $2D02 : Invalid optional parameter.

Query related

11777 : $2E01 : obsolete
11778 : $2E02 : obsolete
11779 : $2E03 : Ambiguous use of ! (inclusion operator).
11780 : $2E04 : obsolete
11781 : $2E05 : obsolete
11782 : $2E06 : A SET operation cannot be included in its own
                 grouping.
11783 : $2E07 : Only numeric and date/time fields can be
                 averaged.
11784 : $2E08 : Invalid expression.
11785 : $2E09 : Invalid OR expression.
11786 : $2E0A : obsolete
11787 : $2E0B : bitmap
11788 : $2E0C : CALC expression cannot be used in INSERT,
                 DELETE, CHANGETO and SET rows.
11789 : $2E0D : Type error in CALC expression.
11790 : $2E0E : CHANGETO can be used in only one query form at
                 a time.
11791 : $2E0F : Cannot modify CHANGED table.
11792 : $2E10 : A field can contain only one CHANGETO
                 expression.
11793 : $2E11 : A field cannot contain more than one
                 expression to be inserted.
11794 : $2E12 : obsolete
11795 : $2E13 : CHANGETO must be followed by the new value
                 for the field.
11796 : $2E14 : Checkmark or CALC expressions cannot be used
                 in FIND queries.
11797 : $2E15 : Cannot perform operation on CHANGED table
                 together with a CHANGETO query.
11798 : $2E16 : chunk
11799 : $2E17 : More than 255 fields in ANSWER table.
11800 : $2E18 : AS must be followed by the name for the field
                 in the ANSWER table.
11801 : $2E19 : DELETE can be used in only one query form at
                 a time.
11802 : $2E1A : Cannot perform operation on DELETED table
                 together with a DELETE query.
11803 : $2E1B : Cannot delete from the DELETED table.
11804 : $2E1C : Example element is used in two fields with
                 incompatible types or with a BLOB.
11805 : $2E1D : Cannot use example elements in an OR
                 expression.
11806 : $2E1E : Expression in this field has the wrong type.
11807 : $2E1F : Extra comma found.
11808 : $2E20 : Extra OR found.
11809 : $2E21 : One or more query rows do not contribute to
                 the ANSWER.
11810 : $2E22 : FIND can be used in only one query form at a
                 time.
11811 : $2E23 : FIND cannot be used with the ANSWER table.
11812 : $2E24 : A row with GROUPBY must contain SET
                 operations.
11813 : $2E25 : GROUPBY can be used only in SET rows.
11814 : $2E26 : Use only INSERT, DELETE, SET or FIND in
                 leftmost column.
11815 : $2E27 : Use only one INSERT, DELETE, SET or FIND per
                 line.
11816 : $2E28 : Syntax error in expression.
11817 : $2E29 : INSERT can be used in only one query form at
                 a time.
11818 : $2E2A : Cannot perform operation on INSERTED table
                 together with an INSERT query.
11819 : $2E2B : INSERT, DELETE, CHANGETO and SET rows may not
                 be checked.
11820 : $2E2C : Field must contain an expression to insert
                 (or be blank).
11821 : $2E2D : Cannot insert into the INSERTED table.
11822 : $2E2E : Variable is an array and cannot be accessed.
11823 : $2E2F : Label
11824 : $2E30 : Rows of example elements in CALC expression
                 must be linked.
11825 : $2E31 : Variable name is too long.
11826 : $2E32 : Query may take a long time to process.
11827 : $2E33 : Reserved word or one that can't be used as a
                 variable name.
11828 : $2E34 : Missing comma.
11829 : $2E35 : Missing ).
11830 : $2E36 : Missing right quote.
11831 : $2E37 : Cannot specify duplicate column names.
11832 : $2E38 : Query has no checked fields.
11833 : $2E39 : Example element has no defining occurrence.
11834 : $2E3A : No grouping is defined for SET operation.
11835 : $2E3B : Query makes no sense.
11836 : $2E3C : Cannot use patterns in this context.
11837 : $2E3D : Date does not exist.
11838 : $2E3E : Variable has not been assigned a value.
11839 : $2E3F : Invalid use of example element in summary
                 expression.
11840 : $2E40 : Incomplete query statement. Query only
                 contains a SET definition.
11841 : $2E41 : Example element with ! makes no sense in
                 expression.
11842 : $2E42 : Example element cannot be used more than twice
                 with a ! query.
11843 : $2E43 : Row cannot contain expression.
11844 : $2E44 : obsolete
11845 : $2E45 : obsolete
11846 : $2E46 : No permission to insert or delete records.
11847 : $2E47 : No permission to modify field.
11848 : $2E48 : Field not found in table.
11849 : $2E49 : Expecting a column separator in table header.
11850 : $2E4A : Expecting a column separator in table.
11851 : $2E4B : Expecting column name in table.
11852 : $2E4C : Expecting table name.
11853 : $2E4D : Expecting consistent number of columns in all
                 rows of table.
11854 : $2E4E : Cannot open table.
11855 : $2E4F : Field appears more than once in table.
11856 : $2E50 : This DELETE, CHANGE or INSERT query has no
                 ANSWER.
11857 : $2E51 : Query is not prepared. Properties unknown.
11858 : $2E52 : DELETE rows cannot contain quantifier
                 expression.
11859 : $2E53 : Invalid expression in INSERT row.
11860 : $2E54 : Invalid expression in INSERT row.
11861 : $2E55 : Invalid expression in SET definition.
11862 : $2E56 : row use
11863 : $2E57 : SET keyword expected.
11864 : $2E58 : Ambiguous use of example element.
11865 : $2E59 : obsolete
11866 : $2E5A : obsolete
11867 : $2E5B : Only numeric fields can be summed.
11868 : $2E5C : Table is write protected.
11869 : $2E5D : Token not found.
11870 : $2E5E : Cannot use example element with ! more than
                 once in a single row.
11871 : $2E5F : Type mismatch in expression.
11872 : $2E60 : Query appears to ask two unrelated questions.
11873 : $2E61 : Unused SET row.
11874 : $2E62 : INSERT, DELETE, FIND, and SET can be used only
                 in the leftmost column.
11875 : $2E63 : CHANGETO cannot be used with INSERT, DELETE,
                 SET or FIND.
11876 : $2E64 : Expression must be followed by an example
                 element defined in a SET.
11877 : $2E65 : Lock failure.
11878 : $2E66 : Expression is too long.
11879 : $2E67 : Refresh exception during query.
11880 : $2E68 : Query canceled.
11881 : $2E69 : Unexpected Database Engine error.
11882 : $2E6A : Not enough memory to finish operation.
11883 : $2E6B : Unexpected exception.
11884 : $2E6C : Feature not implemented yet in query.
11885 : $2E6D : Query format is not supported.
11886 : $2E6E : Query string is empty.
11887 : $2E6F : Attempted to prepare an empty query.
11888 : $2E70 : Buffer too small to contain query string.
11889 : $2E71 : Query was not previously parsed or prepared.
11890 : $2E72 : Function called with bad query handle.
11891 : $2E73 : QBE syntax error.
11892 : $2E74 : Query extended syntax field count error.
11893 : $2E75 : Field name in sort or field clause not found.
11894 : $2E76 : Table name in sort or field clause not found.
11895 : $2E77 : Operation is not supported on BLOB fields.
11896 : $2E78 : General BLOB error.
11897 : $2E79 : Query must be restarted.
11898 : $2E7A : Unknown answer table type.
11926 : $2E96 : Blob cannot be used as grouping field.
11927 : $2E97 : Query properties have not been fetched.
11928 : $2E98 : Answer table is of unsuitable type.
11929 : $2E99 : Answer table is not yet supported under server
                 alias.
11930 : $2E9A : Non-null blob field required. Can't insert
                 records
11931 : $2E9B : Unique index required to perform changeto
11932 : $2E9C : Unique index required to delete records
11933 : $2E9D : Update of table on the server failed.
11934 : $2E9E : Can't process this query remotely.
11935 : $2E9F : Unexpected end of command.
11936 : $2EA0 : Parameter not set in query string.
11937 : $2EA1 : Query string is too long.
11946 : $2EAA : No such table or correlation name.
11947 : $2EAB : Expression has ambiguous data type.
11948 : $2EAC : Field in order by must be in result set.
11949 : $2EAD : General parsing error.
11950 : $2EAE : Record or field constraint failed.
11951 : $2EAF : When GROUP BY exists, every simple field in
                 projectors must be in GROUP BY.
11952 : $2EB0 : User defined function is not defined.
11953 : $2EB1 : Unknown error from User defined function.
11954 : $2EB2 : Single row subquery produced more than one row.
11955 : $2EB3 : Expressions in group by are not supported.
11956 : $2EB4 : Queries on text or ascii tables is not supported.
11957 : $2EB5 : ANSI join keywords USING and NATURAL are not
                 supported in this release.
11958 : $2EB6 : SELECT DISTINCT may not be used with UNION
                 unless UNION ALL is used.
11959 : $2EB7 : GROUP BY is required when both aggregate and
                 non-aggregate fields are used in result set.
11960 : $2EB8 : INSERT and UPDATE operations are not supported
                 on autoincrement field type.
11961 : $2EB9 : UPDATE on Primary Key of a Master Table may
                 modify more than one record.
11962 : $2EBA : Queries on MS ACCESS tables are not supported
                 by local query engines.
11963 : $2EBB : Preparation of field-level constraint failed.
11964 : $2EBC : Preparation of field default failed.
11965 : $2EBD : Preparation of record-level constraint failed.
11972 : $2EC4 : Constraint Failed.  Expression:

Version Mismatch Category

12033 : $2F01 : Interface mismatch. Engine version different.
12034 : $2F02 : Index is out of date.
12035 : $2F03 : Older version (see context).
12036 : $2F04 : .VAL file is out of date.
12037 : $2F05 : BLOB file version is too old.
12038 : $2F06 : Query and Engine DLLs are mismatched.
12039 : $2F07 : Server is incompatible version.
12040 : $2F08 : Higher table level required

Capability not supported

12289 : $3001 : Capability not supported.
12290 : $3002 : Not implemented yet.
12291 : $3003 : SQL replicas not supported.
12292 : $3004 : Non-blob column in table required to perform
                 operation.
12293 : $3005 : Multiple connections not supported.
12294 : $3006 : Full dBASE expressions not supported.
12295 : $3007 : Nested transactions not supported.

System configuration error

12545 : $3101 : Invalid database alias specification.
12546 : $3102 : Unknown database type.
12547 : $3103 : Corrupt system configuration file.
12548 : $3104 : Network type unknown.
12549 : $3105 : Not on the network.
12550 : $3106 : Invalid configuration parameter.

Warnings

12801 : $3201 : Object implicitly dropped.
12802 : $3202 : Object may be truncated.
12803 : $3203 : Object implicitly modified.
12804 : $3204 : Should field constraints be checked?
12805 : $3205 : Validity check field modified.
12806 : $3206 : Table level changed.
12807 : $3207 : Copy linked tables?
12809 : $3209 : Object implicitly truncated.
12810 : $320A : Validity check will not be enforced.
12811 : $320B : Multiple records found, but only one was
                 expected.
12812 : $320C : Field will be trimmed, cannot put master
                 records into PROBLEM table.

Miscellaneous

13057 : $3301 : File already exists.
13058 : $3302 : BLOB has been modified.
13059 : $3303 : General SQL error.
13060 : $3304 : Table already exists.
13061 : $3305 : Paradox 1.0 tables are not supported.
13062 : $3306 : Update aborted.

Compatibility related

13313 : $3401 : Different sort order.
13314 : $3402 : Directory in use by earlier version of
                 Paradox.
13315 : $3403 : Needs Paradox 3.5-compatible language driver.

Data Repository related

13569 : $3501 : Data Dictionary is corrupt
13570 : $3502 : Data Dictionary Info Blob corrupted
13571 : $3503 : Data Dictionary Schema is corrupt
13572 : $3504 : Attribute Type exists
13573 : $3505 : Invalid Object Type
13574 : $3506 : Invalid Relation Type
13575 : $3507 : View already exists
13576 : $3508 : No such View exists
13577 : $3509 : Invalid Record Constraint
13578 : $350A : Object is in a Logical DB
13579 : $350B : Dictionary already exists
13580 : $350C : Dictionary does not exist
13581 : $350D : Dictionary database does not exist
13582 : $350E : Dictionary info is out of date - needs Refresh
13584 : $3510 : Invalid Dictionary Name
13585 : $3511 : Dependent Objects exist
13586 : $3512 : Too many Relationships for this Object Type
13587 : $3513 : Relationships to the Object exist
13588 : $3514 : Dictionary Exchange File is corrupt
13589 : $3515 : Dictionary Exchange File Version mismatch
13590 : $3516 : Dictionary Object Type Mismatch
13591 : $3517 : Object exists in Target Dictionary
13592 : $3518 : Cannot access Data Dictionary
13593 : $3519 : Cannot create Data Dictionary
13594 : $351A : Cannot open Database

Driver related

15873 : $3E01 : Wrong driver name.
15874 : $3E02 : Wrong system version.
15875 : $3E03 : Wrong driver version.
15876 : $3E04 : Wrong driver type.
15877 : $3E05 : Cannot load driver.
15878 : $3E06 : Cannot load language driver.
15879 : $3E07 : Vendor initialization failed.
15880 : $3E08 : Your application is not enabled for use with
                 this driver.
回复 支持 反对

使用道具 举报

发表于 2004-9-6 11:34:07 | 显示全部楼层
BDE数据引擎的说明:
配置BDE时,一般需要把BDE初始化的内存扩大,这样可以提高应用服务器的性能。BDE的配置参数需要统一成倍扩大,不要单独扩大其中某一项!具体需要如下如下几项:
MAXBUFSIZE:
MEMSIZE:
MINBUFSIZE:
SHAREDMEMSIZE:
建议:一般这四项也不必设置太大,建议扩大默认值的4到8倍。
如果多大后出现错误,那么需要减小配置或是重新安装BDE!
注:有时BDE扩大后,使用内存地址会与其他软件冲突,遇到这种情况只需要重新安装BDE即可!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-1-19 17:38:18 | 显示全部楼层
Additional SHAREDMEMLOCATION details:
Preferred address of shared memory manager. The shared memory
manager and shared buffer manager load at a preferred address.
If this address is used, the system can find a suitable
address (first process only). If this address conflicts with
another application, you might want to modify it. If the shared
managers cannot be loaded into the default, or specified
memory address, one attempt to allow the operating system to
find a memory address is made.  If a memory address if specified
outside the boundry (below), the default is used.
Default (for Windows 95): 0xEBDE0000
Minimum Value (for Windows 95): 0x90000000
Maximum Value (for Windows 95): 0xFFFF0000
Default (for Windows NT): 0x6BDE0000
Minimum Value (for Windows NT): 0x10000000
Maximum Value (for Windows NT): 0x7F000000
The range setting for SHAREDMEMLOCATION is 9000 to FFFF for
Windows 95 and 1000 to 7F00 for Windows NT.
Only the upper word is used to set SHAREDMEMLOCATION.
In the BDE Administrator the "Object" | "Options" | "Save for use
with" should be set to "Windows 95/NT only".  This will save all
System and Driver settings to the registry.
When this option is set to "Windows 3.1 and Windows 95/NT" all
changes are saved to just the CFG file.
If you wish to save new and updated System, Driver and
Database/Alias settings to the CFG file then the "Save for use
with" option should be toggled to "Windows 95/NT only", config
settings updated and then the "Save for use with" option changed
back to "Window 3.1..." etc.  This will ensure that changes
are written to both the CFG file (for 16bit compatibility) and
to the registry (for 32bit compatibility).
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Justep Inc.

GMT+8, 2024-12-23 00:22 , Processed in 0.045972 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表