Hi,
the error that causes the connection to be closed, is the retrieval of the column remarks through the fn_listextendedproperty() function.
This is using the following SQL Statement:
SELECT objname,
cast(value as varchar(8000)) as value
FROM ::fn_listextendedproperty ('MS_DESCRIPTION','user', 'dbo', 'TABLE', null, null, null);
I'm surprised this doesn't work on your installation (as it does work for me).
However, that can be disabled by running
WbSetConfig workbench.db.microsoft_sql_server.remarks.column.retrieve=false
WbSetConfig workbench.db.microsoft_sql_server.remarks.object.retrieve=false
(That will disable retrieving column remarks for columns and tables)
Unfortunately the cause of the other error can not be disabled, because the code (incorrectly) assumes that retrieving rule definitions through sys.all_objects works for SQL Server 2005. But that should not cause the connection problems it is simply reported in the logfile. I will fix that.
Regards
Thomas
Josef Hopfgartner, 27.03.2013 15:26:
> Hi again,
>
> here is the workbench.log
>
> 2013-03-27 13:49 INFO =================== Log started ===================
> 2013-03-27 13:49 INFO Using configdir: /home/NMG/hopfgartner/samba/marcher02/sqlworkbench
> 2013-03-27 13:49 INFO Starting SQL Workbench/J, Build 114.6 (2013-03-24 21:18)
> 2013-03-27 13:49 INFO Java version=1.7.0_15, java.home=/usr/lib/jvm/java-7-openjdk-amd64/jre, vendor=Oracle Corporation, name=OpenJDK 64-Bit Server VM
> 2013-03-27 13:49 INFO Operating System=Linux, version=3.5.0-27-generic, platform=amd64
> 2013-03-27 13:49 INFO Starting DeadlockMonitor
> 2013-03-27 13:49 INFO Creating new connection for [{Graz Klagenfurt}/mds_klu] for driver=net.sourceforge.jtds.jdbc.Driver
> 2013-03-27 13:49 INFO Adding ClassLoader URL=file:/usr/share/java/jtds.jar
> 2013-03-27 13:49 INFO Using DBID=microsoft_sql_server
> 2013-03-27 13:49 INFO Using quote escape character: "
> 2013-03-27 13:49 INFO Using search string escape character: \
> 2013-03-27 13:49 INFO *Connected to: [Microsoft SQL Server], Database version: [08.00.0760], Driver version: [1.3.0], JDBC Version: [3.0], ID: [Wb1-WbExp-1] *
> --
> You received this message because you are subscribed to the Google Groups "SQL Workbench/J - DBMS independent SQL tool" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
sql-workbenc...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>