Database Interface 4. If you are using SQL Server CE, you might have some problems when querying string fields. It has been identified that filters do not work with NCHAR data types; however, they do work if you declare these fields as NVARCHAR( ). You might try to recreate your table by using this data type. An example of a command that creates a table with strings that can be queried is displayed below: CREATE TABLE Table1 (Name NVARCHAR(128), Age Numeric, Sex NVARCHAR(1)) ORACLE Q : When I lose the connection with an ORACLE database, it does not recover. I receive the following message in the logwin: Database: Error: ORA-03114: not connected to ORACLE .
Is that a problem with the IWS Database Interface? A : The Oracle .Net Provider has a problem managing the connection pool. You need to install a QFE 830173. At the time that this document was written, more information about this problem could be found at this site (external link). Q : When I try to access the database, I get the following error message: ORA-00162: external dbid length 19 is greater than maximum (16) . What should I do? A : At the time that this document was written, there was a problem on the Oracle .NET Provider; the Server Name (SERVER/TNS) could not exceed 16 characters. In order to fix this problem, you should try to reduce your Server Name field.
One way of doing this is to edit the file \WINDOWS\system32\drivers\etc\hosts to add an entry with a smaller server name. For instance, the server name specified by 192.168.89.98, has 13 characters, it could be reduced to 3 by adding the following line in the file: 192.168.89.98 ora Now you can configure the Server Name configuration using ORA/TNS instead of 192.168.89.98/TNS . MYSQL Q : When I try to access the database from my local machine it works fine, but when I move my project to a remote machine, it says Access Denied . A : Each user on a MySQL database has a property associated with it that indicates the computer fromwhich it can get access to the database.
By default, this property is set to localhost , so you will only be able to access the database if you are accessing from the local computer. You should read the MySQL manual for information about changing this setting. Q : Sometimes when I try to synchronize a remote MySQL database with a local MySQL database, or if I try to use application redundancy, a connection to the ADO.NET interface is opened and never closed. A : Go to the Database Configuration dialog and uncheck the Automatically Create option. SYBASE Q : I configured my Sybase database using the Browse button. When I click the test button, the test succeeds, but when I try to run my project I get the following error: Database:
Error: Parse error: DSN 'MyDatabase' does not exist . What am I doing wrong? A : Please refer to Database Appendix F - Using Sybase for more information about this problem. Q : Why, when I try to connect to the Sybase database, am I receiving the error Error to create connection class [iAnywhere.Data.AsaClient.AsaConnection] ? A : You do not have the ADO.NET Provider installed on your computer. The database setup program has an option to install the Provider. Rerun the setup program, and make sure to check that option. SQL SERVER CE Q : Why does the gateway show TypeLoad failure when I try to access my SQL Server CE database? A :
This problem usually happens when you do not have the SQL Server CE .NET Provider installed on your CE Device. Q : Why am I getting the error message, There is a file sharing violation. A different process might be using the file ? A : You have another progarm with the SQL Server CE database open. For instance, this will happen if you are using the SQL Server CE configuration software. Page 414 InduSoft Web Studio