Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trying to open local SQL Server database
Message
From
16/01/2006 15:44:30
 
 
To
16/01/2006 15:31:04
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01087065
Message ID:
01087311
Views:
8
>Just a SWAG, but in the Data Source isn't the ".\" syntax referring to the local machine? Is the SQL server you're trying to attach to on the local machine, or a remote one? If remote you might need something like
Data Source=\\MachineName\InstanceName
It is local.

I also tried:
lcSQLString=[Driver={SQL Server};Server=./SQLEXPRESS;Database=test;Trusted_Connection=yes;]
lcSQLString=[Driver=SQL Server;Server=./SQLEXPRESS;Database=test;Trusted_Connection=yes;]
lcSQLString=[Driver={SQL Server};Server=./SQLEXPRESS;Database=test;Integrated Security=SSPI;User Instance=yes;]
lcSQLString=[Driver=SQL Server;Server=./SQLEXPRESS;Database=test;Integrated Security=SSPI;User Instance=yes;]
I always get SQL Server does not exist or access denied.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform