One of the first steps, while you are trying to configure BizTalk Server, is to provide the “Database server name” on the BizTalk Server <version> Configuration page. So far, nothing new. However, in one of my recent BizTalk Server installations where we were using a SQL Server that was configured with a non-default port (1433), we encountered this bizarre problem:
BTS2016LAB01, 3431 is invalid because it contains one or more of the following characters: `~!@#$^*()+=[]{}|;'”<>?.
📝 One-Minute Brief
A troubleshooting guide that explains why BizTalk Server configuration fails with the error “is invalid because it contains one or more of the following characters” and how to identify and correct unsupported characters in configuration values, names, or paths.
Cause
Well, the reason is obvious to everyone, but in this case, it’s a little stupid, given the current day. Of course, we all understand that special characters are not allowed and cannot be used.
But it was not our case, we are not using any special characters in the Database server name, and if you check carefully, we caught the error while configuring the Group, which means that we already were able to create the SSO database in the SQL Server, so the database name was valid/correct.
And if there were really special characters in the Database server name, then the configuration wizard should be smart enough to validate on the BizTalk Server <version> Configuration page and not to continue with the configuration.
I personally consider this a bug in the BizTalk Server Configuration Wizard tool because, in our case, the real problem and the cause of this error was that we had provided the database name with a space between the server and the port: BTS2016LAB01, 3431.
Solution
The solution to this problem is simple, first of all, and obviously, you cannot use any of the following special characters: `~!@#$^*()+=[]{}|;'”<>?. under the Database Server Name.
In our case, the solution was simple; we just needed to remove the empty space on the Database Server Name: BTS2016LAB01,3431.
