Skip to Content
0
Former Member
Jul 05, 2005 at 05:28 AM

COM error "80080005 - Server Execution Failed" when using JNI

128 Views

Hello All,

In my Application deployed on WebAS 640, we use JNI to call a dll for Java-Windows interoperability. The dll is kept in the Web-AS folder "C:\usr\sap\<InstanceName>\<ID>\j2ee\os_libs". When I use this application in my system (Windows XP Profession Version 2002, SP1), it works fine, i.e. its able to use the dll.

However, once I deploy this on the Test Server (Operating System Microsoft Windows 2000 Advanced Server, Version 5.0.2195 ,Service Pack Service Pack 4 ), with the dll in the same folder, and the execution permissions set to the read & execute, I get the COM error: "80080005-Server Execution Failed".

Please not that this .dll that the application tries to execute in turn uses, ole32.dll and user32.dll of Windows.

Any of your suggestions would be of great help.

Cheers,

Rahul

Message was edited by: Rahul Tongia