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

Reply via email to