Hi Peter Have you checked the .Net security settings in the .Net framework configuration?
With the Windows Service, try setting the logon in the Services console to interact with the desktop. Also make sure Uinrpc is a dependant else this servive may start before UniRpc starts thus uniobjects would fail to logon. Regards David Jordan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Welsh, Peter Sent: Wednesday, 7 September 2005 6:40 PM To: 'u2-users@listserver.u2ug.org' Subject: RE: [U2] Problems with UniObjects and .NET Service Thanks David, Unfortunately we are not even looking to be as forward thinking as a web service here - just a plain old Windows Service - to run in the background. The most annoying thing is that we have something similar running as a web service and it actually works OK. Nevertheless, thanks for your help. Peter Welsh -----Original Message----- From: David Jordan [mailto:[EMAIL PROTECTED] Sent: 07 September 2005 02:16 To: u2-users@listserver.u2ug.org Subject: RE: [U2] Problems with UniObjects and .NET Service I assume you are talking about a web service when you say a .NET service. When you are doing a webservice you have to process through the IIS facility. With IIS particularly older versions of windows server there is an issue with running dlls for security reasons, a bit like the sandbox security of java. As the dll is being accessed from the internet it creates a potential security hole and thus there are restrictions to running dlls. I cannot remember the specific details, but read up about inprocess/outprocess dlls in IIS. What you have to do is to declare the dlls you want to use and they will work with IIS. Caution, every time you update the dlls you may have to restart IIS. Hope this points you in the right direction Regards David Jordan ------- 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/