|
Home > Archive > Sybase ODBC > April 2005 > Sybase System Error 126
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Sybase System Error 126
|
|
| jagged30 2005-04-01, 8:01 pm |
| I'm developing an ASP.NET application that uses a Sybase
backend and the installed client is ASE 12.5. From the web
app, I get the error:
ERROR [IM003] Specified driver could not be loaded due to
system error 126 (SYBASE ASE ODBC Driver).
But the connection tests fine from the ODBC manager and
other applications, such as Access, WinSQL, and even a .NET
console app. The web application works fine on two other
servers with older Sybase clients installed; I believe they
are version 12.
I've checked the versions of the Microsoft components (.NET
framework, MDAC) between servers and they are the same. So
it doesn't appear to be a .NET issue. The connection string
looks like this:
<add key="pconnectstring" value="DSN=odbc_dsn; Uid=userid;
Pwd=password" />
The server OS is Windows 2003 Server and the web host is IIS
6.0.
| |
| Muralidharan 2005-04-02, 8:01 pm |
| I suspect you're having more than 1 instance of ODBC driver installed.
Check whether the ODBC driver that you want is in the system's %PATH%.
If test connection using ODBC Administrator is working,
if you use Process Explorer ( www.sysinternals.com ), you can see, which
ODBC DLLs are loaded
during your test connection.
HTH
<jagged30> wrote in message news:424d9669.1ca7.1681692777@sybase.com...
> I'm developing an ASP.NET application that uses a Sybase
> backend and the installed client is ASE 12.5. From the web
> app, I get the error:
>
> ERROR [IM003] Specified driver could not be loaded due to
> system error 126 (SYBASE ASE ODBC Driver).
>
> But the connection tests fine from the ODBC manager and
> other applications, such as Access, WinSQL, and even a .NET
> console app. The web application works fine on two other
> servers with older Sybase clients installed; I believe they
> are version 12.
>
> I've checked the versions of the Microsoft components (.NET
> framework, MDAC) between servers and they are the same. So
> it doesn't appear to be a .NET issue. The connection string
> looks like this:
>
> <add key="pconnectstring" value="DSN=odbc_dsn; Uid=userid;
> Pwd=password" />
>
> The server OS is Windows 2003 Server and the web host is IIS
> 6.0.
|
|
|
|
|