. Advertisement .
..3..
. Advertisement .
..4..
I get an error
Format of the initialization string does not conform to specification starting at index 0
when trying to run ASP.NET application online. How to fix the format of the initialization string does not conform to specification starting at index 0 error? Please give me some advice.
The cause:
Perhaps your connection string is having trouble, so the error happens.
Solution:
Let’s examine your connection string. If you need help, you can refer Connection Strings, it lists often used strings. Here are some commonly used Connection Strings:
1, For SQL Server 2012 Standard Security
Trusted Connection
Connection to a SQL Server instance The server/instance name syntax used in the server option for all SQL Server connection strings is the same.
2, For SQL Server 2005
Standard Security
Trusted Connection
Connection to a SQL Server instance The server/instance name syntax used in the server option for all SQL Server connection strings is the same.
3, For MySQL Standard
Specifying TCP port
4, For Oracle Use TNS
Use integrated security
Use ODP.NET without tnsnames.ora
This may help someone.. My password contained an underscore so I was faced with this problem. So, I added quotes to the password. It was a stupid mistake.
The following was changed by me:
To