Click here to Skip to main content
Sign Up to vote bad
good
See more: SQLMFCServerVC++
I tried many permutations and combinations but unable to create System DSN using SQLConfigDataSource.
SQL server is with Windows Authantication
I have written following code
 
if (!SQLConfigDataSource(NULL, ODBC_ADD_SYS_DSN,_T("SQL Server"),_T("DSN=EIAQUANT\0 DATABASE=DBEIAQUANT\0 SERVER=MERILDSK33\0 Trusted_Connection=Yes\0")))
 
Please help to create DSN.
Posted 8-Oct-12 20:42pm


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Prasad_Kulkarni 407
1 _Amy 336
2 Sergey Alexandrovich Kryukov 327
3 OriginalGriff 235
4 Christian Graus 223
0 Sergey Alexandrovich Kryukov 6,649
1 Prasad_Kulkarni 3,281
2 _Amy 3,065
3 OriginalGriff 2,989
4 CPallini 2,696


Advertise | Privacy | Mobile
Web02 | 2.6.130617.1 | Last Updated 9 Oct 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid