Remove the user name and password from the connection string.
Use Integrated Security so that your connection string doesn't
require any embedded credentials.
Please refer to the following coding guide lines at msdn:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cp
concodeaccesssecurityadonet.asp

Signature
This posting is provided "AS IS" with no warranties, and confers no rights.
>I am getting the following when compiling mfc application in VS .net
>
> #error Security Issue: The connection string may contain a password
> // The connection string below may contain plain text passwords and/or
> How do I resolve this?