I am currently having problems with my ADO connection string. I have searched all over the internet for a solution to this problem but I have yet to find a solution. Can someone help me with the proper configuration for a SQL OLEDB connection with a windows authentication? I have attached my C++ code file and a printscreen of my SQL Server Express signon screen.
ForexSurfr
0
Newbie Poster
Recommended Answers
Jump to PostMS-SQL server can operate in one of the two security modes:
1. Windows Authentication
2. Sql Server authenticationRead more on this subject - http://msdn.microsoft.com/en-us/library/aa905171(SQL.80).aspx
For Ms-SQL Express edition, use Windows Authentication,
pConnection1->ConnectionString = "Provider=SQLOLEDB;Data Source=.\\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=northwind";
All 3 Replies
ForexSurfr
0
Newbie Poster
kvprajapati
1,826
Posting Genius
Team Colleague
ForexSurfr
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.