?
Solved

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

Posted on 2004-09-14
5
Medium Priority
?
2,577 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 29

Accepted Solution

by:
leonstryker earned 2000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
New style of hardware planning for Microsoft Exchange server.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses
Course of the Month9 days, 15 hours left to enroll

762 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