سؤال

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.

هل كانت مفيدة؟

المحلول

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.

نصائح أخرى

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

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 :)

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top