Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2004-09-14
5
Medium Priority
?
2,600 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

What monsters are hiding in your child's room? In this article I will share with you a tech horror story that could happen to anyone, along with some tips on how you can prevent it from happening to you.
Article by: evilrix
Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data defin…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

636 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