Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
C1189: #error : Security Issue: The connection string may contain a password

Hi..
I got this error while creating an application in VC++ on Database ODBC based..
so.. what i have to do for solve this problem.???

I have followed the below steps in the procedure

1. I have created a file in MS Access
2. Through control panel added it as data source

I am facing the problem while starting the application in VC++
Posted

You may remove such line, however this way you would have the security issue... More insight at MSDN: "Creating a Simple Consumer"[^].
 
Share this answer
 
Solution => comment below line
#error Security Issue: The connection string may contain a password

explination=>
#error Security Issue: The connection string may contain a password
// The connection string below may contain plain text passwords and/or
// other sensitive information. Please remove the #error after reviewing
// the connection string for any security related issues. You may want to
// store the password in some other form or use a different user authentication.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900