chris_techno25
chris_techno25

Reputation: 2477

Is it possible to connect a .NET application directly to a Sybase SQL Anywhere db file

I'm working on a .NET application to connect to an existing Sybase SQL anywhere database which is a .db file. Is it possible to connect it directly to the .db file just like how you would to an Access data file database or does it need a server to host the .db file just like MSSQL? If it is possible, how do I do it? Thank you very much :) I'm almost always using OLEDB.

Upvotes: 2

Views: 411

Answers (3)

chris_techno25
chris_techno25

Reputation: 2477

I found the answer. It's not possible to connect to the database without the server running. I tried it and it just doesn't work. It is possible to specify the location of the database provided you have Sybase server ready to run. Sybase will automatically run if you specify the location of the database. If Sybase server is not found, it should give you the error that says 'Server not found'. Thank you very much everyone :)

Upvotes: 0

Mike Gardner
Mike Gardner

Reputation: 6651

The db file is not a normal readable file, and without the server installed, it can not be accessed.

The server is required to connect to the database, and to set up an client connections.

Upvotes: 3

T.S.
T.S.

Reputation: 19340

This should be what you're looking for http://www.sybase.com/detail?id=1054947

Upvotes: 0

Related Questions