Hello Michael We in the past used the same uniobjects code interchangeably between UniData 6 and 7, as far as I remember, unless with version 7 you've begun using the .net version, then you do need to make some changes to your vb code.
For example, in your connection string you need one more property, I think's the name of the service to connect to on UniData(it's been a while). With version 7 of UniData are you using the .net version of Uniobjects or the COM version? Victor St. Clair [EMAIL PROTECTED] 360-256-4400 Phone 360-256-9623 Fax www.jenkon.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Sprague Sent: Thursday, July 19, 2007 2:34 PM To: u2-users@listserver.u2ug.org Subject: [U2] [Fwd: UniObjects Disconnect Issue] I didn't hear from anyone on this. Does anyone have a suggestion on where else I might find an answer? Perhaps this is the wrong list to post to? Thank you, Mike ___________________________________________________________ *Michael J. Sprague / Director, Web Services* Hamilton College <http://www.hamilton.edu> / 198 College Hill Road / Clinton, NY 13323 [EMAIL PROTECTED] / 315-859-4087 office / 315-794-6831 mobile /Thursday, July 19, 2007 5:33 PM (Thunderbird 2.0.0.4) / -------- Original Message -------- Subject: UniObjects Disconnect Issue Date: Wed, 18 Jul 2007 12:01:37 -0400 From: Michael Sprague <[EMAIL PROTECTED]> To: u2-users@listserver.u2ug.org Hello all, We've been using UniObjects middleware to connect to UniData for developing Web applications. We've always used the middleware that came with v6 of UniData. We have been unable to use the middleware from v7. I was wondering if anyone might be able to identify what we are doing wrong. We are connecting to UniData 7. This code works with the v6 middleware, but does not work with v7 objConn.setHostName("ourhost.ourcollege.edu"); objConn.setaccountpath("/valid/path/to/home/"); objConn.setUserName("ourusername"); objConn.setPassword("ourpassword"); objConn.connect(); webgetapp = objConn.subroutine("SUB.ROUT.INE",2); webgetapp.setArg(0,""); webgetapp.setArg(1,"somevalue"); webgetapp.call(); getAppResults = webgetapp.getArg(0) objConn.disconnect(); On v6 middleware, this return the results properly in the getAppResults variable. On v7 middleware, it does this... " An exception occurred when executing method disconnect." java.lang.NullPointerException at asjava.uniobjects.UniJava.closeSessionInternal(UniJava.java:225) at asjava.uniobjects.UniSession.disconnect(UniSession.java:535) Any thoughts? We'd eventually like to get our middleware up to a more recent version to take advantage of some new features. -Mike ___________________________________________________________ *Michael J. Sprague / Director, Web Services* Hamilton College <http://www.hamilton.edu> / 198 College Hill Road / Clinton, NY 13323 [EMAIL PROTECTED] / 315-859-4087 office / 315-794-6831 mobile /Wednesday, July 18, 2007 12:00 PM (Thunderbird 2.0.0.4) / ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/