Error Codes

It's possible you'll see many different error codes show up in applications that you are developing. To find the descriptions for the error codes, you can check the Microsoft Developer Network Web site (http://msdn.microsoft.com/developer) and Table 3-4.

Visual InterDev uses the data environment object model, based on the Microsoft ActiveX Data Objects (ADO) object model, for accessing and processing database records. Table 3-4 lists the error numbers and descriptions that are returned by the ADO object model. You might also receive error messages that are generated from the database driver or from the database engine your application uses.

Table 3-4. A partial list of ADO error codes.

Error Number Description
3001 The application is using arguments that are of the wrong type, are out of acceptable range, or are in conflict with one another.
3021 Either BOF or EOF is True, or the current record has been deleted; the operation requested by the application requires a current record.
3219 The operation requested by the application is not allowed in this context.
3246 The application cannot explicitly close a Connection object while in the middle of a transaction.
3251 The operation requested by the application is not supported by the provider.
3265 ADO cannot find the object in the collection corresponding to the name or ordinal reference requested by the application.
3367 Can't append. Object already in collection.
3420 The object referenced by the application no longer points to a valid object.
3421 The application is using a value of the wrong type for the current operation.
3704 The operation requested by the application is not allowed if the object is closed.
3705 The operation requested by the application is not allowed if the object is open.
3706 ADO could not find the specified provider.
3707 The application cannot change the ActiveConnection property of a Recordset object with a Command object as its source.
3708 The application has improperly defined a Parameter object.
3709 The application requested an operation on an object with a reference to a closed or invalid Connection object.

NOTE
You can find more information about WinInet error codes at http://support.microsoft.com/support/kb/articles/q193/6/25.asp.



Programming Microsoft Visual InterDev 6. 0
Programming Microsoft Visual InterDev 6.0
ISBN: 1572318147
EAN: 2147483647
Year: 2005
Pages: 143

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net