0

i am getting error "security issue : the connection string may contain a password"

i want to connect access database with my c++ program using ODBC. i am using visual studio 2008.

following are the steps what i have done to create this created simple access database (testdb.mdb) and added user dsn(test) then created mfc application in database support i selected database view with file support and selected odbc and cliked button data source and selected my created dsn(test)

now when i build this that above error occurs what shoul i do ?

1 Answer 1

1

just remove the line

#error Security Issue: The connection string may contain a password

from the generated header file.

it is there just to make you aware of that it is not good to have hardcoded passwords in your code.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.