Click here to Skip to main content
15,896,201 members
Home / Discussions / Database
   

Database

 
AnswerRe: how to show row wise record column wise Pin
pmarfleet16-Feb-08 9:06
pmarfleet16-Feb-08 9:06 
Questiontrigger and procedure Pin
RajeevKumarSharma15-Feb-08 23:37
RajeevKumarSharma15-Feb-08 23:37 
GeneralRe: trigger and procedure Pin
Ashfield16-Feb-08 3:42
Ashfield16-Feb-08 3:42 
QuestionTRIGGER PROBLEM Pin
RajeevKumarSharma15-Feb-08 23:14
RajeevKumarSharma15-Feb-08 23:14 
GeneralRe: TRIGGER PROBLEM Pin
Ashfield16-Feb-08 3:40
Ashfield16-Feb-08 3:40 
GeneralERROR [42000] [Microsoft][ODBC Microsoft Access Driver] Record(s) cannot be read; no read permission Pin
Cuckoo15-Feb-08 22:54
Cuckoo15-Feb-08 22:54 
GeneralProblem in searching a self joined table Pin
Rocky#15-Feb-08 21:13
Rocky#15-Feb-08 21:13 
GeneralSybase OleDB connection help [modified] Pin
devvvy15-Feb-08 17:40
devvvy15-Feb-08 17:40 
Hi - I'm wasting a lot of time trying to get connection right to Sybase and didn't manage to get the combination/configuration right.. very nice if someone can help here!

In my sql.ini file under here C:\...\Sybase\ocnt1252\ini:
... many entries
[UATMACHINE]
somesrv.data.com,4300
somesrv.data.com,4300
... many more entries ...

Now,
connection string = "Provider=Sybase ASE OLE DB Provider;Data Source=UATMACHINE;Server Name=somesrv.data.com,4300;Database=MyDB;User ID=johdoe;Password=xxx;"

http://www.carlprothman.net/Default.aspx?tabid=86[^]

And when I stepped through the code, it failed on oConn.Open with this erro:

[System.InvalidOperationException] = {"The 'Sybase ASE OLE DB Provider' provider is not registered on the local machine."}

Also tried this:
"Provider=Sybase.ASEOLEDBProvider;Server Name=somesrv.data.com,4300;Initial Catalog=MyDB;User ID=johdoe;Password=xxx;"
http://www.devlist.com/ConnectionStringsPage.aspx[^][^]

Same error.

These reference seems to be suggesting I should:
(a) Use ASE ADO.NET Data Provider (i.e. Provider=ASAProv.90) instead
(b) download ASE ADO.NET Data Provider
REF[^]
(c) Instead of generic "new DbConnection()" I'm using now (trying to abstract away DAL), I should be using OleDbConnection new OleDbConnection[^]

Actually this is quite inconvenient as my connection code looks like this:
<br />
        DbProviderFactory oDbProviderFactory = CDataUtil.GetConnectionFactory("System.Data.OleDb");<br />
        DbConnection oConn = oDbProviderFactory.CreateConnection();<br />
        oConn.ConnectionString = m_Cmd.ConnectionString;


(i.e. I'm using dotnet 2.0)

One more problem,

What's Open Server 15.0?? From isql path (client installed on my workstation already working) C:\...\Sybase\ocnt1252\ini seems to suggest we're using Sysbase version 12.5? Open Server 15.0 compatible?[^]

I am not sure if I have time to read the ebook[^] just so I can open a connection!

And, here's a nice/short 32 pages intro to dotnet+Sybase by Ashish Mahajan (but fell short in providing link to download:
download.sybase.com/presentation/2003_presentations/ASE135.ppt

This seems to be telling me that ASE ADO.NET Data Provider is NOT FREE... I don't want to go through admin process and would simply like to stay with M$ Ole DB instead.
http://www.sybase.com/products/allproductsa-z/softwaredeveloperkit[^]

devy

modified on Saturday, February 16, 2008 12:19 AM

GeneralRe: Sybase OleDB connection help [modified] Pin
ashishj01624-Jun-14 19:28
ashishj01624-Jun-14 19:28 
QuestionSQL Null value discussion Pin
icewarriors3315-Feb-08 5:18
icewarriors3315-Feb-08 5:18 
Generalself referencing table SELECT issue [modified] Pin
Harvey Saayman15-Feb-08 3:35
Harvey Saayman15-Feb-08 3:35 
GeneralRe: self referencing table SELECT issue Pin
andyharman15-Feb-08 8:11
professionalandyharman15-Feb-08 8:11 
GeneralRe: self referencing table SELECT issue Pin
Harvey Saayman17-Feb-08 19:00
Harvey Saayman17-Feb-08 19:00 
GeneralString concatentaion on update query Pin
si_6915-Feb-08 1:16
si_6915-Feb-08 1:16 
GeneralRe: String concatentaion on update query Pin
Joe15-Feb-08 1:23
Joe15-Feb-08 1:23 
GeneralRe: String concatentaion on update query Pin
seta_yas17-Feb-08 18:19
seta_yas17-Feb-08 18:19 
Generalmonitor sql db connections Pin
Harvey Saayman14-Feb-08 22:24
Harvey Saayman14-Feb-08 22:24 
GeneralRe: monitor sql db connections Pin
Mike Dimmick14-Feb-08 23:59
Mike Dimmick14-Feb-08 23:59 
GeneralRe: monitor sql db connections Pin
Harvey Saayman15-Feb-08 0:12
Harvey Saayman15-Feb-08 0:12 
GeneralFreaky reader Error [Solved] Pin
Harvey Saayman14-Feb-08 22:22
Harvey Saayman14-Feb-08 22:22 
GeneralHelp with the Following View Pin
Vimalsoft(Pty) Ltd14-Feb-08 19:52
professionalVimalsoft(Pty) Ltd14-Feb-08 19:52 
Generalwith,or & Pin
neoghy14-Feb-08 19:44
neoghy14-Feb-08 19:44 
Questionchecking the type Pin
Sonia Gupta14-Feb-08 19:30
Sonia Gupta14-Feb-08 19:30 
GeneralRe: checking the type Pin
GuyThiebaut14-Feb-08 22:07
professionalGuyThiebaut14-Feb-08 22:07 
GeneralIs there a way to extract a value/result when you exec a sql string Pin
littleGreenDude14-Feb-08 9:08
littleGreenDude14-Feb-08 9:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.