I’m running the demo and am having a problem when trying to set up SQL Server in Preferences / DB servers.
When I complete the Server Config details with name of server etc, I can’t seem to go any further. Click OK and the status text on the far left of the screen flashes once “creating server and trying to connect” but then nothing happens. The only way to move on is to cancel.
I’m on W2k. I’ve downloaded the jdbc driver from Microsoft Site. I’ve placed the 3 .jar files in the Drivers folder of Servoy.
I don’t think it is a jar issue, if Servoy can’t locate the driver it will print an error message for that. Can you delete ALL ms sql related connections and try it again then? You can also try 1.2RC2 which has improved error handling on connections. In the near future we will also make easier to use configuration screens.
Thanks Jan. I’ve upgraded but am still having the same problem with no additional help message.
In case it’s relevant, I have managed to setup an odbc connection to the same server. This seems fine until I go to add a form. I can see the tables but when I select one I get:
“java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Invalid Descriptor Index [Microsoft][ODBC SQL Server Driver]Invalid Descriptor Index”
Is TCP/Ip enabled in the Server Network utility for SQL Server?
Is SQL Server authentication enabled? I don’t think JDBC supports MS Windows authentication
I have the same problem when trying to connect to a different sql 2000 server and also with a v7 (although the jdbc driver I have is 2000 so that was just a punt)
I get the error mentioned above when trying to connect to existing tables using ODBC driver. However, if I ask to create a new table it works.
Is it possible that the existing tables are incompatible in some way?
Is JDBC better than ODBC in a Windows environment?
OK I take that back about being able to create tables using ODBC.
It allows me to go to the screen to add columns but when I add one I get:
Error creating table, java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Invalid Descriptor Index
java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Invalid Descriptor Index