getting ds_loadlibrary: Win32 error in LoadLibrary of sybase
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 315
- Joined: Tue Oct 31, 2006 3:38 pm
getting ds_loadlibrary: Win32 error in LoadLibrary of sybase
Can someone please let me know the reason i am getting this error? I am very new sybase. I have sybase clinet on the server and able to connect the sybase database using SYBASE CENTRAL. I checked the paths and seems to be OK.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Premium Member
- Posts: 315
- Joined: Tue Oct 31, 2006 3:38 pm
-
- Premium Member
- Posts: 315
- Joined: Tue Oct 31, 2006 3:38 pm
[quote="chulett"]Could you post the actual full unedited error from your log, please? ...[/
ds_loadlibrary: Win32 error in LoadLibrary of sybaseoc.dll - The specified module could not be found.
***************************************************************
ds_loadlibrary: Win32 error in LoadLibrary of sybaseoc.dll - The specified module could not be found.
***************************************************************
Last edited by kirankota79 on Fri Aug 20, 2010 6:17 am, edited 1 time in total.
-
- Premium Member
- Posts: 315
- Joined: Tue Oct 31, 2006 3:38 pm
Craig, sybaseoc.dll is in the folder D:\Ascential\DataStage\Engine\bin. But i also copied it to other sybase dll folders referred in the environment variables like D:\sybase\DataAccess\OLEDB\dll, D:\sybase\DataAccess\ODBC\dll to see if that helps, but still i was getting the same error.chulett wrote: ds_loadlibrary: Win32 error in LoadLibrary of sybaseoc.dll - The specified module could not be found.
So, where exactly does this dll live on your server?
I don't believe you can simply move dll files around on Windows, as far as I know they need to be 'registered' in a specific location to work properly. I don't know what environment variable on a Windows server would control access to that plus it seems odd to me that you found it in the Engine's bin directory rather than any of the Sybase ones.
Hopefully someone who has dealt with this before on Windows will come along and help, my small amount of Sybase experience was years ago and on UNIX, I'm afraid.
Hopefully someone who has dealt with this before on Windows will come along and help, my small amount of Sybase experience was years ago and on UNIX, I'm afraid.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 63
- Joined: Fri Jun 22, 2007 7:27 am
- Location: Kolkata
Never said you had to register anything manually, that's all automatic - I specifically said that (AFAIK) you cannot simply move Dynamic Link Library (ddl) files around wherever you like due to the fact that they are registered in a specific location.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Premium Member
- Posts: 315
- Joined: Tue Oct 31, 2006 3:38 pm
The installation was made some months back. But ihave restarted the server yesterday, but no use. Can you please suggest ?arunpramanik wrote:Very recently we installed DS on Windows, (although we have sybase client installed in DS server), and I am quite sure that we did not have to register specific dll, as what is being mentioned.
Is the installation is made recently? Was the server restarted after installation?
-
- Premium Member
- Posts: 315
- Joined: Tue Oct 31, 2006 3:38 pm
Craig, but the main location is not changed which is D:\Ascential\DataStage\Engine\bin and also in the path. This should be the registered one rite, for any datastage installation?chulett wrote:I don't believe you can simply move dll files around on Windows, as far as I know they need to be 'registered' in a specific location to work properly. I don't know what environment variable on a Wind ...
-
- Premium Member
- Posts: 315
- Joined: Tue Oct 31, 2006 3:38 pm
-
- Participant
- Posts: 63
- Joined: Fri Jun 22, 2007 7:27 am
- Location: Kolkata