Re: [U2] XAdmin
Good catch (or debugging skills). I've always been a little confused on how UniAdmin connects - I though it was UO for Java as you can run it as an applet, but I never see it logged in and it works even if you're out of licenses. Colin > Date: Tue, 17 May 2011 13:54:50 -0700 > From: wphaskett > > Colin: > > I figured this out! :-) > [snip] > So, what was the problem? The UOLOGIN program! In the development > environment authorized connections are allowed. On our client's > servers, there was no need to account for an XAdmin connection. > UniAdmin, apparently, doesn't use UniObjects to connect; thus doesn't > use the UOLOGIN program. :-) A quick fix in this program allowed > connectivity to proceed. Thank goodness for the "serverdebug" file! > > Thanks, > > Bill > > ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Using DICT items in basic program
On 16/05/11 07:19, Dan McGrath wrote: > If you are using UniData you can create an I-type dictionary. > For the location (attribute 2 in the dictionary) put either > EXTRACT(@RECORD,2,2,0) or, alternatively, if you already have a D-Type > dictionary for the 2nd field (let us call it ADDRESS for arguments > sake), you could put EXTRACT(ADDRESS,1,2,0) > > Now, if we called the above dictionary item 'CITY', you can get your > required listing (sorted by CITY, ascending) by: > > LIST CLIENT CITY BY CITY > > If you are using UniVerse, this should be fairly similar. In UV it should be even simpler ... :-) Assuming field 2 is called ADDRESS, you can create an i-descriptor with ADDRESS<1,2> in field 2. > > Regards, > Dan Cheers, Wol ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] XAdmin
Colin: I figured this out! :-) I have these three programs/subroutines on the machine that actually works. When I went to copy them to another machine that doesn't work, they were there. I copied them in anyway and cataloged them per the instructions, tried to connect and got the message "The combination of user name and password provided is incorrect.". For the "Host" I'm using a "hosts" entry (as I am with the dbms that works). I use my credentials in the "User ID" and "Password" fields. Protocol Type: Default RPC Port#: 31438 RPC Service Name: udcs LoginAccount: demo The "Telnet Port Number" is correct. I'm able to connect using the old UniAdmin tool, and telnet, and RCP. One thing to note, however, is I cannot log into "demo" from telnet; I have to login to "E:\IBM\ud\demo". I have my own "demo" account I use for testing and demonstration, which is in UD.ACCOUNTS in my development environment (which works) but not on our client's production machines. If I enter an invalid account that message appears, instead of a bad username/password combination. Correct the account and I get the user/pwd error message. So, I know the proper telnet and RPC port is open. I'm using the correct port#s. There is a "demo" account. It isn't unusual for me to install UD /*without*/ the "demo" account. Everything seems to be working but the U2 XAdmin tool! :-( So, what was the problem? The UOLOGIN program! In the development environment authorized connections are allowed. On our client's servers, there was no need to account for an XAdmin connection. UniAdmin, apparently, doesn't use UniObjects to connect; thus doesn't use the UOLOGIN program. :-)A quick fix in this program allowed connectivity to proceed. Thank goodness for the "serverdebug" file! Thanks, Bill - Original Message - *From:* alfke...@hotmail.com *To:* 'U2 Users List' *Date:* 5/17/2011 10:44 AM *Subject:* Re: [U2] XAdmin No problem. I just got it working on a 7.1.6 (windows) version. I followed the instructions (and download) under Technote UCC-1001 (or search for XAdmin). There are some programs that need to be installed and cataloged in the SYS_BP folder. It does use the RPC port#31438 and I could only get it to work using Login Account = "demo" - Nothing else in my UD.ACCOUNT file worked including Demo - as it is in the file. I would get an error: "The account name supplied is not a valid account." It seems to use the accounts as defined under Network Services, Database Admin although once I connect the accounts it lists are the ones in UD.ACCOUNT. It starts with demo - but I'm not sure what you would need to do if you didn't install the demo account... perhaps copy/rename a current account as demo and see if you can connect and then add what you need. I had tried the U2-logic editor back when it was free. It worked but I found the overhead of eclipse just a little too much. With U2 now with Rocket I wonder if they will still have the same incentive to use Eclipse Perhaps the port is being blocked at some point or the RPC service isn't active. How far do you get? Hth Colin Alfke Calgary, Canada -Original Message- From: Bill Haskett Thanks Colin. I have several clients running UD v7.2.5 and I still can't connect with them. Is there a reason? Whenever I work with Eclipse, or products based on it, I never seem to be able to get things working. :-( Bill Original Message Subject:Re: [U2] XAdmin Date: Mon, 16 May 2011 22:59:38 -0600 From: Colin Alfke Reply-To: U2 Users List To: I think so. I believe it's in the release notes. I was trying to get it to connect to a 7.1 windows machine but kept getting a message about an invalid account. I found a tech note saying there were some x... files that were required on the server - but they seemed to be already there. I didn't have time to take it any further. hth Colin Alfke Calgary, Canada - Original Message - *From:* wphaskett Does the Eclipse-based XAdmin tool, provided by RS on the client CD, only work with UniData 7.2 and higher? I can't seem to connect to any UD v7.1 machines. Will I have to reinstall UniAdmin in order to access those machines? Thanks, Bill Haskett ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] XAdmin
No problem. I just got it working on a 7.1.6 (windows) version. I followed the instructions (and download) under Technote UCC-1001 (or search for XAdmin). There are some programs that need to be installed and cataloged in the SYS_BP folder. It does use the RPC port#31438 and I could only get it to work using Login Account = "demo" - Nothing else in my UD.ACCOUNT file worked including Demo - as it is in the file. I would get an error: "The account name supplied is not a valid account." It seems to use the accounts as defined under Network Services, Database Admin although once I connect the accounts it lists are the ones in UD.ACCOUNT. It starts with demo - but I'm not sure what you would need to do if you didn't install the demo account... perhaps copy/rename a current account as demo and see if you can connect and then add what you need. I had tried the U2-logic editor back when it was free. It worked but I found the overhead of eclipse just a little too much. With U2 now with Rocket I wonder if they will still have the same incentive to use Eclipse Perhaps the port is being blocked at some point or the RPC service isn't active. How far do you get? Hth Colin Alfke Calgary, Canada -Original Message- From: Bill Haskett Thanks Colin. I have several clients running UD v7.2.5 and I still can't connect with them. Is there a reason? Whenever I work with Eclipse, or products based on it, I never seem to be able to get things working. :-( Bill - Original Message - *From:* wphaskett > Does the Eclipse-based XAdmin tool, provided by RS on the client CD, > only work with UniData 7.2 and higher? I can't seem to connect to any > UD v7.1 machines. Will I have to reinstall UniAdmin in order to > access those machines? > > Thanks, > > Bill Haskett ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] XAdmin
Thanks Colin. I have several clients running UD v7.2.5 and I still can't connect with them. Is there a reason? Whenever I work with Eclipse, or products based on it, I never seem to be able to get things working. :-( Bill - Original Message - *From:* wphask...@advantos.net *To:* U2 Mail List *Date:* 5/16/2011 7:07 PM *Subject:* XAdmin Does the Eclipse-based XAdmin tool, provided by RS on the client CD, only work with UniData 7.2 and higher? I can't seem to connect to any UD v7.1 machines. Will I have to reinstall UniAdmin in order to access those machines? Thanks, Bill Haskett ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Uniobjects.Net Compact Framework and Visual Basic - Mystery Solved!
My VAR and IBM have responded to this issue and it seems that in the compact framework DLL an additional argument is required in OpenSession defining the service you wish to connect to. Apparently Unirpc is "uvcs" so the session open should look like this: sess = UniObjects.OpenSession(logsys, logname, logpass, "/u1/local", "uvcs") Thanks to all who responded. Symeon Breen wrote: It kind of sounds like a .resx file is missing -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: 11 May 2011 15:48 To: U2 Users List Subject: Re: [U2] Uniobjects.Net Compact Framework and Visual Basic OK, so here is the entire message: System.Resources.MissingManifestResourceException: MissingManifestResourceException at System.Resources.ResourceManager.InternalGetResourceSet() at System.Resources.ResourceManager.InternalGetResourceSet() at System.Resources.ResourceManager.InternalGetResourceSet() at System.Resources.ResourceManager.GetString() at System.Resources.ResourceManager.GetString() at IBMU2.UODOTNET.UniObjects.OpenSession() at GetScanInfoMobile.ScanForm.ScanForm_Load() at System.Windows.Forms.Form.OnLoad() at System.Windows.Forms.Form._SetVisibleNotify() at System.Windows.Forms.Control.set_Visible() at GetScanInfoMobile.LogForm.Button1_Click() at System.Windows.Forms.Control.OnClick() at System.Windows.Forms.Button.OnClick() at System.Windows.Forms.ButtonBase.WnProc() at System.Windows.Forms.Control._InternalWnProc() at Microsoft.AGL.Forms.EVL.EnterMainLoop() at System.Windows.Forms.Application.Run() at GetScanInfoMobile.LogForm.Main() Symeon Breen wrote: Thanks, the full error will hopefully provide more info - the thing to remember about .net is it it not just about the code - there are a number of config files that need setting up correctly as well and these can cause errors in applications if settings are missing. I think we have all been there confused why something does not work, only to find out one line is missing from the app.config ;) -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users