I have ZDM7SP1_IR3a, my inventory database is running as a named instance on SQL2005. I am unable to get the dupremove module to connect to the data base. I keep getting a message:

Trying to (re)connect to the database -> mw_dba
Com.microsoft.sqlserver.jdbc.SQLServerException: The TCP?IP connection to the host
Has failed. Java.net.ConnectException: Connection refused
at com.microsoft.sqlserver.jdbc.SQLServer Connection.connect(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServer Connection.connect(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerDriver.conne ct(Unknown Source)
at java.sql.DrierManager.getConnection(DriverManager. java:512)
at java.sql.DrierManager.getConnection(DriverManager. java:140)
at com.novell.zenworks.desktop.inventory.storer.Datab aseOperator.create(DatabaseOperator.jav:830)
at com.novell.zenworks.desktop.inventory.storer.Datab aseOperator<init>(DatabaseOperator.jav:589)
at com.novell.zenworks.desktop.inventory.storer.Datab aseOperator.main(DatabaseOperator.jav:7162)
Could not connect to database.

My dupremove.ncp is as follows:
java -ns -sn"ZENworks Inventory Dupremove utility" -neh -mx128m -classpath $tmppath;"$classpath" -Djava.compiler= com.novell.zenworks.desktop.inventory.storer.Datab aseOperator -host= -listwsdup -dbtype=2 -sid=mgmtdb -port=3855

It appears that this module is ignoring the port number provided. Is there a way to get it to accept the port given so that the connection to the database can be made?

I appreciate any and all suggestions.