Tina Nipe
Tina Nipe

Reputation: 11

Visual Studio 2010 and discovery of advantage server error

I installed VS 2010 on a Windows 7 64 bit machine. When I try and connect to an advantage database through the server explorer using the Advanatage OLEDB driver I get a cannot discover advantage database server error. I can connect to the database using the ARC just fine. I was able to connect in VS 2008 just fine. Any ideas on why I can't connect in VS 2010?

Upvotes: 1

Views: 332

Answers (1)

Mark Wilkins
Mark Wilkins

Reputation: 41222

If you are trying to connect with "local server", then be sure that your connection string contains "ServerType=ADS_LOCAL_SERVER;". If using Advantage Database Server (remote server), then this link might have some ideas that help. It discusses various ways to provide the IP address and port number if discovery is failing. For example, you can include the port number in the connection path: \\servername:6262\path\dictionary.add.

Upvotes: 2

Related Questions