asp.net connects to sybase by oledb

B

bshen

I have a data access dll developed using oledb ado.net to connect to
Sybase12 in c#.net frame work 1.1. It works in .net window application
or .net command line application. But a simple data query in asp.net
using iis5.1 fails with the following error message:

[OleDbException (0x80040154): No error information available:
REGDB_E_CLASSNOTREG(0x80040154).]

[InvalidOperationException: The 'Sybase ASE OLE DB Provider' provider
is not registered on the local machine.]

Any help is appreciated.

Bing
 
W

William \(Bill\) Vaughn

Sounds like the Sybase Managed Provider DLL is not properly registered in
the assembly manifest so it gets copied to the client system.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
 
B

bshen

Thank you Bill, can you give me more detail?

The sybase client is installed in a network drive and I have Path
pointing to it. The .net window application works, is there anything
additional I need to do for asp.net to connect to Sybase with OLEDB.
 
W

William \(Bill\) Vaughn

I expect that the ASP system cannot see the provider... that's the
fundamental issue. I would consult the Sybase folks to see what they
recommend for ASP.NET rigs.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top