Allowed character for SQL Server CE password?

蓝咒 提交于 2019-12-05 20:21:20

I ended up having to make my own simple password generator. Blogged HERE

Looks like you have an XML issue. XML (or web.config) special characters are:

  1. quot "
  2. amp &
  3. apos '
  4. lt <
  5. gt >

Also, if used in an OLE DB or ODBC connection string, a login or password must not contain the following characters: [] {}() , ; ? * ! @.

Also, if you are requiring strong passwords they must contains characters from at least three of the following categories:

  1. English uppercase characters (A through Z)
  2. English lowercase
  3. characters (a through z) Base 10 digits (0 through 9) Nonalphabetic
  4. characters (for example: !, $, #, %)

I wonder whether you need to use an escaped character for the ampersand.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!