|
No Win32 a.p.i.s I know of. This is a .NET application that uses the
iSeries Access Data Provider, Microsoft Excel, and Microsoft Outlook objects. What account is the rexec service running under? I once wrote a VB prog that atttempted to use the Client Access OLEDB driver. It worked fine on my PC, and if I was logged onto the server as anyone, but always failed when called via REXEC. Issue was that there was no user/pass cached for the 'Server' account the REXEC service ran under. So when it tried to run the program, the OLEDB driver would try to prompt for user/pass, but since there was no console session, it'd just silently fail. What I did to resolve it was create a new user account, OLEDBUSER, then log on to the server using that account, set up the connection in ClientAccess, and ran the program. Sure enough, the first connection attempt it prompted for user/pass, so I entered it, clicked the 'remember' (or whatever its called) box, then logged back on as Admin, and changed the rexec service to run under the 'OLEDBUSER' account, and restarted it. Worked fine then. Of course I know zip about .NET or the iSeries Access Data Provider, so this is probably just pointless rambling.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.