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 5678    Web: 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/

Reply via email to