Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADO.NET-GET ERR MSG WHEN CONN TO *.MDF WITH MSDE

Status
Not open for further replies.

TNN

Programmer
Sep 13, 2000
417
0
0
US
Learning ADO.NET (novice)

Trying to connect to *.mdf database using conn object on form in vb.net. Get err msg when test conn "Test connection failed" saying I am "Not associated with a trusted SQL server connection" I am trying to connect to a database in the ..\microsoft sql server\..directory. Using the MSDE provided in Visual Studio.

What's happening?? How do I become a "trusted SQL server connection?? Any comments or help is appreciated.

TNN, Tom



TOM
 
Any particular reason you're trying to connect to the .mdf, rather than to the database? (Your connect string should be set up for SQL, not Access.)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top