Solved

ASE ADO.NET Error: Unable to load DLL (sybdrvado11.dll).

Posted on 2004-09-14
5
2,503 Views
Last Modified: 2007-12-19
Hi,

I get the above error message when running an ASP.NET web application, using Sybases ASE ADO.NET.  The sample that comes with the installer for ASE ADO.NET (called TableViewer), running in Windows forms (not web) runs fine.  But when I use the same connection string in an ASP.NET page, it fails.   I set up Sybase.Data.AseClient in References.  Here is the VB code I'm trying to run:
____________________________________________________________________

Imports Sybase.Data.AseClient

Public Class WebForm1
    Inherits System.Web.UI.Page
    Private _conn As AseConnection

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

connect_to_mars()

End Sub

Private Sub connect_to_mars()
       
 Try
  'connect to the Mars database
   _conn = New AseConnection("Data Source='xxx.xxx.xxx.xxx'; Port='4102';UID='username';PWD='password';Database='mars';")
   _conn.Open()

 Catch ex As AseException
    lbMarsError.Text = (ex.Source + " : " + ex.Message + " (" + ex.ToString() + ")" & " Failed to connect")
       
 End Try
End Sub
______________________________________________________________________________


It throws this error:

Server Error in '/ASPdotNET/pa' Application.
--------------------------------------------------------------------------------

Unable to load DLL (sybdrvado11.dll).

Version Information:
Microsoft .NET Framework Version:1.1.4322.573
ASP.NET Version:1.1.4322.573
Sybase ASE 12.5.2
Sybase.Data.AseClient 1.1.327.0

Big thanks for any help with this.

Mirek
 
0
Comment
Question by:drozdzowski
5 Comments
 
LVL 29

Accepted Solution

by:
leonstryker earned 500 total points
ID: 12064916
0
 

Expert Comment

by:racole41
ID: 12654900
I'm having the same issue.  Setting the path does not work.
0
 

Expert Comment

by:huynhpv
ID: 14064907
I'm having the same issue.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

OpenVPN is a great open source VPN server that is capable of providing quick and easy VPN access to your network on the cheap.  By default the software is configured to allow open access to your network.  But what if you want to restrict users to on…
Both MMF (multi-mode fiber) and SMF (single-mode fiber) are types of optical fiber that can aid in communication applications. These thin strands of silica or glass will allow communication to occur between devices. The transmission of light between…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now