1. You must first have the following three files:
Sybase. Data. aseclient. dll
Sybdrvado11.dll
Sybdrvssl. dll
In the program running directory or in system32
2. If not, select the project generation target platform as x86.
3. Make sure that the msvcr71.dll and msvcp71.dll files exist in system32.
File Download
This download link contains the five files mentioned above
The error details are as follows:
System. typeinitializationexception: "sybase. Data. aseclient. aseconnection" type Initial Value Setting item causes an exception. ---> System. dllnotfoundexception: Unable to load DLL "sybdrvado11.dll": the specified module cannot be found. (The exception is from hresult: 0x8007007e ).
In Sybase. Data. aseclient. Unmanaged. asegetdriverversion (stringbuilder value, int32 capacity)
In Sybase. Data. aseclient. aseconnection. checkversion ()
In Sybase. Data. aseclient. aseconnection... cctor ()
--- End of the internal exception stack trace ---
In Sybase. Data. aseclient. aseconnection... ctor (string connectionstring)