Solved

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

Posted on 2004-09-14
5
2,496 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

705 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

19 Experts available now in Live!

Get 1:1 Help Now