Sorry,

Private UniSession us1;

Thanks,
 
Nick Cipollina
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adrian Matthews
Sent: Tuesday, March 01, 2005 10:01 AM
To: [email protected]
Subject: RE: [U2][UV] UO.NET beginner question

What have you declared us1 as?

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick Cipollina
Sent: 01 March 2005 13:42
To: [email protected]
Subject: RE: [U2][UV] UO.NET beginner question

Here is the code I am trying to use:

                        us1 = null   ;
                        us1.HostPort = 7200;
                        try
                        {
                                us1 =
UniObjects.OpenSession("Server","LoginName","Password","uvAccount","uvcs
");


It is compiling just fine, I am getting an error when I run it though.
Any suggestions?

Thanks,
 
Nick Cipollina
 
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Don Kibbey
Sent: Monday, February 28, 2005 7:11 PM
To: [email protected]
Subject: Re: [U2][UV] UO.NET beginner question

(this won't compile and is not meant to)
Have a look in the UniObjects .Net pdf file for more info on this, but
here's how you can change the port number used for the connection.

public UniSession uSession;
uSession.HostPort = 12345;
uSession = UniObjects.OpenSession("Server", "LoginName", "PassWord",
"uvAccount", "uvcs");



On Mon, 28 Feb 2005 16:35:35 -0500, Nick Cipollina
<[EMAIL PROTECTED]> wrote:
> How exactly can I do this?.  (I'm new to .NET).
> 
> Thanks,
> 
> Nick Cipollina
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Don Kibbey
> Sent: Monday, February 28, 2005 3:29 PM
> To: [email protected]
> Subject: Re: [U2][UV] UO.NET beginner question
> 
> Check the UniSession property "HostPort".  I believe that if you set
> it to match your host settings you should be OK.
> 
> On Mon, 28 Feb 2005 14:46:52 -0500, Nick Cipollina
> <[EMAIL PROTECTED]> wrote:
> > Our rpc port is set to 7200.  Is there something I need to change
> within
> > .NET to tell it to look for that port?
> >
> > Thanks,
> >
> > Nick Cipollina
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Don Kibbey
> > Sent: Monday, February 28, 2005 2:08 PM
> > To: [email protected]
> > Subject: Re: [U2][UV] UO.NET beginner question
> >
> > Make sure the remote machine has the uniobjects port enabled and
there
> > are no firewalls between you and it that also block this port.  On
an
> > HP-UX machine this is port 31438.  Have a look at the services file
in
> > /etc and make sure this line is in there somewhere.
> >
> > uvrpc           31438/tcp                       # uvNet rpc port
> >
> > On Mon, 28 Feb 2005 12:49:04 -0500, Nick Cipollina
> > <[EMAIL PROTECTED]> wrote:
> > > Hello all,
> > >
> > > I've got a dumb UO.NET question to ask.  I am trying to write a
> simple
> > > UO.NET program to connect to one of our UniVerse servers and I am
> > > getting the following error:  "No connection could be made because
> the
> > > target machine actively refused it."  Any ideas what I am missing?
> > > Thanks.
> > >
> > > Nick Cipollina
> > >
> > > Pick Programmer
> > >
> > > ACS - Heritage Information Systems, Inc.
> > >
> > > 2810 North Parham Road, Suite 210
> > >
> > > Richmond, VA 23294
> > >
> > > (804)644-8707 x 314
> > > -------
> > > 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/
> -------
> 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/


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/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to