Re: [U2] uniobjects.net
Similarly, you can do a SELECT SAVING Then read that select list either by subroutine or directly. The only catch is you need to make sure there is an 'A' in attribute 4 of the select verb. "Kate Stanton" wrote in message news:... > Why not call a subroutine to do REFORMAT to a file, then read the file and > return the output. That will give you your I-type data (if I am reading > what you are after correctly). > > On 4 December 2012 03:48, Symeon Breen wrote: > > > Hi - I have been using uniobjects.net for many years now, however I > > usually use it to call a basic subroutine on the u2 server. I now have a > > little project where I need to get a number of records from a file, ideally > > like the output of a list command as I have some itypes I also need to get. > > > > I could do this via a select list and read the ids into a unidataset and > > then call other programs to get the itype data, or I could do a unixml > > probably a few other ways. > > > > > > > > So what is the best way to do this ? > > > > > > > > > > > > > > > > Thanks > > > > Symeon. > > > > ___ > > U2-Users mailing list > > U2-Users@listserver.u2ug.org > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > > > > -- > Kate Stanton > Walstan Systems Ltd > 4 Kelmarna Ave, Herne Bay, Auckland 1011, New Zealand > Phone: + 64 9 360 5310 Mobile: + 64 21 400 486 > Email: k...@walstan.com > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > This message contains information that may be privileged or confidential and is the property of GPM Development Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient ,you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. This e-mail was sent to you by GPM Development Ltd. We are incorporated under the laws of England and Wales (company no. 2292156 and VAT registration no. 523 5622 63). Our registered office is 6th Floor, AMP House, Croydon, Surrey CR0 2LX. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] uniobjects.net
Why not call a subroutine to do REFORMAT to a file, then read the file and return the output. That will give you your I-type data (if I am reading what you are after correctly). On 4 December 2012 03:48, Symeon Breen wrote: > Hi - I have been using uniobjects.net for many years now, however I > usually use it to call a basic subroutine on the u2 server. I now have a > little project where I need to get a number of records from a file, ideally > like the output of a list command as I have some itypes I also need to get. > > I could do this via a select list and read the ids into a unidataset and > then call other programs to get the itype data, or I could do a unixml > probably a few other ways. > > > > So what is the best way to do this ? > > > > > > > > Thanks > > Symeon. > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > -- Kate Stanton Walstan Systems Ltd 4 Kelmarna Ave, Herne Bay, Auckland 1011, New Zealand Phone: + 64 9 360 5310 Mobile: + 64 21 400 486 Email: k...@walstan.com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] uniobjects.net
Pretty much the options I had thought - although on the json front I have used System.Web.Script.Serialization.JavaScriptSerializer for json serial and deserial isation -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Brian Leach Sent: 03 December 2012 16:15 To: 'U2 Users List' Subject: Re: [U2] uniobjects.net Simeon There isn't a single standard, it depends on a) how easy it is to generate the data in the first place and b) what you want to do with it after.. Going UniXML gives you the option to generate a dataset which is easy for binding but has large overheads, or more usefully to grab the content into an XDocument and parse it into List using LINQ whilst preserving the structure: the latter gives you more flexibility and you don't need to normalize or navigate the parent/child relations created in a dataset if you have multivalued data. Of course you don't have to use UniXML to bring back XML for LINQ - you can bring that back in a subroutine argument, having generated it directly in BASIC. If you create a template for your XML document and for the row and just use the CHANGE() function to populate placeholders, that's often quicker than calling out to the XML features in the database - just make sure you handle the escapes. Ditto JSON, but unless you're calling from a web service consuming context there isn't really the tooling exposed in .NET to then do anything useful with it (there is a LINQ provider for JSON but it converts it into XML behind the scenes before parsing). If you want to work raw returning data from a subroutine, you can delimit your records with char(255) and simply split() them on the client into an array and possibly List.AddRange(array). But you would still then have to do the work of interpreting the individual record contents after separating them. All of which is an answer that is no answer.. Brian -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Symeon Breen Sent: 03 December 2012 15:55 To: 'U2 Users List' Subject: Re: [U2] uniobjects.net I could use a basic subroutine, but in order for it to return a couple of hundred records, it would have to either delimit the records somehow or generate an xml or json string, and I just wanted to see if there was a better/more standard way of doing this. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of mhilb...@ppcsoftware.com Sent: 03 December 2012 15:07 To: U2 Users List Subject: Re: [U2] uniobjects.net If the supposed access time for these records is rather quick, 200 records is a relatively small record set. Although there are technically more elegant ways of doing this, why cant you just stick with your proven basic subroutine call? On Mon, 3 Dec 2012 14:59:43 -, Symeon Breen wrote: > Ahh yes - upto about 200 ish > > > -Original Message- > From: u2-users-boun...@listserver.u2ug.org > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of > mhilb...@ppcsoftware.com > Sent: 03 December 2012 14:47 > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] uniobjects.net > > For me the key is in how many is "a number of records"? > > > On Mon, 3 Dec 2012 14:48:45 -, Symeon Breen wrote: >> Hi - I have been using uniobjects.net for many years now, however >> I >> usually use it to call a basic subroutine on the u2 server. I now >> have a little project where I need to get a number of records from a >> file, ideally like the output of a list command as I have some itypes >> I also need to get. >> >> I could do this via a select list and read the ids into a unidataset >> and then call other programs to get the itype data, or I could do a >> unixml probably a few other ways. >> >> >> >> So what is the best way to do this ? >> >> >> >> >> >> >> >> Thanks >> >> Symeon. >> >> ___ >> U2-Users mailing list >> U2-Users@listserver.u2ug.org >> http://listserver.u2ug.org/mailman/listinfo/u2-users > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > - > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.2221 / Virus Database: 2634/5433 - Release Date: > 12/02/12 > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users __
Re: [U2] uniobjects.net
Simeon There isn't a single standard, it depends on a) how easy it is to generate the data in the first place and b) what you want to do with it after.. Going UniXML gives you the option to generate a dataset which is easy for binding but has large overheads, or more usefully to grab the content into an XDocument and parse it into List using LINQ whilst preserving the structure: the latter gives you more flexibility and you don't need to normalize or navigate the parent/child relations created in a dataset if you have multivalued data. Of course you don't have to use UniXML to bring back XML for LINQ - you can bring that back in a subroutine argument, having generated it directly in BASIC. If you create a template for your XML document and for the row and just use the CHANGE() function to populate placeholders, that's often quicker than calling out to the XML features in the database - just make sure you handle the escapes. Ditto JSON, but unless you're calling from a web service consuming context there isn't really the tooling exposed in .NET to then do anything useful with it (there is a LINQ provider for JSON but it converts it into XML behind the scenes before parsing). If you want to work raw returning data from a subroutine, you can delimit your records with char(255) and simply split() them on the client into an array and possibly List.AddRange(array). But you would still then have to do the work of interpreting the individual record contents after separating them. All of which is an answer that is no answer.. Brian -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Symeon Breen Sent: 03 December 2012 15:55 To: 'U2 Users List' Subject: Re: [U2] uniobjects.net I could use a basic subroutine, but in order for it to return a couple of hundred records, it would have to either delimit the records somehow or generate an xml or json string, and I just wanted to see if there was a better/more standard way of doing this. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of mhilb...@ppcsoftware.com Sent: 03 December 2012 15:07 To: U2 Users List Subject: Re: [U2] uniobjects.net If the supposed access time for these records is rather quick, 200 records is a relatively small record set. Although there are technically more elegant ways of doing this, why cant you just stick with your proven basic subroutine call? On Mon, 3 Dec 2012 14:59:43 -, Symeon Breen wrote: > Ahh yes - upto about 200 ish > > > -Original Message- > From: u2-users-boun...@listserver.u2ug.org > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of > mhilb...@ppcsoftware.com > Sent: 03 December 2012 14:47 > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] uniobjects.net > > For me the key is in how many is "a number of records"? > > > On Mon, 3 Dec 2012 14:48:45 -, Symeon Breen wrote: >> Hi - I have been using uniobjects.net for many years now, however >> I >> usually use it to call a basic subroutine on the u2 server. I now >> have a little project where I need to get a number of records from a >> file, ideally like the output of a list command as I have some itypes >> I also need to get. >> >> I could do this via a select list and read the ids into a unidataset >> and then call other programs to get the itype data, or I could do a >> unixml probably a few other ways. >> >> >> >> So what is the best way to do this ? >> >> >> >> >> >> >> >> Thanks >> >> Symeon. >> >> ___ >> U2-Users mailing list >> U2-Users@listserver.u2ug.org >> http://listserver.u2ug.org/mailman/listinfo/u2-users > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > - > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.2221 / Virus Database: 2634/5433 - Release Date: > 12/02/12 > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users - No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2221 / Virus Database: 2634/5433 - Release Date: 12/02/12 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] uniobjects.net
I could use a basic subroutine, but in order for it to return a couple of hundred records, it would have to either delimit the records somehow or generate an xml or json string, and I just wanted to see if there was a better/more standard way of doing this. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of mhilb...@ppcsoftware.com Sent: 03 December 2012 15:07 To: U2 Users List Subject: Re: [U2] uniobjects.net If the supposed access time for these records is rather quick, 200 records is a relatively small record set. Although there are technically more elegant ways of doing this, why cant you just stick with your proven basic subroutine call? On Mon, 3 Dec 2012 14:59:43 -, Symeon Breen wrote: > Ahh yes - upto about 200 ish > > > -Original Message- > From: u2-users-boun...@listserver.u2ug.org > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of > mhilb...@ppcsoftware.com > Sent: 03 December 2012 14:47 > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] uniobjects.net > > For me the key is in how many is "a number of records"? > > > On Mon, 3 Dec 2012 14:48:45 -, Symeon Breen wrote: >> Hi - I have been using uniobjects.net for many years now, however >> I >> usually use it to call a basic subroutine on the u2 server. I now >> have a little project where I need to get a number of records from a >> file, ideally like the output of a list command as I have some itypes >> I also need to get. >> >> I could do this via a select list and read the ids into a unidataset >> and then call other programs to get the itype data, or I could do a >> unixml probably a few other ways. >> >> >> >> So what is the best way to do this ? >> >> >> >> >> >> >> >> Thanks >> >> Symeon. >> >> ___ >> U2-Users mailing list >> U2-Users@listserver.u2ug.org >> http://listserver.u2ug.org/mailman/listinfo/u2-users > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > - > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.2221 / Virus Database: 2634/5433 - Release Date: > 12/02/12 > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users - No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2221 / Virus Database: 2634/5433 - Release Date: 12/02/12 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] uniobjects.net
If the records are a small number that UniXML straight into a dataset is very easy to use -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Symeon Breen Sent: 03 December 2012 14:49 To: u2-users@listserver.u2ug.org Subject: [U2] uniobjects.net Hi - I have been using uniobjects.net for many years now, however I usually use it to call a basic subroutine on the u2 server. I now have a little project where I need to get a number of records from a file, ideally like the output of a list command as I have some itypes I also need to get. I could do this via a select list and read the ids into a unidataset and then call other programs to get the itype data, or I could do a unixml probably a few other ways. So what is the best way to do this ? Thanks Symeon. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] uniobjects.net
If the supposed access time for these records is rather quick, 200 records is a relatively small record set. Although there are technically more elegant ways of doing this, why cant you just stick with your proven basic subroutine call? On Mon, 3 Dec 2012 14:59:43 -, Symeon Breen wrote: Ahh yes - upto about 200 ish -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of mhilb...@ppcsoftware.com Sent: 03 December 2012 14:47 To: u2-users@listserver.u2ug.org Subject: Re: [U2] uniobjects.net For me the key is in how many is "a number of records"? On Mon, 3 Dec 2012 14:48:45 -, Symeon Breen wrote: Hi - I have been using uniobjects.net for many years now, however I usually use it to call a basic subroutine on the u2 server. I now have a little project where I need to get a number of records from a file, ideally like the output of a list command as I have some itypes I also need to get. I could do this via a select list and read the ids into a unidataset and then call other programs to get the itype data, or I could do a unixml probably a few other ways. So what is the best way to do this ? Thanks Symeon. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users - No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2221 / Virus Database: 2634/5433 - Release Date: 12/02/12 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] uniobjects.net
Ahh yes - upto about 200 ish -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of mhilb...@ppcsoftware.com Sent: 03 December 2012 14:47 To: u2-users@listserver.u2ug.org Subject: Re: [U2] uniobjects.net For me the key is in how many is "a number of records"? On Mon, 3 Dec 2012 14:48:45 -, Symeon Breen wrote: > Hi - I have been using uniobjects.net for many years now, however I > usually use it to call a basic subroutine on the u2 server. I now > have a little project where I need to get a number of records from a > file, ideally like the output of a list command as I have some itypes > I also need to get. > > I could do this via a select list and read the ids into a unidataset > and then call other programs to get the itype data, or I could do a > unixml probably a few other ways. > > > > So what is the best way to do this ? > > > > > > > > Thanks > > Symeon. > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users - No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2221 / Virus Database: 2634/5433 - Release Date: 12/02/12 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] uniobjects.net
For me the key is in how many is "a number of records"? On Mon, 3 Dec 2012 14:48:45 -, Symeon Breen wrote: Hi - I have been using uniobjects.net for many years now, however I usually use it to call a basic subroutine on the u2 server. I now have a little project where I need to get a number of records from a file, ideally like the output of a list command as I have some itypes I also need to get. I could do this via a select list and read the ids into a unidataset and then call other programs to get the itype data, or I could do a unixml probably a few other ways. So what is the best way to do this ? Thanks Symeon. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] UniObjects.Net error message
You could check if the files it tries to open exists. If using Universe, verify your uverrlog in the uv account. It may have additionnal information. - Original Message From: "Holt, Jake" To: U2 Users List Sent: Wed, June 1, 2011 10:53:51 AM Subject: Re: [U2] UniObjects.Net error message Is the subroutine actually running successfully and you are just getting an error message or is it failing? I have had this message show up occasionally on subroutines that worked when I used END instead of RETURN at the end of the subroutine. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Hona, David Sent: Wednesday, June 01, 2011 1:39 AM To: 'U2 Users List' Subject: Re: [U2] UniObjects.Net error message Is this a new program/process? Do it is just stop working? Does it rely upon label common variables, file hands/variables, etc which perhaps aren't defined when calling it via your call? -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Ken Ford Sent: Wednesday, 1 June 2011 8:50 AM To: u2-users@listserver.u2ug.org Subject: [U2] UniObjects.Net error message I wonder if anyone can assist with this problem: We are using UniObjects.Net with Universe 10.3 on under AIX 5.3. A web request is returning an error about a subroutine failing to complete: [IBM U2][UODOTNET - UNICLIENT][ErrorCode=30107] The subroutine failed to complete successfully It works successfully with other web requests, and the format of the request is correct. The apiserver log file reveals that the request was received, but has this line after the request details: ICSubCall UVSETJMP returncode=30107. When I run the request using a Universe request emulation program that calls the same subroutine, it works correctly and the output is correctly formatted. Thanks for any help or suggestions you may have. Ken Ford Software Engineer (Universe, etc.) ** IMPORTANT MESSAGE * This e-mail message is intended only for the addressee(s) and contains information which may be confidential. If you are not the intended recipient please advise the sender by return email, do not use or disclose the contents, and delete the message and any attachments from your system. Unless specifically indicated, this email does not constitute formal advice or commitment by the sender or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries. We can be contacted through our web site: commbank.com.au. If you no longer wish to receive commercial electronic messages from us, please reply to this e-mail by typing Unsubscribe in the subject line. ** ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] UniObjects.Net error message
Is the subroutine actually running successfully and you are just getting an error message or is it failing? I have had this message show up occasionally on subroutines that worked when I used END instead of RETURN at the end of the subroutine. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Hona, David Sent: Wednesday, June 01, 2011 1:39 AM To: 'U2 Users List' Subject: Re: [U2] UniObjects.Net error message Is this a new program/process? Do it is just stop working? Does it rely upon label common variables, file hands/variables, etc which perhaps aren't defined when calling it via your call? -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Ken Ford Sent: Wednesday, 1 June 2011 8:50 AM To: u2-users@listserver.u2ug.org Subject: [U2] UniObjects.Net error message I wonder if anyone can assist with this problem: We are using UniObjects.Net with Universe 10.3 on under AIX 5.3. A web request is returning an error about a subroutine failing to complete: [IBM U2][UODOTNET - UNICLIENT][ErrorCode=30107] The subroutine failed to complete successfully It works successfully with other web requests, and the format of the request is correct. The apiserver log file reveals that the request was received, but has this line after the request details: ICSubCall UVSETJMP returncode=30107. When I run the request using a Universe request emulation program that calls the same subroutine, it works correctly and the output is correctly formatted. Thanks for any help or suggestions you may have. Ken Ford Software Engineer (Universe, etc.) ** IMPORTANT MESSAGE * This e-mail message is intended only for the addressee(s) and contains information which may be confidential. If you are not the intended recipient please advise the sender by return email, do not use or disclose the contents, and delete the message and any attachments from your system. Unless specifically indicated, this email does not constitute formal advice or commitment by the sender or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries. We can be contacted through our web site: commbank.com.au. If you no longer wish to receive commercial electronic messages from us, please reply to this e-mail by typing Unsubscribe in the subject line. ** ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] UniObjects.Net error message
Is this a new program/process? Do it is just stop working? Does it rely upon label common variables, file hands/variables, etc which perhaps aren't defined when calling it via your call? -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Ken Ford Sent: Wednesday, 1 June 2011 8:50 AM To: u2-users@listserver.u2ug.org Subject: [U2] UniObjects.Net error message I wonder if anyone can assist with this problem: We are using UniObjects.Net with Universe 10.3 on under AIX 5.3. A web request is returning an error about a subroutine failing to complete: [IBM U2][UODOTNET - UNICLIENT][ErrorCode=30107] The subroutine failed to complete successfully It works successfully with other web requests, and the format of the request is correct. The apiserver log file reveals that the request was received, but has this line after the request details: ICSubCall UVSETJMP returncode=30107. When I run the request using a Universe request emulation program that calls the same subroutine, it works correctly and the output is correctly formatted. Thanks for any help or suggestions you may have. Ken Ford Software Engineer (Universe, etc.) ** IMPORTANT MESSAGE * This e-mail message is intended only for the addressee(s) and contains information which may be confidential. If you are not the intended recipient please advise the sender by return email, do not use or disclose the contents, and delete the message and any attachments from your system. Unless specifically indicated, this email does not constitute formal advice or commitment by the sender or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries. We can be contacted through our web site: commbank.com.au. If you no longer wish to receive commercial electronic messages from us, please reply to this e-mail by typing Unsubscribe in the subject line. ** ___ 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!
How very strange - in the non compact version I always pass this argument anyway, but i had thought that if it was not passed, "defcs" was assumed which would be configured correctly on the 2 server. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: 17 May 2011 16:18 To: U2 Users List Subject: 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 - No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1375 / Virus Database: 1509/3642 - Release Date: 05/16/11 ___ 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
Re: [U2] Uniobjects.Net Compact Framework and Visual Basic
Or A namespace is incorrect -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Symeon Breen Sent: Wednesday, May 11, 2011 2:35 PM To: 'U2 Users List' Subject: Re: [U2] Uniobjects.Net Compact Framework and Visual Basic 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 - No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1375 / Virus Database: 1500/3630 - Release Date: 05/11/11 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ 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
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 - No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1375 / Virus Database: 1500/3630 - Release Date: 05/11/11 ___ 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
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
Re: [U2] Uniobjects.Net Compact Framework and Visual Basic
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 ;) -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: 10 May 2011 22:34 To: U2 Users List Subject: Re: [U2] Uniobjects.Net Compact Framework and Visual Basic I can't run a web service on the machine I'm communicating with because it is in scope for PCI compliance. I can't grab the whole error right now because I'm running in the emulator. I'll deploy the thing to a real device tomorrow and save the whole error to a file. Symeon Breen wrote: > Can you post the full exception trace ? > > It may be easier to write a webservice on a web server, and write your > mobile device code to connect to that rather than directly to unidata. > > > -Original Message- > From: u2-users-boun...@listserver.u2ug.org > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny > Sent: 10 May 2011 15:12 > To: U2 Users List > Subject: Re: [U2] Uniobjects.Net Compact Framework and Visual Basic > > I'm not using either of those. Good thought though. Here's some more info: > > No matter which combination of Windows platform (Mobile 5, Mobile 6, CE) > and .NET Framework (2.0 or 3.5) I attempt to use in creating the app it > builds and deploys just fine but when the programs is run either in the > emulator of on a device I get the same error message: "Cannot open > UniObjects Session Error = MissingManifestResourceException" > > When running this "try" loop > > Try > sess = UniObjects.OpenSession("**machine**", "**username**", > "**password**", "c:\local") > Catch ex As Exception > MsgBox("Cannot open UniObjects Session Error = " & ex.Message) > Close() > End Try > > Googleing "MissingManifestResourceException" brings back a large number > of results. All of which basically say "Something seems to be missing". > > Holt, Jake wrote: > >> Are you using a secure connection or connection pooling? I don't think >> either are supported yet with UniObjects on the compact framework. >> >> -Original Message- >> From: u2-users-boun...@listserver.u2ug.org >> [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny >> Sent: Tuesday, May 10, 2011 8:32 AM >> To: U2-Users@listserver.u2ug.org >> Subject: [U2] Uniobjects.Net Compact Framework and Visual Basic >> >> Has anyone successfully written a VB application using the compact >> framework .dll? I attempted to convert on of my working >> Windows/Uniobjects applications and have never been able to get a >> session open under Windows Mobile. All of the example apps are C# which >> really does me no good. Case number 470569*US was opened with Rocket on >> 12/01/10 which has resulted in total silence. >> -- >> >> 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 >> ___ >> U2-Users mailing list >> U2-Users@listserver.u2ug.org >> http://listserver.u2ug.org/mailman/listinfo/u2-users >> >> >> > > -- 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 - No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1325 / Virus Database: 1500/3628 - Release Date: 05/10/11 ___ 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
Hi Jeff I suspect that you may not have included all the components to be carried across to the device. They are on your workstation, hence why it runs, but fails on the device. I believe there is a description of the items that need to be included in the sdk in the ibm or rocket directory. You can put the web service on a different machine and talk to the server hence isolating the data. The U2 webservice can encrypt and provide security connection to that server and is fairly easy to set up. With Web services your application runs on any device where .Net limits you to Microsoft. Regards David Jordan ___ 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
I have a working VB application which I literally cut and pasted the code from into a new project on the Windows mobile platform rather that straight windows. The only difference is the use of the uniobjects for compact framework .dll in the windows mobile application. This is an internal non routable subnet with symbol guns connecting to a server. I can not run a web service because I can't run an http service on the server due to PCI requirements. Yes, I could probably take the demo C# app apart and insert my own code but why should I have to do that? It should work in VB as I have it constructed. It works in windows and as an ASP web application so why should it not work on this platform. Tony Gravagno wrote: While a direct connection from UO sounds elegant, I would advise that such connectivity should be carefully considered. If you're coming into U2 from the outside world via UO, then you may have a direct and insecure connection to your DBMS exposed to the world. I recommend instead using a web service to a middle-tier web server, which then communicates with U2 via UO. Doing this is dirt-simple, and examples are plentiful. BTW, if you get web services working then you can use the same middle/back-end code for any device/client. As far as languages go, C# and VB.NET both target the .NET Framework, and as such the calls are exactly the same, just with different syntax. What one should take from "examples" is not working code, but a guide of how the process works. With that you should be able to implement in any language. Respectfully, I don't care what language you use, but if an example in another language in the same framework does you no good, then you need to better grasp on the framework rather than focusing on the language. This may be why you got total silence from Rocket. Also, BTW, there are free C#/VB language converters on the 'net, if you really need to do that. T From: Holt, Jake Are you using a secure connection or connection pooling? I don't think either are supported yet with UniObjects on the compact framework. From: Jeff Schasny Has anyone successfully written a VB application using the compact framework .dll? I attempted to convert on of my working Windows/Uniobjects applications and have never been able to get a session open under Windows Mobile. All of the example apps are C# which really does me no good. Case number 470569*US was opened with Rocket on 12/01/10 which has resulted in total silence. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users -- 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
Re: [U2] Uniobjects.Net Compact Framework and Visual Basic
I can't run a web service on the machine I'm communicating with because it is in scope for PCI compliance. I can't grab the whole error right now because I'm running in the emulator. I'll deploy the thing to a real device tomorrow and save the whole error to a file. Symeon Breen wrote: Can you post the full exception trace ? It may be easier to write a webservice on a web server, and write your mobile device code to connect to that rather than directly to unidata. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: 10 May 2011 15:12 To: U2 Users List Subject: Re: [U2] Uniobjects.Net Compact Framework and Visual Basic I'm not using either of those. Good thought though. Here's some more info: No matter which combination of Windows platform (Mobile 5, Mobile 6, CE) and .NET Framework (2.0 or 3.5) I attempt to use in creating the app it builds and deploys just fine but when the programs is run either in the emulator of on a device I get the same error message: "Cannot open UniObjects Session Error = MissingManifestResourceException" When running this "try" loop Try sess = UniObjects.OpenSession("**machine**", "**username**", "**password**", "c:\local") Catch ex As Exception MsgBox("Cannot open UniObjects Session Error = " & ex.Message) Close() End Try Googleing "MissingManifestResourceException" brings back a large number of results. All of which basically say "Something seems to be missing". Holt, Jake wrote: Are you using a secure connection or connection pooling? I don't think either are supported yet with UniObjects on the compact framework. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: Tuesday, May 10, 2011 8:32 AM To: U2-Users@listserver.u2ug.org Subject: [U2] Uniobjects.Net Compact Framework and Visual Basic Has anyone successfully written a VB application using the compact framework .dll? I attempted to convert on of my working Windows/Uniobjects applications and have never been able to get a session open under Windows Mobile. All of the example apps are C# which really does me no good. Case number 470569*US was opened with Rocket on 12/01/10 which has resulted in total silence. -- 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 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users -- 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
Re: [U2] Uniobjects.Net Compact Framework and Visual Basic
Can you post the full exception trace ? It may be easier to write a webservice on a web server, and write your mobile device code to connect to that rather than directly to unidata. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: 10 May 2011 15:12 To: U2 Users List Subject: Re: [U2] Uniobjects.Net Compact Framework and Visual Basic I'm not using either of those. Good thought though. Here's some more info: No matter which combination of Windows platform (Mobile 5, Mobile 6, CE) and .NET Framework (2.0 or 3.5) I attempt to use in creating the app it builds and deploys just fine but when the programs is run either in the emulator of on a device I get the same error message: "Cannot open UniObjects Session Error = MissingManifestResourceException" When running this "try" loop Try sess = UniObjects.OpenSession("**machine**", "**username**", "**password**", "c:\local") Catch ex As Exception MsgBox("Cannot open UniObjects Session Error = " & ex.Message) Close() End Try Googleing "MissingManifestResourceException" brings back a large number of results. All of which basically say "Something seems to be missing". Holt, Jake wrote: > Are you using a secure connection or connection pooling? I don't think > either are supported yet with UniObjects on the compact framework. > > -Original Message- > From: u2-users-boun...@listserver.u2ug.org > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny > Sent: Tuesday, May 10, 2011 8:32 AM > To: U2-Users@listserver.u2ug.org > Subject: [U2] Uniobjects.Net Compact Framework and Visual Basic > > Has anyone successfully written a VB application using the compact > framework .dll? I attempted to convert on of my working > Windows/Uniobjects applications and have never been able to get a > session open under Windows Mobile. All of the example apps are C# which > really does me no good. Case number 470569*US was opened with Rocket on > 12/01/10 which has resulted in total silence. > -- > > 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 > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > > -- 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 - No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1325 / Virus Database: 1500/3627 - Release Date: 05/09/11 ___ 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
While a direct connection from UO sounds elegant, I would advise that such connectivity should be carefully considered. If you're coming into U2 from the outside world via UO, then you may have a direct and insecure connection to your DBMS exposed to the world. I recommend instead using a web service to a middle-tier web server, which then communicates with U2 via UO. Doing this is dirt-simple, and examples are plentiful. BTW, if you get web services working then you can use the same middle/back-end code for any device/client. As far as languages go, C# and VB.NET both target the .NET Framework, and as such the calls are exactly the same, just with different syntax. What one should take from "examples" is not working code, but a guide of how the process works. With that you should be able to implement in any language. Respectfully, I don't care what language you use, but if an example in another language in the same framework does you no good, then you need to better grasp on the framework rather than focusing on the language. This may be why you got total silence from Rocket. Also, BTW, there are free C#/VB language converters on the 'net, if you really need to do that. T > From: Holt, Jake > Are you using a secure connection or connection pooling? I > don't think > either are supported yet with UniObjects on the compact framework. > From: Jeff Schasny > Has anyone successfully written a VB application using > the compact framework .dll? I attempted to convert on > of my working Windows/Uniobjects applications and have > never been able to get a session open under Windows > Mobile. All of the example apps are C# which really > does me no good. Case number 470569*US was opened > with Rocket on 12/01/10 which has resulted in total > silence. ___ 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
I'm not using either of those. Good thought though. Here's some more info: No matter which combination of Windows platform (Mobile 5, Mobile 6, CE) and .NET Framework (2.0 or 3.5) I attempt to use in creating the app it builds and deploys just fine but when the programs is run either in the emulator of on a device I get the same error message: "Cannot open UniObjects Session Error = MissingManifestResourceException" When running this "try" loop Try sess = UniObjects.OpenSession("**machine**", "**username**", "**password**", "c:\local") Catch ex As Exception MsgBox("Cannot open UniObjects Session Error = " & ex.Message) Close() End Try Googleing "MissingManifestResourceException" brings back a large number of results. All of which basically say "Something seems to be missing". Holt, Jake wrote: Are you using a secure connection or connection pooling? I don't think either are supported yet with UniObjects on the compact framework. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: Tuesday, May 10, 2011 8:32 AM To: U2-Users@listserver.u2ug.org Subject: [U2] Uniobjects.Net Compact Framework and Visual Basic Has anyone successfully written a VB application using the compact framework .dll? I attempted to convert on of my working Windows/Uniobjects applications and have never been able to get a session open under Windows Mobile. All of the example apps are C# which really does me no good. Case number 470569*US was opened with Rocket on 12/01/10 which has resulted in total silence. -- 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 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users -- 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
Re: [U2] Uniobjects.Net Compact Framework and Visual Basic
C# to vb.net conversion is quite simple, if it works in one it should work in the other. - have you some example code that you need help with ? -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: 10 May 2011 14:32 To: U2-Users@listserver.u2ug.org Subject: [U2] Uniobjects.Net Compact Framework and Visual Basic Has anyone successfully written a VB application using the compact framework .dll? I attempted to convert on of my working Windows/Uniobjects applications and have never been able to get a session open under Windows Mobile. All of the example apps are C# which really does me no good. Case number 470569*US was opened with Rocket on 12/01/10 which has resulted in total silence. -- 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 - No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1325 / Virus Database: 1500/3627 - Release Date: 05/09/11 ___ 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
Are you using a secure connection or connection pooling? I don't think either are supported yet with UniObjects on the compact framework. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: Tuesday, May 10, 2011 8:32 AM To: U2-Users@listserver.u2ug.org Subject: [U2] Uniobjects.Net Compact Framework and Visual Basic Has anyone successfully written a VB application using the compact framework .dll? I attempted to convert on of my working Windows/Uniobjects applications and have never been able to get a session open under Windows Mobile. All of the example apps are C# which really does me no good. Case number 470569*US was opened with Rocket on 12/01/10 which has resulted in total silence. -- 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 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
RE: [U2] UniObjects.NET: populating ListBox from XML
Clif, thanks for thinking about adding that information to the U2UG knowledge base. The more contributions, the more useful the communities knowledge base will be! For those not familiar, check it out at www.u2ug.org. Laura Hirsh U2UG President (Hmmm, I wonder if this is an ad... now that I read it, it's feeling kinda ad-ish. If so, apologies!) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Clifton Oliver Sent: Wednesday, May 14, 2008 4:05 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] UniObjects.NET: populating ListBox from XML I deleted the line ListBox1.DataSource = DS I got the error "Cannot bind to the new value member" thrown on the line .ValueMember = "CUSTOMER" I deleted that line, and now things work as expected. Thank you very much for the help, David. Now I need to hit the books about data bindings and figure out what I just did . If anyone has the title of a favorite "must have" VB.NET book, I'd like hearing about it. If folks want to chime in with recommendations, I'll compile a list and submit it as a item in the U2UG knowledge-base. Regards, Clif On May 13, 2008, at 10:58 PM, Hona, David S wrote: > Oh, delete the line with 'ListBox1.DataSource = DS' in it, I > forgot to! > > > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Hona, David S > Sent: Wednesday, May 14, 2008 2:32 PM > To: u2-users@listserver.u2ug.org > Subject: RE: [U2] UniObjects.NET: populating ListBox from XML > > Clif, > > Try something like this... > > Cmd = uvSession.CreateUniXML > Cmd.GenerateXML("SORT CUSTOMER COMPANY ID.SUP") > DS = Cmd.GetDataSet > ListBox1.DataSource = DS > > With ListBox1 > .DataSource = DS.Tables(0) > .DisplayMember = "COMPANY" > .ValueMember = "CUSTOMER" > End With > > Regards, > David > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Clifton > Oliver > Sent: Wednesday, May 14, 2008 9:05 AM > To: u2-users@listserver.u2ug.org > Subject: [U2] UniObjects.NET: populating ListBox from XML > > Having been successful last week at populating a GridDataView control > using .GenerateXML, we naively thought using XML to populate a ListBox > would be just as straightforward. Using the same code pattern, we've > tried > > Cmd = uvSession.CreateUniXML > Cmd.GenerateXML("SORT CUSTOMER COMPANY ID.SUP") > DS = Cmd.GetDataSet > ListBox1.DataSource = DS > ListBox1.DisplayMember = "CUSTOMER" > ListBox1.Refresh() > > gives us one line in the ListBox that reads > > System.Data.DataViewManagerListItemTypeDescriptor > > Are we missing something from this incantation, or is this not a valid > way to try to populate a ListBox? (Yeah, I guess ComboBoxes are > next.) > > Thanks in advance for any help, examples, or RTM references! > > > Regards, > > Clif > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ No virus found in this incoming message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.16/1431 - Release Date: 5/13/2008 7:55 PM No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.16/1431 - Release Date: 5/13/2008 7:55 PM --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniObjects.NET: populating ListBox from XML
Clif, "Visual Basic 2005" from O'Reily has been very helpful to me. Eric Armstrong Lobel Financial 714-816-1207 -Original Message- From: Clifton Oliver [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 14, 2008 1:05 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] UniObjects.NET: populating ListBox from XML I deleted the line ListBox1.DataSource = DS I got the error "Cannot bind to the new value member" thrown on the line .ValueMember = "CUSTOMER" I deleted that line, and now things work as expected. Thank you very much for the help, David. Now I need to hit the books about data bindings and figure out what I just did . If anyone has the title of a favorite "must have" VB.NET book, I'd like hearing about it. If folks want to chime in with recommendations, I'll compile a list and submit it as a item in the U2UG knowledge-base. Regards, Clif On May 13, 2008, at 10:58 PM, Hona, David S wrote: > Oh, delete the line with 'ListBox1.DataSource = DS' in it, I > forgot to! > > > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Hona, David S > Sent: Wednesday, May 14, 2008 2:32 PM > To: u2-users@listserver.u2ug.org > Subject: RE: [U2] UniObjects.NET: populating ListBox from XML > > Clif, > > Try something like this... > > Cmd = uvSession.CreateUniXML > Cmd.GenerateXML("SORT CUSTOMER COMPANY ID.SUP") > DS = Cmd.GetDataSet > ListBox1.DataSource = DS > > With ListBox1 > .DataSource = DS.Tables(0) > .DisplayMember = "COMPANY" > .ValueMember = "CUSTOMER" > End With > > Regards, > David > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Clifton > Oliver > Sent: Wednesday, May 14, 2008 9:05 AM > To: u2-users@listserver.u2ug.org > Subject: [U2] UniObjects.NET: populating ListBox from XML > > Having been successful last week at populating a GridDataView control > using .GenerateXML, we naively thought using XML to populate a ListBox > would be just as straightforward. Using the same code pattern, we've > tried > > Cmd = uvSession.CreateUniXML > Cmd.GenerateXML("SORT CUSTOMER COMPANY ID.SUP") > DS = Cmd.GetDataSet > ListBox1.DataSource = DS > ListBox1.DisplayMember = "CUSTOMER" > ListBox1.Refresh() > > gives us one line in the ListBox that reads > > System.Data.DataViewManagerListItemTypeDescriptor > > Are we missing something from this incantation, or is this not a valid > way to try to populate a ListBox? (Yeah, I guess ComboBoxes are > next.) > > Thanks in advance for any help, examples, or RTM references! > > > Regards, > > Clif > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ LOBEL FINANCIAL PRIVACY NOTICE: This communication may contain confidential company information that is protected by federal law. Federal regulations prohibit the disclosure (or re-disclosure) of confidential information without the written consent of the person(s) to whom it pertains. Additionally, the views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] UniObjects.NET: populating ListBox from XML
I deleted the line ListBox1.DataSource = DS I got the error "Cannot bind to the new value member" thrown on the line .ValueMember = "CUSTOMER" I deleted that line, and now things work as expected. Thank you very much for the help, David. Now I need to hit the books about data bindings and figure out what I just did . If anyone has the title of a favorite "must have" VB.NET book, I'd like hearing about it. If folks want to chime in with recommendations, I'll compile a list and submit it as a item in the U2UG knowledge-base. Regards, Clif On May 13, 2008, at 10:58 PM, Hona, David S wrote: Oh, delete the line with 'ListBox1.DataSource = DS' in it, I forgot to! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hona, David S Sent: Wednesday, May 14, 2008 2:32 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] UniObjects.NET: populating ListBox from XML Clif, Try something like this... Cmd = uvSession.CreateUniXML Cmd.GenerateXML("SORT CUSTOMER COMPANY ID.SUP") DS = Cmd.GetDataSet ListBox1.DataSource = DS With ListBox1 .DataSource = DS.Tables(0) .DisplayMember = "COMPANY" .ValueMember = "CUSTOMER" End With Regards, David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Clifton Oliver Sent: Wednesday, May 14, 2008 9:05 AM To: u2-users@listserver.u2ug.org Subject: [U2] UniObjects.NET: populating ListBox from XML Having been successful last week at populating a GridDataView control using .GenerateXML, we naively thought using XML to populate a ListBox would be just as straightforward. Using the same code pattern, we've tried Cmd = uvSession.CreateUniXML Cmd.GenerateXML("SORT CUSTOMER COMPANY ID.SUP") DS = Cmd.GetDataSet ListBox1.DataSource = DS ListBox1.DisplayMember = "CUSTOMER" ListBox1.Refresh() gives us one line in the ListBox that reads System.Data.DataViewManagerListItemTypeDescriptor Are we missing something from this incantation, or is this not a valid way to try to populate a ListBox? (Yeah, I guess ComboBoxes are next.) Thanks in advance for any help, examples, or RTM references! Regards, Clif --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniObjects.NET: populating ListBox from XML
Oh, delete the line with 'ListBox1.DataSource = DS' in it, I forgot to! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hona, David S Sent: Wednesday, May 14, 2008 2:32 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] UniObjects.NET: populating ListBox from XML Clif, Try something like this... Cmd = uvSession.CreateUniXML Cmd.GenerateXML("SORT CUSTOMER COMPANY ID.SUP") DS = Cmd.GetDataSet ListBox1.DataSource = DS With ListBox1 .DataSource = DS.Tables(0) .DisplayMember = "COMPANY" .ValueMember = "CUSTOMER" End With Regards, David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Clifton Oliver Sent: Wednesday, May 14, 2008 9:05 AM To: u2-users@listserver.u2ug.org Subject: [U2] UniObjects.NET: populating ListBox from XML Having been successful last week at populating a GridDataView control using .GenerateXML, we naively thought using XML to populate a ListBox would be just as straightforward. Using the same code pattern, we've tried Cmd = uvSession.CreateUniXML Cmd.GenerateXML("SORT CUSTOMER COMPANY ID.SUP") DS = Cmd.GetDataSet ListBox1.DataSource = DS ListBox1.DisplayMember = "CUSTOMER" ListBox1.Refresh() gives us one line in the ListBox that reads System.Data.DataViewManagerListItemTypeDescriptor Are we missing something from this incantation, or is this not a valid way to try to populate a ListBox? (Yeah, I guess ComboBoxes are next.) Thanks in advance for any help, examples, or RTM references! Regards, Clif --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniObjects.NET: populating ListBox from XML
Clif, Try something like this... Cmd = uvSession.CreateUniXML Cmd.GenerateXML("SORT CUSTOMER COMPANY ID.SUP") DS = Cmd.GetDataSet ListBox1.DataSource = DS With ListBox1 .DataSource = DS.Tables(0) .DisplayMember = "COMPANY" .ValueMember = "CUSTOMER" End With Regards, David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Clifton Oliver Sent: Wednesday, May 14, 2008 9:05 AM To: u2-users@listserver.u2ug.org Subject: [U2] UniObjects.NET: populating ListBox from XML Having been successful last week at populating a GridDataView control using .GenerateXML, we naively thought using XML to populate a ListBox would be just as straightforward. Using the same code pattern, we've tried Cmd = uvSession.CreateUniXML Cmd.GenerateXML("SORT CUSTOMER COMPANY ID.SUP") DS = Cmd.GetDataSet ListBox1.DataSource = DS ListBox1.DisplayMember = "CUSTOMER" ListBox1.Refresh() gives us one line in the ListBox that reads System.Data.DataViewManagerListItemTypeDescriptor Are we missing something from this incantation, or is this not a valid way to try to populate a ListBox? (Yeah, I guess ComboBoxes are next.) Thanks in advance for any help, examples, or RTM references! Regards, Clif --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] UniObjects.NET: .GenerateXML method fails
It's confirmed. As soon I globally cataloged that routine, DataGridView is working. We haven't gotten a list box to work, but that will be another subject line for archive purposes. Thank you! Regards, Clif On May 6, 2008, at 3:12 PM, Clifton Oliver wrote: Sure enough, that subroutine was not cataloged on the AIX system. I've cataloged it, but got my PC access expired before I could test it. (What are the odds?) I'll report back to the list (for the archives) with a verification when I get my access renewed. Thank you! Regards, Clif On May 6, 2008, at 1:50 PM, Brian Leach wrote: Hi Clif I would check to see whether the GETXMLSUB subroutine has been globally cataloged in the uv account. The code is in BP, it needs to be cataloged as *GETXMLSUB. Brian Greetings, List Citizens (Litizens?) A client of mine and I are having problems with using UniObjects.NET and the GenerateXML menthod to populate a data grid in VB.NET. The following code, almost a cut-and-paste from Brian Leach's excellent Introducing UniObject for .NET in the U2UG Knowledge Base runs perfectly on UV PE 10.2.8 on Windows XP SP2 using the 10.2 UV clients. Private Sub cmdRead_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdRead.Click Cmd = uvSession.CreateUniXML Cmd.GenerateXML("SORT CUSTOMER COMPANY ID.SUP") DS = Cmd.GetDataSet DataGridView1.DataSource = DS DataGridView1.DataMember = "CUSTOMER" DataGridView1.Refresh() End Sub But when we try the exact code against an AIX system, UV 10.1.7 using the 10.1A clients, we get the following error: [IBM U2][UODOTNET - UNICLIENT][ErrorCode=30105] Unable to load the subroutine on the server[IBM U2][UODOTNET - UNICLIENT][ErrorCode=91] Please verify UniVerse or UniData Version. This feature may not be supported in older UniVerse or UniData version. In both cases, I am going against the CUSTOMER file in the demo HS.SALES account. I have logged into the AIX system with the same ID as is being used to connect a session and verified that I have permissions to access the file. The command SORT CUSTOMER COMPANY ID.SUP TOXML ELEMENTS issued from the TCL prompt gives the expected results. None of the dictionary descriptors are trying to call a subroutine, so I don't understand what that part of the error message is referring to. Thanks in advance for any help, ideas, or insights. Regards, Clif -- W. Clifton Oliver, CCP CLIFTON OLIVER & ASSOCIATES Tel: +1 619 460 5678Web: www.oliver.com --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniObjects.NET: .GenerateXML method fails
Hi Clif I think I was confusing UniXML with U2 Web Services Developer, which is mentioned in 'newfeatures.pdf' for UV 10.2. This states for U2WSD, that UV 10.1.18 (or greater) is required. But I stumbled upon the fact UniXML works on this release (10.1.18), but not lower ones. I can't find any references in 'newfeatures.pdf' to the use of UniXML functionality. Regards, David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Clifton Oliver Sent: Wednesday, May 07, 2008 5:28 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] UniObjects.NET: .GenerateXML method fails Thanks, David. I'll check those references and post a summary findings back to the list. I really appreciate the help! Regards, Clif On May 6, 2008, at 8:31 PM, Hona, David S wrote: > Clif, > > I vaguely recall that the UniXML functionality isn't officially > supported until UV 10.2.x (on the server). I could > > However, I have got it working at UniVerse 10.1.18 on Sun Solaris. But > earlier versions of UV 10.1.x do not work with UniXML calls. This is > the same U2 Webservices Developer Tool (and some other toolsets as > well). > > I believe this may be mentioned in the UniVerse 'newfeatures.pdf' > for UV > 10.2 documentation set. > > > Regards > David --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] UniObjects.NET: .GenerateXML method fails
Thanks, David. I'll check those references and post a summary findings back to the list. I really appreciate the help! Regards, Clif On May 6, 2008, at 8:31 PM, Hona, David S wrote: Clif, I vaguely recall that the UniXML functionality isn't officially supported until UV 10.2.x (on the server). I could However, I have got it working at UniVerse 10.1.18 on Sun Solaris. But earlier versions of UV 10.1.x do not work with UniXML calls. This is the same U2 Webservices Developer Tool (and some other toolsets as well). I believe this may be mentioned in the UniVerse 'newfeatures.pdf' for UV 10.2 documentation set. Regards David --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniObjects.NET: .GenerateXML method fails
Clif, I vaguely recall that the UniXML functionality isn't officially supported until UV 10.2.x (on the server). I could However, I have got it working at UniVerse 10.1.18 on Sun Solaris. But earlier versions of UV 10.1.x do not work with UniXML calls. This is the same U2 Webservices Developer Tool (and some other toolsets as well). I believe this may be mentioned in the UniVerse 'newfeatures.pdf' for UV 10.2 documentation set. Regards David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Clifton Oliver Sent: Wednesday, May 07, 2008 6:36 AM To: u2-users@listserver.u2ug.org Subject: [U2] UniObjects.NET: .GenerateXML method fails Greetings, List Citizens (Litizens?) A client of mine and I are having problems with using UniObjects.NET and the GenerateXML menthod to populate a data grid in VB.NET. The following code, almost a cut-and-paste from Brian Leach's excellent Introducing UniObject for .NET in the U2UG Knowledge Base runs perfectly on UV PE 10.2.8 on Windows XP SP2 using the 10.2 UV clients. Private Sub cmdRead_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdRead.Click Cmd = uvSession.CreateUniXML Cmd.GenerateXML("SORT CUSTOMER COMPANY ID.SUP") DS = Cmd.GetDataSet DataGridView1.DataSource = DS DataGridView1.DataMember = "CUSTOMER" DataGridView1.Refresh() End Sub But when we try the exact code against an AIX system, UV 10.1.7 using the 10.1A clients, we get the following error: [IBM U2][UODOTNET - UNICLIENT][ErrorCode=30105] Unable to load the subroutine on the server[IBM U2][UODOTNET - UNICLIENT][ErrorCode=91] Please verify UniVerse or UniData Version. This feature may not be supported in older UniVerse or UniData version. In both cases, I am going against the CUSTOMER file in the demo HS.SALES account. I have logged into the AIX system with the same ID as is being used to connect a session and verified that I have permissions to access the file. The command SORT CUSTOMER COMPANY ID.SUP TOXML ELEMENTS issued from the TCL prompt gives the expected results. None of the dictionary descriptors are trying to call a subroutine, so I don't understand what that part of the error message is referring to. Thanks in advance for any help, ideas, or insights. Regards, Clif --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] UniObjects.NET: .GenerateXML method fails
Sure enough, that subroutine was not cataloged on the AIX system. I've cataloged it, but got my PC access expired before I could test it. (What are the odds?) I'll report back to the list (for the archives) with a verification when I get my access renewed. Thank you! Regards, Clif On May 6, 2008, at 1:50 PM, Brian Leach wrote: Hi Clif I would check to see whether the GETXMLSUB subroutine has been globally cataloged in the uv account. The code is in BP, it needs to be cataloged as *GETXMLSUB. Brian Greetings, List Citizens (Litizens?) A client of mine and I are having problems with using UniObjects.NET and the GenerateXML menthod to populate a data grid in VB.NET. The following code, almost a cut-and-paste from Brian Leach's excellent Introducing UniObject for .NET in the U2UG Knowledge Base runs perfectly on UV PE 10.2.8 on Windows XP SP2 using the 10.2 UV clients. Private Sub cmdRead_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdRead.Click Cmd = uvSession.CreateUniXML Cmd.GenerateXML("SORT CUSTOMER COMPANY ID.SUP") DS = Cmd.GetDataSet DataGridView1.DataSource = DS DataGridView1.DataMember = "CUSTOMER" DataGridView1.Refresh() End Sub But when we try the exact code against an AIX system, UV 10.1.7 using the 10.1A clients, we get the following error: [IBM U2][UODOTNET - UNICLIENT][ErrorCode=30105] Unable to load the subroutine on the server[IBM U2][UODOTNET - UNICLIENT][ErrorCode=91] Please verify UniVerse or UniData Version. This feature may not be supported in older UniVerse or UniData version. In both cases, I am going against the CUSTOMER file in the demo HS.SALES account. I have logged into the AIX system with the same ID as is being used to connect a session and verified that I have permissions to access the file. The command SORT CUSTOMER COMPANY ID.SUP TOXML ELEMENTS issued from the TCL prompt gives the expected results. None of the dictionary descriptors are trying to call a subroutine, so I don't understand what that part of the error message is referring to. Thanks in advance for any help, ideas, or insights. Regards, Clif -- W. Clifton Oliver, CCP CLIFTON OLIVER & ASSOCIATES Tel: +1 619 460 5678Web: www.oliver.com --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniObjects.NET: .GenerateXML method fails
Hi Clif I would check to see whether the GETXMLSUB subroutine has been globally cataloged in the uv account. The code is in BP, it needs to be cataloged as *GETXMLSUB. Brian Greetings, List Citizens (Litizens?) A client of mine and I are having problems with using UniObjects.NET and the GenerateXML menthod to populate a data grid in VB.NET. The following code, almost a cut-and-paste from Brian Leach's excellent Introducing UniObject for .NET in the U2UG Knowledge Base runs perfectly on UV PE 10.2.8 on Windows XP SP2 using the 10.2 UV clients. Private Sub cmdRead_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdRead.Click Cmd = uvSession.CreateUniXML Cmd.GenerateXML("SORT CUSTOMER COMPANY ID.SUP") DS = Cmd.GetDataSet DataGridView1.DataSource = DS DataGridView1.DataMember = "CUSTOMER" DataGridView1.Refresh() End Sub But when we try the exact code against an AIX system, UV 10.1.7 using the 10.1A clients, we get the following error: [IBM U2][UODOTNET - UNICLIENT][ErrorCode=30105] Unable to load the subroutine on the server[IBM U2][UODOTNET - UNICLIENT][ErrorCode=91] Please verify UniVerse or UniData Version. This feature may not be supported in older UniVerse or UniData version. In both cases, I am going against the CUSTOMER file in the demo HS.SALES account. I have logged into the AIX system with the same ID as is being used to connect a session and verified that I have permissions to access the file. The command SORT CUSTOMER COMPANY ID.SUP TOXML ELEMENTS issued from the TCL prompt gives the expected results. None of the dictionary descriptors are trying to call a subroutine, so I don't understand what that part of the error message is referring to. Thanks in advance for any help, ideas, or insights. Regards, Clif -- W. Clifton Oliver, CCP CLIFTON OLIVER & ASSOCIATES Tel: +1 619 460 5678Web: www.oliver.com --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Uniobjects.Net
Windows or *nix, makes no nevermind. You pay for UV per session licence. However, some versions of UV allow device licencing - meaning clients (such as UODotNet) can have 10 sessions from one ip and consume a single licence. I believe that a pooling licence is an optional extra. UODotNet can take advantage of the pooling facilities supplied FREE with NO money that MS provide under the guise of Enterprise Component Services. If you have device licensing enabled this will translate to roughly 10 UODotNet sessions per ordinary UV licence consumed. You will have to contact your UV reseller to work out whether the pooling licence is more or less economical than using Ent. Services with device licencing. Regards, Stuart. >-Original Message- >UniObjects is not an additional paid product like RedBack. >However the latest version with UV 10.2 supports (optional) inbuilt >connection pooling. >If you want to take advantage of that you will need the new pooled >connection licence. 1) Is Uniobjects.Net for .Net a paid product like Redback or is it "free" to those who have Universe installed. 2) If my universe machine is a unix machine, does that change the licensing model. I seem to remember at one point it "came" with the windows version of UV, but needed to "pay" if you ran Universe on a Unix machine. ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this communication in error, please reply to this e-mail to notify the sender of its incorrect delivery and then delete it and your reply. It is your responsibility to check this email and any attachments for viruses and defects before opening or sending them on. Spotless collects information about you to provide and market our services. For information about use, disclosure and access, see our privacy policy at http://www.spotless.com.au Please consider our environment before printing this email. ** --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Uniobjects.Net
Hi It depends. UniObjects is not an additional paid product like RedBack. However the latest version with UV 10.2 supports (optional) inbuilt connection pooling. If you want to take advantage of that you will need the new pooled connection licence. Brian > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: 28 March 2007 16:04 > To: u2-users@listserver.u2ug.org > Subject: [U2] Uniobjects.Net > > A couple of questions: > > 1) Is Uniobjects.Net for .Net a paid product like Redback or > is it "free" to those who have Universe installed. > > 2) If my universe machine is a unix machine, does that change > the licensing model. I seem to remember at one point it > "came" with the windows version of UV, but needed to "pay" if > you ran Universe on a Unix machine. > > Any help on above would be greatly appreciated. > > Peter W. > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Uniobjects.NET speed/performance
Suppose I should have mentioned that my example was in c# using UniObjects .Net. I have been able to see that using the readlist method allows the program to run much faster, simply putting the select list into a loop and reading one record at a time runs noticeably slower. I didn't have this problem with the com based uniobjects or with the uniobjects for java library (even when I ran that under c# and .net). I've seen another post that referred to an updated dll, but when I tried to obtain it I was told by my var that it's not available. Now, I've also run up on a problem with writefield as it performs a consistent seg fault when used. I'm a bit perplexed by how UniObjects for .net was written. An example is with the writefield method itself. Instead of following the pattern laid out by UniObjects for Java, the programmer(s) chose to shuffle the order of the arguments to this method making it a nuisance to switch back and forth from one library to another. Not a big deal when your going to use only one environment, but still an oversight that could have easily been taken care of with a bit of attention to detail. --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Uniobjects.NET speed/performance
Thanks Don. I understand about being too busy to respond, been having the same problem. You answered my main question, which was if you were able to get the ReadList method to work. I tried exactly what you have there (except in VB), but no success. When I step through the code in the debugger, I get to the line that is the equivalent of your uvTmp = uvsl.ReadList(); The debugger shows the list of id's for uvsl.ReadList but when I execute the step to assign it to uvTmp, uvTmp is empty, and uvsl.ReadList is empty also!. No error is thrown. Not sure what's going on there. I haven't switched over to UO.Net yet though. So I think I'll drop this until I start using UO.Net. Thanks again Victor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Don Kibbey Sent: Saturday, December 04, 2004 9:02 AM To: [EMAIL PROTECTED] Subject: RE: [U2] Uniobjects.NET speed/performance Sorry so late, it's been very busy here and I've turned off u2 list access at work in order to cope... Here's a snippet of code form the very project that is currently taking up all my time. The array logic was stolen right out of the .net developers guide... ... This is just a section of code, this won't compile as is... string [] lRecIDArray ; ArrayList lRecIDList = new ArrayList(2); StringBuilder lStrValue = new StringBuilder(); UniDynArray uvTmp = uSession.CreateUniDynArray(); // select a file, here I'm just getting everything uvsl.Select(uvfVENDOR); // read the whole list into a unidynarray, I happen to know this file is not very big so it's ok. uvTmp = uvsl.ReadList(); // create array of Record IDs for(int Index = 0; Index < uvTmp.Dcount(); Index++) { string s = uvTmp.Extract(Index).ToString(); if (s.Length > 0){ lRecIDList.Add(s); } } // this is the part obtained from the manual. lRecIDArray = new string[lRecIDList.Count]; lRecIDList.CopyTo(0,lRecIDArray,0,lRecIDList.Count); // read records using array of record ids // this part is fast, get all the stuff you want right now UniDataSet lSet = uvfVENDOR.ReadRecords(lRecIDArray); int iCnt = 0; char uvVM = Convert.ToChar(253); char SPACE = Convert.ToChar(32); foreach (UniRecord uvVendor in lSet) { uvTmp = uvVendor.Record; // extract and process the data string tmp = uvTmp.Extract(1).ToString(); // the rest is snipped... endendend -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Victor St Clair Sent: Monday, November 29, 2004 1:28 PM To: [EMAIL PROTECTED] Subject: RE: [U2] Uniobjects.NET speed/performance I've had the same experience, using a select loop in a list runs very slowly, and was planning to try this same approach. I tried to use ReadList method of the Slist object as documented in the UniObjects manual, but haven't gotten it to work yet. Did you use the ReadList or did you fill the array by repeating listobject.Next()? I'm still on UniObject 6, working with UniData 6. If I just do a listobject.Select(fileobject) then it processes fast enough. But if I execute a command to create a select list and then loop through it, the performance gets progressively worse as the record count increases. I'd appreciate any example you might be able share. Thanks Victor St. Clair -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Donald Kibbey Sent: Thursday, November 04, 2004 4:11 AM To: [EMAIL PROTECTED] Subject: Re: [U2] Uniobjects.NET speed/performance I found that using a select list within a loop was cause for a long nap... I fixed that by reading the entire list into an array and then looping through the array. I've read on this list that there is an updated uniobjects.dll available, but my VAR was not able to locate it?!? I really don't understand why IBM does not just post the developers tools as a public download. You really can't do much with them unless you already have a licensed database so why the hassle? Don Kibbey Financial Systems Manager Finnegan, Henderson, Farabow, Garrett &a
RE: [U2] Uniobjects.NET speed/performance
Sorry so late, it's been very busy here and I've turned off u2 list access at work in order to cope... Here's a snippet of code form the very project that is currently taking up all my time. The array logic was stolen right out of the .net developers guide... ... This is just a section of code, this won't compile as is... string [] lRecIDArray ; ArrayList lRecIDList = new ArrayList(2); StringBuilder lStrValue = new StringBuilder(); UniDynArray uvTmp = uSession.CreateUniDynArray(); // select a file, here I'm just getting everything uvsl.Select(uvfVENDOR); // read the whole list into a unidynarray, I happen to know this file is not very big so it's ok. uvTmp = uvsl.ReadList(); // create array of Record IDs for(int Index = 0; Index < uvTmp.Dcount(); Index++) { string s = uvTmp.Extract(Index).ToString(); if (s.Length > 0){ lRecIDList.Add(s); } } // this is the part obtained from the manual. lRecIDArray = new string[lRecIDList.Count]; lRecIDList.CopyTo(0,lRecIDArray,0,lRecIDList.Count); // read records using array of record ids // this part is fast, get all the stuff you want right now UniDataSet lSet = uvfVENDOR.ReadRecords(lRecIDArray); int iCnt = 0; char uvVM = Convert.ToChar(253); char SPACE = Convert.ToChar(32); foreach (UniRecord uvVendor in lSet) { uvTmp = uvVendor.Record; // extract and process the data string tmp = uvTmp.Extract(1).ToString(); // the rest is snipped... endendend -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Victor St Clair Sent: Monday, November 29, 2004 1:28 PM To: [EMAIL PROTECTED] Subject: RE: [U2] Uniobjects.NET speed/performance I've had the same experience, using a select loop in a list runs very slowly, and was planning to try this same approach. I tried to use ReadList method of the Slist object as documented in the UniObjects manual, but haven't gotten it to work yet. Did you use the ReadList or did you fill the array by repeating listobject.Next()? I'm still on UniObject 6, working with UniData 6. If I just do a listobject.Select(fileobject) then it processes fast enough. But if I execute a command to create a select list and then loop through it, the performance gets progressively worse as the record count increases. I'd appreciate any example you might be able share. Thanks Victor St. Clair -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Donald Kibbey Sent: Thursday, November 04, 2004 4:11 AM To: [EMAIL PROTECTED] Subject: Re: [U2] Uniobjects.NET speed/performance I found that using a select list within a loop was cause for a long nap... I fixed that by reading the entire list into an array and then looping through the array. I've read on this list that there is an updated uniobjects.dll available, but my VAR was not able to locate it?!? I really don't understand why IBM does not just post the developers tools as a public download. You really can't do much with them unless you already have a licensed database so why the hassle? Don Kibbey Financial Systems Manager Finnegan, Henderson, Farabow, Garrett & Dunner LLP --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Uniobjects.NET speed/performance
I've had the same experience, using a select loop in a list runs very slowly, and was planning to try this same approach. I tried to use ReadList method of the Slist object as documented in the UniObjects manual, but haven't gotten it to work yet. Did you use the ReadList or did you fill the array by repeating listobject.Next()? I'm still on UniObject 6, working with UniData 6. If I just do a listobject.Select(fileobject) then it processes fast enough. But if I execute a command to create a select list and then loop through it, the performance gets progressively worse as the record count increases. I'd appreciate any example you might be able share. Thanks Victor St. Clair -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Donald Kibbey Sent: Thursday, November 04, 2004 4:11 AM To: [EMAIL PROTECTED] Subject: Re: [U2] Uniobjects.NET speed/performance I found that using a select list within a loop was cause for a long nap... I fixed that by reading the entire list into an array and then looping through the array. I've read on this list that there is an updated uniobjects.dll available, but my VAR was not able to locate it?!? I really don't understand why IBM does not just post the developers tools as a public download. You really can't do much with them unless you already have a licensed database so why the hassle? Don Kibbey Financial Systems Manager Finnegan, Henderson, Farabow, Garrett & Dunner LLP --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniObjects.NET speed/performance - PERFORMANCE SURVEY
Just a quick follow-up... We received the latest engineering patch from IBM today (1.1.1.0) and Performance has massively improved. It's all fine now :) So, if you are having performance problems with UO.NET, then I suggest You badger tech support until you receive the latest revisions of uodotnet.dll. In our testing, the version shipped with the current UniDK works fine on a local Universe (I was using the personal edition) but fell over *hard* when trying to communicate over the network. I'm afraid I have no More detail than that at the mo. Cheers Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Tabor Sent: 05 November 2004 19:05 To: [EMAIL PROTECTED] Subject: RE: [U2] UniObjects.NET speed/performance - PERFORMANCE SURVEY *** Now you've got me wondering... *** We're considering moving from UO to UO.NET due to a considerable amount of our non-MV programming is in VB.NET anyway. I'm getting the feeling that UO.NET is generally slow, but then remembered, this conversation is one-sided so far. On the flip side of this conversation, can we get a feel for how many people are experiencing performance issues, and how many are finding it's working just fine? Simple SLOW/FINE answers are fine, but feel free to explain answers or comment further if you'd like. Thanks, for the help Dave -Original Message- I find .net to be slow and cludgy in virtually all situations - even with a fast processor and 512MB RAM. -Original Message- Yes! We found it so slow - Original Message - > Is anyone else experiencing speed problems with Uniobjects.net? > > I've just upgraded our core application from Uniobjects to UONET (a > non-trivial exercise as I'm sure you're aware) but the response times > are atrocious. Opening a file has gone from being a virtually instant > response to taking well over a quarter of a second. --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniObjects.Net specifying port
Yes spotted that, but I need an instantiated object to set the port on, but how do I construct a UniSession object without using the OpenSession method ? There doesn't seem to be a constructor that allows creation of the object without attempting a connection, seemingly in the event of a failed connection opensession does not return an instance of the object. Unless I'm missing something obvious ? Ian -Original Message- From: Ron White [mailto:[EMAIL PROTECTED] Sent: 09 November 2004 19:19 To: [EMAIL PROTECTED] Subject: Re: [U2] UniObjects.Net specifying port Look in the UniObjects .Net Help under UniSession Properties. One of the properties is public int HostPort {get; set;}. Ron White - Original Message - From: "Ian Clark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 09, 2004 8:35 AM Subject: [U2] UniObjects.Net specifying port > Hi, > > We've recently received UniObjects.NET and are investigating upgrading our > existing UO code to .NET. However our RPC daemon is configured to run on > a different port from the normal. Does anyone know how to specify the > port number used to connect when using UO.NET. Previously our code was > able to perform this using the hostname property (e.g. "HOST:PORT") > however UO.NET doesn't like this and complains that the host doesn't > exist. I can't seem to find a constructor that allows me to create a > session without actually opening a session, and unfortunately the > opensession method does not allow a port specification. > > Anyone got any ideas ? > > I Clark > > > The information in this electronic mail message is Confidential and may be > legally privileged. > It is intended solely for the addressees. Access to this internet > electronic mail message by anyone else is unauthorized. > If you are not the intended recipient, any disclosure, copying, > distribution or any action taken or omitted to be taken > in reliance on it is prohibited and may be unlawful. The sender believes > that this E-mail and any attachments were free > of any virus, worm, Trojan horse, and/or malicious code when sent. > This message and its attachments could have been infected during > transmission. By reading the message and opening any > attachments, the recipient accepts full responsibility for taking > protective and remedial action about viruses and other > defects. The sender's employer is not liable for any loss or damage > arising in any way from this message or its attachments. > -VRG3a- > --- > u2-users mailing list > [EMAIL PROTECTED] > To unsubscribe please visit http://listserver.u2ug.org/ > --- > [ E-mail scanned Virus Free by NAI - McAfee anti-virus system ] > > > --- [ E-mail scanned Virus Free by NAI - McAfee anti-virus system ] --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ The information in this electronic mail message is Confidential and may be legally privileged. It is intended solely for the addressees. Access to this internet electronic mail message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. The sender believes that this E-mail and any attachments were free of any virus, worm, Trojan horse, and/or malicious code when sent. This message and its attachments could have been infected during transmission. By reading the message and opening any attachments, the recipient accepts full responsibility for taking protective and remedial action about viruses and other defects. The sender's employer is not liable for any loss or damage arising in any way from this message or its attachments. -VRG3a- --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] UniObjects.Net specifying port
Look in the UniObjects .Net Help under UniSession Properties. One of the properties is public int HostPort {get; set;}. Ron White - Original Message - From: "Ian Clark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 09, 2004 8:35 AM Subject: [U2] UniObjects.Net specifying port Hi, We've recently received UniObjects.NET and are investigating upgrading our existing UO code to .NET. However our RPC daemon is configured to run on a different port from the normal. Does anyone know how to specify the port number used to connect when using UO.NET. Previously our code was able to perform this using the hostname property (e.g. "HOST:PORT") however UO.NET doesn't like this and complains that the host doesn't exist. I can't seem to find a constructor that allows me to create a session without actually opening a session, and unfortunately the opensession method does not allow a port specification. Anyone got any ideas ? I Clark The information in this electronic mail message is Confidential and may be legally privileged. It is intended solely for the addressees. Access to this internet electronic mail message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. The sender believes that this E-mail and any attachments were free of any virus, worm, Trojan horse, and/or malicious code when sent. This message and its attachments could have been infected during transmission. By reading the message and opening any attachments, the recipient accepts full responsibility for taking protective and remedial action about viruses and other defects. The sender's employer is not liable for any loss or damage arising in any way from this message or its attachments. -VRG3a- --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ --- [ E-mail scanned Virus Free by NAI - McAfee anti-virus system ] --- [ E-mail scanned Virus Free by NAI - McAfee anti-virus system ] --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniObjects.NET speed/performance - PERFORMANCE SURVEY
I would be interested in knowing the same thing. We are considering porting our existing UO applications to UO.NET. Many thanks also. Harry Hambrick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Tabor Sent: Friday, November 05, 2004 2:05 PM To: [EMAIL PROTECTED] Subject: RE: [U2] UniObjects.NET speed/performance - PERFORMANCE SURVEY *** Now you've got me wondering... *** We're considering moving from UO to UO.NET due to a considerable amount of our non-MV programming is in VB.NET anyway. I'm getting the feeling that UO.NET is generally slow, but then remembered, this conversation is one-sided so far. On the flip side of this conversation, can we get a feel for how many people are experiencing performance issues, and how many are finding it's working just fine? Simple SLOW/FINE answers are fine, but feel free to explain answers or comment further if you'd like. Thanks, for the help Dave -Original Message- I find .net to be slow and cludgy in virtually all situations - even with a fast processor and 512MB RAM. -Original Message- Yes! We found it so slow - Original Message - > Is anyone else experiencing speed problems with Uniobjects.net? > > I've just upgraded our core application from Uniobjects to UONET > (a non-trivial exercise as I'm sure you're aware) but the response > times are atrocious. Opening a file has gone from being a virtually > instant response to taking well over a quarter of a second. --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniObjects.NET speed/performance - PERFORMANCE SURVEY
Slow as the proverbial in my case; went back to VB6. Majority of our stuff is in Java so it was no great problem to us. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Tabor Sent: 05 November 2004 19:05 To: [EMAIL PROTECTED] Subject: RE: [U2] UniObjects.NET speed/performance - PERFORMANCE SURVEY *** Now you've got me wondering... *** We're considering moving from UO to UO.NET due to a considerable amount of our non-MV programming is in VB.NET anyway. I'm getting the feeling that UO.NET is generally slow, but then remembered, this conversation is one-sided so far. On the flip side of this conversation, can we get a feel for how many people are experiencing performance issues, and how many are finding it's working just fine? Simple SLOW/FINE answers are fine, but feel free to explain answers or comment further if you'd like. Thanks, for the help Dave -Original Message- I find .net to be slow and cludgy in virtually all situations - even with a fast processor and 512MB RAM. -Original Message- Yes! We found it so slow - Original Message - > Is anyone else experiencing speed problems with Uniobjects.net? > > I've just upgraded our core application from Uniobjects to UONET > (a non-trivial exercise as I'm sure you're aware) but the response > times are atrocious. Opening a file has gone from being a virtually > instant response to taking well over a quarter of a second. --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ The information contained in this email is strictly confidential and for the use of the addressee only, unless otherwise indicated. If you are not the intended recipient, please do not read, copy, use or disclose to others this message or any attachment. Please also notify the sender by replying to this email or by telephone +44 (0)20 7896 0011 and then delete the email and any copies of it. Opinions, conclusions (etc.) that do not relate to the official business of this company shall be understood as neither given nor endorsed by it. IG Markets Limited and IG Index Plc are authorised and regulated by the Financial Services Authority and, in Australia, by the Australian Securities and Investments Commission. --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniObjects.NET speed/performance - PERFORMANCE SURVEY
On my test system the connection is slow but after that I feel it is just fine. grs -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Tabor Sent: Friday, November 05, 2004 1:05 PM To: [EMAIL PROTECTED] Subject: RE: [U2] UniObjects.NET speed/performance - PERFORMANCE SURVEY *** Now you've got me wondering... *** We're considering moving from UO to UO.NET due to a considerable amount of our non-MV programming is in VB.NET anyway. I'm getting the feeling that UO.NET is generally slow, but then remembered, this conversation is one-sided so far. On the flip side of this conversation, can we get a feel for how many people are experiencing performance issues, and how many are finding it's working just fine? Simple SLOW/FINE answers are fine, but feel free to explain answers or comment further if you'd like. Thanks, for the help Dave -Original Message- I find .net to be slow and cludgy in virtually all situations - even with a fast processor and 512MB RAM. -Original Message- Yes! We found it so slow - Original Message - > Is anyone else experiencing speed problems with Uniobjects.net? > > I've just upgraded our core application from Uniobjects to UONET > (a non-trivial exercise as I'm sure you're aware) but the response > times are atrocious. Opening a file has gone from being a virtually > instant response to taking well over a quarter of a second. --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniObjects.NET speed/performance - PERFORMANCE SURVEY
*** Now you've got me wondering... *** We're considering moving from UO to UO.NET due to a considerable amount of our non-MV programming is in VB.NET anyway. I'm getting the feeling that UO.NET is generally slow, but then remembered, this conversation is one-sided so far. On the flip side of this conversation, can we get a feel for how many people are experiencing performance issues, and how many are finding it's working just fine? Simple SLOW/FINE answers are fine, but feel free to explain answers or comment further if you'd like. Thanks, for the help Dave -Original Message- I find .net to be slow and cludgy in virtually all situations - even with a fast processor and 512MB RAM. -Original Message- Yes! We found it so slow - Original Message - > Is anyone else experiencing speed problems with Uniobjects.net? > > I've just upgraded our core application from Uniobjects to UONET > (a non-trivial exercise as I'm sure you're aware) but the response > times are atrocious. Opening a file has gone from being a virtually > instant response to taking well over a quarter of a second. --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Uniobjects.NET speed/performance
I certainly don't want this to become a compiler war, but for the sake of a alternate opinion. I would agree with another post in that you can code efficient code in .net. You DO need to override some of the defaults assumed by the ide when you create project though. It seems like MS wants to reference everything under the sun when you create a project. I have written some extensive applications in VB 6.0 (interfaced to Universe using Uniobjects to emulate and ADO-like interface [keeps me on topic :)]). I would have greatly appreciated the improvements in .net where I can gain access to more of what VB6 hid from the developer. Being more of a real object oriented language helps too. Just my $0.02 Rich Taylor | Senior Programmer/Analyst| VERTIS 250 W. Pratt Street | Baltimore, MD 21201 P 410.361.8688 | F 410.528.0319 [EMAIL PROTECTED] | http://www.vertisinc.com Vertis is the premier provider of targeted advertising, media, and marketing services that drive consumers to marketers more effectively. "The more they complicate the plumbing the easier it is to stop up the drain" - Montgomery Scott NCC-1701 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Leach Sent: Friday, November 05, 2004 4:24 AM To: [EMAIL PROTECTED] Subject: RE: [U2] Uniobjects.NET speed/performance I find .net to be slow and cludgy in virtually all situations - even with a fast processor and 512MB RAM. I've been completely unimpressed with it since it was released. The classes never seem to expose what I need, and you don't get source code to feel safe changing them. The WebForms are primitive and ugly to work with, there isn't enough cross-platform support to justify the run machine, and the only thing advantage seems to be that it doesn't use COM to bind everthing. Web services are cool, but there are other tool to create those, and the .NET version needs tailoring to work with many web service clients. I understand the advantages of turning the WinAPI into a class structure (the old WInAPI was horrible to use) but there are far better wrappers already out there. It just seems another piece of M$ bloatware that really doesn't deliver enough new quality functionality to justify the performance overheads. If you want a truly fast, clean, fully OO environment that delivers the WinAPI in a sensible structure, provides all of the functionality you could require, doesn't rely on installing huge run machines and a stack of libraries, offers source code to the class libraries and is designed for professionals, use Delphi. Yes it has a learning curve, but it is still vastly better than any other Windows tool around. My 2 cents. Brian "used VB and Delphi since version 1" Leach -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kate Stanton Sent: 05 November 2004 00:37 To: [EMAIL PROTECTED] Subject: Re: [U2] Uniobjects.NET speed/performance Yes! We found it so slow we immediately reverted to the VB3 version, while seeing if we can find a way around it. We have put very little time into it since - rather discouraged. - Original Message - From: "Chris Ahchay" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 04, 2004 11:27 PM Subject: [U2] Uniobjects.NET speed/performance > Is anyone else experiencing speed problems with Uniobjects.net? > > I've just upgraded our core application from Uniobjects to UONET > (a non-trivial exercise as I'm sure you're aware) but the response > times are atrocious. Opening a file has gone from being a virtually > instant response to taking well over a quarter of a second. > > Any thoughts? > > Cheers > Chris > --- > u2-users mailing list > [EMAIL PROTECTED] > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Uniobjects.NET speed/performance
Before this descends into a "My compiler is better than your compiler" war - the decision as to the development platform is, for most of us, out of our control. In my case, this project was already 18 months into development when I arrived. Turning around at this point and suggesting that we switch to Delphi, C#, OSX, Java or whatever may be a logical suggestion, but it's not a practical one. Apart from anything else, .NET code can be just as compact as Delphi code. The question of "which is better" is redundant - can't they both be worthwhile? So, I'm stuck with .NET (stuck is too strong a word, I happen to quite Like VB.NET) and I'm stuck with trying to make UO.NET work with it. To answer Kurt's question - I have been informed by those who know that the server is running Universe 10.1.3 - the same version as the client software. Cheers Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 05 November 2004 11:58 To: [EMAIL PROTECTED] Subject: Re: [U2] Uniobjects.NET speed/performance [EMAIL PROTECTED] wrote: > lol > > you don't actually consider 512Mb a lot of ram now do you ? Actually, I certainly do ... My mobo at home is maxed out for ram. It has 768Mb. I've just upgraded my daughter's ram. Her pc has two slots and I've maxed out one ... with 512Mb. And a lot of office pcs actually have a LOWER spec than home pcs. I think my work pc only has 256Mb. > > Having done ( and still doing ) extensive work using .net ( winforms > , webforms & compact ) i'd say your talking out your @$$. ;-) i think > your final statement says it all - "Yes it has a learning curve, but > it is still vastly better..." an educated guess is that you've never > really taken the time to learn .net the way you have with delphi. > > Ma ymmv would have been an appropriate disclaimer. > Yup, I agree "ymmv" is important, but I back Brian 100% in thinking code should be compact and small. After all, isn't that why we're MV fans? And while I'm not aware of any studies, I'd guess there's a very strong correlation between bloat and crappy coding. The more bloat, the more crap ... and the smaller your code, the easier it is to find a problem when debugging :-) Cheers, Wol --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Uniobjects.NET speed/performance
[EMAIL PROTECTED] wrote: > lol > > you don't actually consider 512Mb a lot of ram now do you ? Actually, I certainly do ... My mobo at home is maxed out for ram. It has 768Mb. I've just upgraded my daughter's ram. Her pc has two slots and I've maxed out one ... with 512Mb. And a lot of office pcs actually have a LOWER spec than home pcs. I think my work pc only has 256Mb. > > Having done ( and still doing ) extensive work using .net ( winforms , > webforms & compact ) i'd say your talking out your @$$. ;-) > i think your final statement says it all - "Yes it has a learning curve, but > it is still > vastly better..." an educated guess is that you've never really taken the > time to learn .net the way you have with delphi. > > Ma ymmv would have been an appropriate disclaimer. > Yup, I agree "ymmv" is important, but I back Brian 100% in thinking code should be compact and small. After all, isn't that why we're MV fans? And while I'm not aware of any studies, I'd guess there's a very strong correlation between bloat and crappy coding. The more bloat, the more crap ... and the smaller your code, the easier it is to find a problem when debugging :-) Cheers, Wol --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Uniobjects.NET speed/performance
lol you don't actually consider 512Mb a lot of ram now do you ? Having done ( and still doing ) extensive work using .net ( winforms , webforms & compact ) i'd say your talking out your @$$. ;-) i think your final statement says it all - "Yes it has a learning curve, but it is still vastly better..." an educated guess is that you've never really taken the time to learn .net the way you have with delphi. Ma ymmv would have been an appropriate disclaimer. YMMV gerry - Original Message - From: "Brian Leach" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 05, 2004 04:24 am Subject: RE: [U2] Uniobjects.NET speed/performance > I find .net to be slow and cludgy in virtually all situations - even with a > fast processor and 512MB RAM. I've been completely unimpressed with it since > it was released. The classes never seem to expose what I need, and you don't > get source code to feel safe changing them. The WebForms are primitive and > ugly to work with, there isn't enough cross-platform support to justify the > run machine, and the only thing advantage seems to be that it doesn't use > COM to bind everthing. Web services are cool, but there are other tool to > create those, and the .NET version needs tailoring to work with many web > service clients. > > I understand the advantages of turning the WinAPI into a class structure > (the old WInAPI was horrible to use) but there are far better wrappers > already out there. It just seems another piece of M$ bloatware that really > doesn't deliver enough new quality functionality to justify the performance > overheads. > > If you want a truly fast, clean, fully OO environment that delivers the > WinAPI in a sensible structure, provides all of the functionality you could > require, doesn't rely on installing huge run machines and a stack of > libraries, offers source code to the class libraries and is designed for > professionals, use Delphi. Yes it has a learning curve, but it is still > vastly better than any other Windows tool around. > > My 2 cents. > > Brian "used VB and Delphi since version 1" Leach > > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Kate Stanton > Sent: 05 November 2004 00:37 > To: [EMAIL PROTECTED] > Subject: Re: [U2] Uniobjects.NET speed/performance > > Yes! We found it so slow we immediately reverted to the VB3 version, while > seeing if we can find a way around it. We have put very little time into it > since - rather discouraged. > > - Original Message - > From: "Chris Ahchay" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, November 04, 2004 11:27 PM > Subject: [U2] Uniobjects.NET speed/performance > > > > Is anyone else experiencing speed problems with Uniobjects.net? > > > > I've just upgraded our core application from Uniobjects to UONET > > (a non-trivial exercise as I'm sure you're aware) but the response > > times are atrocious. Opening a file has gone from being a virtually > > instant response to taking well over a quarter of a second. > > > > Any thoughts? > > > > Cheers > > Chris > > --- > > u2-users mailing list > > [EMAIL PROTECTED] > > To unsubscribe please visit http://listserver.u2ug.org/ > --- > u2-users mailing list > [EMAIL PROTECTED] > To unsubscribe please visit http://listserver.u2ug.org/ > --- > u2-users mailing list > [EMAIL PROTECTED] > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Uniobjects.NET speed/performance
Which version of the database are you running with? If it is UniVerse you will need to be on a 10.1 release else there is a performance issue. -Original Message- From: Chris Ahchay [mailto:[EMAIL PROTECTED] Sent: Friday, November 05, 2004 12:01 PM To: [EMAIL PROTECTED] Subject: RE: [U2] Uniobjects.NET speed/performance Interesting idea, but no difference in my case :( Has anyone tried a newer version (I'm running uodotnet.dll v1.1.7073.0) Cheers Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kieran Clulow Sent: 05 November 2004 01:42 To: [EMAIL PROTECTED] Subject: RE: [U2] Uniobjects.NET speed/performance I've found that altering the hostname parameter in UniObjects.OpenSession from an IP address to a name (eg : sun_prodserver ) can *sometimes* dramatically increase session connect speeds. This seems completely counter-intuitive to me but it has helped. I suspect it may just have been related to my network configuration. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kate Stanton Sent: Friday, 5 November 2004 11:37 AM To: [EMAIL PROTECTED] Subject: Re: [U2] Uniobjects.NET speed/performance Yes! We found it so slow we immediately reverted to the VB3 version, while seeing if we can find a way around it. We have put very little time into it since - rather discouraged. - Original Message - From: "Chris Ahchay" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 04, 2004 11:27 PM Subject: [U2] Uniobjects.NET speed/performance > Is anyone else experiencing speed problems with Uniobjects.net? > > I've just upgraded our core application from Uniobjects to UONET > (a non-trivial exercise as I'm sure you're aware) but the response > times are atrocious. Opening a file has gone from being a virtually > instant response to taking well over a quarter of a second. > > Any thoughts? > > Cheers > Chris > --- > u2-users mailing list > [EMAIL PROTECTED] > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ Disclaimer ~~~ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Uniobjects.NET speed/performance
Interesting idea, but no difference in my case :( Has anyone tried a newer version (I'm running uodotnet.dll v1.1.7073.0) Cheers Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kieran Clulow Sent: 05 November 2004 01:42 To: [EMAIL PROTECTED] Subject: RE: [U2] Uniobjects.NET speed/performance I've found that altering the hostname parameter in UniObjects.OpenSession from an IP address to a name (eg : sun_prodserver ) can *sometimes* dramatically increase session connect speeds. This seems completely counter-intuitive to me but it has helped. I suspect it may just have been related to my network configuration. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kate Stanton Sent: Friday, 5 November 2004 11:37 AM To: [EMAIL PROTECTED] Subject: Re: [U2] Uniobjects.NET speed/performance Yes! We found it so slow we immediately reverted to the VB3 version, while seeing if we can find a way around it. We have put very little time into it since - rather discouraged. - Original Message - From: "Chris Ahchay" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 04, 2004 11:27 PM Subject: [U2] Uniobjects.NET speed/performance > Is anyone else experiencing speed problems with Uniobjects.net? > > I've just upgraded our core application from Uniobjects to UONET > (a non-trivial exercise as I'm sure you're aware) but the response > times are atrocious. Opening a file has gone from being a virtually > instant response to taking well over a quarter of a second. > > Any thoughts? > > Cheers > Chris > --- > u2-users mailing list > [EMAIL PROTECTED] > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ Disclaimer ~~~ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Uniobjects.NET speed/performance
I find .net to be slow and cludgy in virtually all situations - even with a fast processor and 512MB RAM. I've been completely unimpressed with it since it was released. The classes never seem to expose what I need, and you don't get source code to feel safe changing them. The WebForms are primitive and ugly to work with, there isn't enough cross-platform support to justify the run machine, and the only thing advantage seems to be that it doesn't use COM to bind everthing. Web services are cool, but there are other tool to create those, and the .NET version needs tailoring to work with many web service clients. I understand the advantages of turning the WinAPI into a class structure (the old WInAPI was horrible to use) but there are far better wrappers already out there. It just seems another piece of M$ bloatware that really doesn't deliver enough new quality functionality to justify the performance overheads. If you want a truly fast, clean, fully OO environment that delivers the WinAPI in a sensible structure, provides all of the functionality you could require, doesn't rely on installing huge run machines and a stack of libraries, offers source code to the class libraries and is designed for professionals, use Delphi. Yes it has a learning curve, but it is still vastly better than any other Windows tool around. My 2 cents. Brian "used VB and Delphi since version 1" Leach -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kate Stanton Sent: 05 November 2004 00:37 To: [EMAIL PROTECTED] Subject: Re: [U2] Uniobjects.NET speed/performance Yes! We found it so slow we immediately reverted to the VB3 version, while seeing if we can find a way around it. We have put very little time into it since - rather discouraged. - Original Message - From: "Chris Ahchay" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 04, 2004 11:27 PM Subject: [U2] Uniobjects.NET speed/performance > Is anyone else experiencing speed problems with Uniobjects.net? > > I've just upgraded our core application from Uniobjects to UONET > (a non-trivial exercise as I'm sure you're aware) but the response > times are atrocious. Opening a file has gone from being a virtually > instant response to taking well over a quarter of a second. > > Any thoughts? > > Cheers > Chris > --- > u2-users mailing list > [EMAIL PROTECTED] > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Uniobjects.NET speed/performance
I've found that altering the hostname parameter in UniObjects.OpenSession from an IP address to a name (eg : sun_prodserver ) can *sometimes* dramatically increase session connect speeds. This seems completely counter-intuitive to me but it has helped. I suspect it may just have been related to my network configuration. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kate Stanton Sent: Friday, 5 November 2004 11:37 AM To: [EMAIL PROTECTED] Subject: Re: [U2] Uniobjects.NET speed/performance Yes! We found it so slow we immediately reverted to the VB3 version, while seeing if we can find a way around it. We have put very little time into it since - rather discouraged. - Original Message - From: "Chris Ahchay" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 04, 2004 11:27 PM Subject: [U2] Uniobjects.NET speed/performance > Is anyone else experiencing speed problems with Uniobjects.net? > > I've just upgraded our core application from Uniobjects to UONET > (a non-trivial exercise as I'm sure you're aware) but the response > times are atrocious. Opening a file has gone from being a virtually > instant response to taking well over a quarter of a second. > > Any thoughts? > > Cheers > Chris > --- > u2-users mailing list > [EMAIL PROTECTED] > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ Disclaimer ~~~ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Uniobjects.NET speed/performance
Yes! We found it so slow we immediately reverted to the VB3 version, while seeing if we can find a way around it. We have put very little time into it since - rather discouraged. - Original Message - From: "Chris Ahchay" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 04, 2004 11:27 PM Subject: [U2] Uniobjects.NET speed/performance > Is anyone else experiencing speed problems with Uniobjects.net? > > I've just upgraded our core application from Uniobjects to UONET > (a non-trivial exercise as I'm sure you're aware) but the response > times are atrocious. Opening a file has gone from being a virtually > instant response to taking well over a quarter of a second. > > Any thoughts? > > Cheers > Chris > --- > u2-users mailing list > [EMAIL PROTECTED] > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Uniobjects.NET speed/performance
Chris, I noticed that the initial session connection took a long time. It is so noticeable. grs Is anyone else experiencing speed problems with Uniobjects.net? I've just upgraded our core application from Uniobjects to UONET (a non-trivial exercise as I'm sure you're aware) but the response times are atrocious. Opening a file has gone from being a virtually instant response to taking well over a quarter of a second. Any thoughts? Cheers Chris --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Uniobjects.NET speed/performance
I found that using a select list within a loop was cause for a long nap... I fixed that by reading the entire list into an array and then looping through the array. I've read on this list that there is an updated uniobjects.dll available, but my VAR was not able to locate it?!? I really don't understand why IBM does not just post the developers tools as a public download. You really can't do much with them unless you already have a licensed database so why the hassle? Don Kibbey Financial Systems Manager Finnegan, Henderson, Farabow, Garrett & Dunner LLP --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniObjects.Net
Tony, I'm not suggesting that IBM shouldn't have a route into ADO.NET. RedBack would seem an obvious candidate here, due to the disconnected/lockless nature of the recordsets. But I'm glad UO.net wasn't mangled into an ADO.NET provider of some kind. That wouldn't be appropriate, since if I do want to access mv data, I want to take advantage of the fastest interface possible, and only use the 'base data' approach of a dataset if I really have to. Perhaps I'm being a Luddite - I haven't really bought into .net and have found it disappointing whenever I have tried to use it - certainly nothing strong enough to make me want to move from Delphi. I guess if the choice was between VB and .Net it would a different decision. It really is much easier to create custom or dependent classes if the library comes with full source code! But whether it is a .net dataset or a Delphi TClientDataSet I find record sets to be a cludgy, lowest-common-denominator approach. Given the choice I would rather call an open RPC mechanism to handle data more intelligently than lug lumps of data around - whatever the design tools may want. Memories of the data binding in VB and the record set controls have scarred me for life - urgggh. Brian This email was checked on leaving Microgen for viruses, similar malicious code and inappropriate content by MessageLabs SkyScan. DISCLAIMER This email and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information. In the event of any technical difficulty with this email, please contact the sender or [EMAIL PROTECTED] Microgen Information Management Solutions http://www.microgen.co.uk --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniObjects.Net
Program like a "MAN", fill the dataset yourself. It's a bit of work, but in the end you get a Dataset that is setup exactly like you want/need it. I've been doing this for sometime with the UniObjects for Java imported via the J# tools. Since all of the user interface widgets take datasets, datatables, etc as data binding thingies, you have to be able to either fill the dataset/datatable yourself or populate the user interface listview (or whatever else your using) directly. I've decided that for my own use, if I'm just displaying something from UV, then I populate the user interface widget directly. If I'm going to display the data with a widget and build or use it somewhere else, I make a datatable or dataset and pass it around the program that way. Just pretend your writing COBOL and you'll be O.K. (lots of stuff to type in COBOL to do anything...) :-) Don Kibbey Financial Systems Manager Finnegan, Henderson, Farabow, Garrett & Dunner LLP --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] UniObjects.Net
Maybe I'm missing your point , but UniOleDB has always worked just fine with ADO.NET via the OleDb namespace. - Original Message - From: "David Cason" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 30, 2004 06:08 pm Subject: [U2] UniObjects.Net > I'm not gettin it. I've downloaded the PDF doc for UniObjects.Net. I > don't see any real advantages over UniObjects for Java converted to J#. > I was hoping to see some kind of adapter that would allow us to work > seamlessly with ADO.NET (ie. filling a .Net Dataset). This would really > help increase productivity not to have to write all the DB code but > instead let Visual Studio.Net generate it for us. Anyone know if this is > going to be a possibility or am I missin something? > > David Cason > Programmer Analyst > American Physicians Management Consulting > 1301 South Capital of Texas Highway, Suite C-300 > Austin, TX. 78746 > Office: (512)314-4345 Fax:(512)314-4398 > Toll Free: (800)252-3628 > email: [EMAIL PROTECTED] > > [demime 1.01d removed an attachment of type image/gif which had a name of Pinstripe.gif] > --- > u2-users mailing list > [EMAIL PROTECTED] > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniObjects.Net
Brian, I think you're missing one of the main features of ADO.NET, which is to make the source of your data independent of how your application works with it. I don't necessarily want to access my MV environment via SQL, but I do want to be able to pull the data into a dataset so that it's transparent to my app that the data is MV. How you get the data into the dataset is irrelevant, but despite the "data access flavor of the week" sentiment which I fully agree with, all current databases have at least one data provider which will work with the current paradigm (there's that dreaded word again). Once you get the data into the dataset, yes, you're going to use SQL queries on it for retrieval and update. Now how that translates with a disconnected table that's Relational on the outside and MV on the inside ... ? So if IBM is going to put ".NET" onto the back end of the name of a connectivity component for a database, I'd kinda hope that they go all the way and provide the same sort of access that the world expects and gets for all other databases. If it's some custom API for the back end that doesn't conform to the standards for a data provider, OK, I think MV people can live with that, but if the resulting data needs to be manually force fed into a dataset in order to make it work with standard .NET tools, then there isn't much of a point of having a UO.NET except for marketing. I trust IBM has done a lot more and I apologize that I haven't read the docs on it yet - this is an open comment to Brian rather than a comment on the UO.NET itself. In addition to evaluating UO.NET on its own merits, I'm curious about how it's going to position with PDP.NET from Raining Data. From what I see so far, subject to change of course, if you want basic managed connectivity as a step up from VB6, then UO.NET should be fine. But if you want more of a real .NET feel (what .NET people expect out of .NET products) then PDP.NET is still a worthy product for advanced U2 development. 2 cents, ching ching Tony Nebula R&D Brian Leach wrote: [snipped] > David, > > The history of ODBC and OleDB on U2 shows what a bad idea that is. > > Frankly, accessing U2 using relational methods is pretty much a waste > of time - ... > > So I for one am glad that UniObjects.NET does not try to become an > ADO.NET provider but keeps to the best way to talk to these > databases. I have no objections to seeing a *different* provider for > ADO.NET - but let's leave it out of UniObjects. > > Perhaps I'm just too cynical but I've been burned enough times by the > MS strategic data visions. ADO.NET may be the latest flavour of the > month, but that doesn't mean it is any good. --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniObjects.Net
David, The history of ODBC and OleDB on U2 shows what a bad idea that is. Frankly, accessing U2 using relational methods is pretty much a waste of time - certainly a huge waste of resources as it tries to map between two totally different data access models. UniObjects is fast, lean and performs using the native model that U2 best understands: ODBC and OleDB (unless you get the nasty CALL or NATIVE syntax working) are top heavy and cludgy when applied to MV databases. Different concepts. So I for one am glad that UniObjects.NET does not try to become an ADO.NET provider but keeps to the best way to talk to these databases. I have no objections to seeing a *different* provider for ADO.NET - but let's leave it out of UniObjects. Perhaps I'm just too cynical but I've been burned enough times by the MS strategic data visions. ADO.NET may be the latest flavour of the month, but that doesn't mean it is any good. Look at its history - a dozen different failed data access strategies from Microsoft each one touted as the next Best Thing and the answer to all out data access dreams, wedded with the worst aspects of the even more woeful Borland strategies. Ok I'm ranting. Must be Monday morning. Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Cason Sent: 30 August 2004 23:09 To: [EMAIL PROTECTED] Subject: [U2] UniObjects.Net I'm not gettin it. I've downloaded the PDF doc for UniObjects.Net. I don't see any real advantages over UniObjects for Java converted to J#. I was hoping to see some kind of adapter that would allow us to work seamlessly with ADO.NET (ie. filling a .Net Dataset). This would really help increase productivity not to have to write all the DB code but instead let Visual Studio.Net generate it for us. Anyone know if this is going to be a possibility or am I missin something? David Cason Programmer Analyst American Physicians Management Consulting 1301 South Capital of Texas Highway, Suite C-300 Austin, TX. 78746 Office: (512)314-4345 Fax:(512)314-4398 Toll Free: (800)252-3628 email: [EMAIL PROTECTED] [demime 1.01d removed an attachment of type image/gif which had a name of Pinstripe.gif] --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ This email was checked by MessageLabs SkyScan before entering Microgen. This email was checked on leaving Microgen for viruses, similar malicious code and inappropriate content by MessageLabs SkyScan. DISCLAIMER This email and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information. In the event of any technical difficulty with this email, please contact the sender or [EMAIL PROTECTED] Microgen Information Management Solutions http://www.microgen.co.uk --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/