Link to home
Start Free TrialLog in
Avatar of jeewai
jeewaiFlag for Kenya

asked on

Problem connecting VB Express 2008 to SQL 2005 Entreprise (not express)

Hi Experts.

I am having problems connecting to a local database. I am trying to connect to a local MDF file stored on my C drive by adding a data source. It is attached to a local instance of SQL Server 2005 Enterprise edition.

The settings I choose in the Add Connection wizard result in "Data Source=.\SQL2005WEB;AttachDbFilename="C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\MyDatabase.mdf";Persist Security Info=True;User ID=sa;Connect Timeout=30;User Instance=False".

With these settings I can get "Test connection succeeded" but the OK button errors with "The ability to open this connection is not supported in this edition of Visual Studio"

I have vb express 2008 and SQL Server 2005 Enterprise edition installed (with one instance named SQL2005WEB)

Hope you can help.
Thanks in advance,

JY
ASKER CERTIFIED SOLUTION
Avatar of QPR
QPR
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jeewai

ASKER

Thanks QPR. I saw the post and wanted to get additional views and / or new development that would allow VB express to connect. I guess that would be it.

JY
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jeewai

ASKER

Thanks for the advices.