Click here to Skip to main content
15,881,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all,

I have created a web service in powerbuilder 12.5 and i installed that web service into the client machine. I created a powerbuilder runtime packager and I installed it into the client machine.

When I execute that web service it's showing an error:
Could not load file or assembly 'Sybase.PowerBuilder.DataWindow.Interop.dll' or one of its dependencies.

I found this .dll file from powerbuilder setup file and I tried to add that dll file into client machine assembly but that did not work.

Any help is greatly appreciated.

Thanks.
Posted
Updated 29-Sep-11 0:11am
v2
Comments
Slacker007 29-Sep-11 6:12am    
Edited: grammar, tags, and general formatting.

Obviuosly you are missing some files, the best course is to use PowerBuilder's own packager to create a setup file which will install everything your application needs.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 30-Sep-11 1:28am    
Good idea (my 5), but one more universal remedy is using Dependency Walker, please see my solution.
--SA
sameertm 2-Oct-11 3:56am    
still i have same error after i did your instructions
Mehdi Gholam 2-Oct-11 4:04am    
The setup package should have installed everything for you.
Go to the PowerBuilder support forum and see if they can help.
To dig out such thing, use Microsoft Dependency Walker, http://en.wikipedia.org/wiki/Dependency_walker[^], http://www.dependencywalker.com/[^].

It helped me in some difficult situations like the one you described, can certainly help you, too.

—SA
 
Share this answer
 
Comments
Mehdi Gholam 30-Sep-11 1:37am    
A truly indispensable tool for win32 dlls. 5!
Sergey Alexandrovich Kryukov 30-Sep-11 1:38am    
Thank you, Mehdi.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900