RE: [U2] UniObjects error 30105 Unable to load subroutine on server
Thanks. It's on UV, but we found the problem. The routine wasn't cataloged! What threw me was that it worked sometimes, but I'm told that if you call a routine locally it doesn't always need to be cataloged. So, obviously, sometimes the call to load the subroutine looked in the right place and found it, and sometimes looked in the wrong place and didn't. Very confusing. Cheers, Wol -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Haskett Sent: 05 February 2008 18:11 To: u2-users@listserver.u2ug.org Subject: RE: [U2] UniObjects error 30105 Unable to load subroutine on server Wol: If you're using UD there's a tricky way to log UO... activity. If on UV I don't know the technique to do this. Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anthony W. Youngman Sent: Saturday, February 02, 2008 2:45 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] UniObjects error 30105 Unable to load subroutine on server In message [EMAIL PROTECTED], David Jordan [EMAIL PROTECTED] writes Hi Wol UniObjects does not like returning unassigned variables, it causes a fatal. In the unibasic subroutine, you could check if the parameter is unassigned and set it to before returning. Thanks - that's a good thing to know. But it's not the case here. The error is that the subroutine never gets called, if I've got it right. Certainly, none of the DataBasic code seems to run (almost the first thing it does is write diagnostic tracking stuff to a file, and that never happens). And all the arguments are assigned in my VB app before I call it, so they should still be assigned when it returns :-) Thanks, Wol --- 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 error 30105 Unable to load subroutine on server
Wol From memory (sorry using webmail here) you're calling the subroutine with a record read throug a file object. Make sure you extract the stringvalue for the call or you may get reference errors - remember record is a dynamic array object not a string. This may be why it doesn't fail if the record is changed: it's creating a new reference. Regards Brian In message [EMAIL PROTECTED], David Jordan [EMAIL PROTECTED] writes Hi Wol UniObjects does not like returning unassigned variables, it causes a fatal. In the unibasic subroutine, you could check if the parameter is unassigned and set it to before returning. Thanks - that's a good thing to know. But it's not the case here. The error is that the subroutine never gets called, if I've got it right. Certainly, none of the DataBasic code seems to run (almost the first thing it does is write diagnostic tracking stuff to a file, and that never happens). And all the arguments are assigned in my VB app before I call it, so they should still be assigned when it returns :-) Thanks, Wol -- Anthony W. Youngman [EMAIL PROTECTED] 'Yings, yow graley yin! Suz ae rikt dheu,' said the blue man, taking the thimble. 'What *is* he?' said Magrat. 'They're gnomes,' said Nanny. The man lowered the thimble. 'Pictsies!' Carpe Jugulum, Terry Pratchett 1998 Visit the MaVerick web-site - http://www.maverick-dbms.org Open Source Pick --- 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 error 30105 Unable to load subroutine on server
Okay, but do you reset the routine name before each call? This should not be necessary, but I think that that is what the error message is implying is wrong. -Rick Nuckolls On Feb 2, 2008, at 2:44 PM, Anthony W. Youngman wrote: And all the arguments are assigned in my VB app before I call it --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniObjects error 30105 Unable to load subroutine on server
Wol: If you're using UD there's a tricky way to log UO... activity. If on UV I don't know the technique to do this. Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anthony W. Youngman Sent: Saturday, February 02, 2008 2:45 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] UniObjects error 30105 Unable to load subroutine on server In message [EMAIL PROTECTED], David Jordan [EMAIL PROTECTED] writes Hi Wol UniObjects does not like returning unassigned variables, it causes a fatal. In the unibasic subroutine, you could check if the parameter is unassigned and set it to before returning. Thanks - that's a good thing to know. But it's not the case here. The error is that the subroutine never gets called, if I've got it right. Certainly, none of the DataBasic code seems to run (almost the first thing it does is write diagnostic tracking stuff to a file, and that never happens). And all the arguments are assigned in my VB app before I call it, so they should still be assigned when it returns :-) Thanks, Wol --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] UniObjects error 30105 Unable to load subroutine on server
In message [EMAIL PROTECTED], David Jordan [EMAIL PROTECTED] writes Hi Wol UniObjects does not like returning unassigned variables, it causes a fatal. In the unibasic subroutine, you could check if the parameter is unassigned and set it to before returning. Thanks - that's a good thing to know. But it's not the case here. The error is that the subroutine never gets called, if I've got it right. Certainly, none of the DataBasic code seems to run (almost the first thing it does is write diagnostic tracking stuff to a file, and that never happens). And all the arguments are assigned in my VB app before I call it, so they should still be assigned when it returns :-) Thanks, Wol -- Anthony W. Youngman [EMAIL PROTECTED] 'Yings, yow graley yin! Suz ae rikt dheu,' said the blue man, taking the thimble. 'What *is* he?' said Magrat. 'They're gnomes,' said Nanny. The man lowered the thimble. 'Pictsies!' Carpe Jugulum, Terry Pratchett 1998 Visit the MaVerick web-site - http://www.maverick-dbms.org Open Source Pick --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] UniObjects error 30105 Unable to load subroutine on server
I'm getting this error (sometimes!) when calling a subroutine. It's reproducible, and puzzling me as to what on earth is the cause. In VB, I read a record, update it and save it. That bit is working fine. I then take part of the record, and pass it to this subroutine. The weird thing is, if I update in VB any of the data that I pass to the subroutine, the call works fine. If I don't update it, the call fails. So, basically, what I'm doing is getting a UvDynArray from UV, updating it in a form, recreating the array and writing it back. All fine. I then create a new UvDynArray and pass it to this subroutine. If any of the data in this new array has changed from what was originally read the call works fine. If it hasn't changed, the call fails! Has anybody got any ideas what the problem could be (or how to diagnose it?) Is there any way to find out why the call failed? Cheers, Wol -- Anthony W. Youngman [EMAIL PROTECTED] 'Yings, yow graley yin! Suz ae rikt dheu,' said the blue man, taking the thimble. 'What *is* he?' said Magrat. 'They're gnomes,' said Nanny. The man lowered the thimble. 'Pictsies!' Carpe Jugulum, Terry Pratchett 1998 Visit the MaVerick web-site - http://www.maverick-dbms.org Open Source Pick --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] UniObjects error 30105 Unable to load subroutine on server
Hi Wol UniObjects does not like returning unassigned variables, it causes a fatal. In the unibasic subroutine, you could check if the parameter is unassigned and set it to before returning. Regards David Jordan Managing Consultant --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/