Error on sign-in: "Format of the initialization string does not conform to specification starting at index 0"

Viewed 708

I'm moving my site and database from from Azure to GoDaddy. Everything worked on Azure.

On GoDaddy, the site pulls inventory from the database using either of the two connection strings. However, when I try to log in I get the error.

I'm new to MVC authentication, so I may be missing something simple that Azure was doing for me.

Here are my sanitized connection strings:

<add name="ConnectionString1" 
     connectionString="Server=ServerIP, ThePort;
     Database=DatabaseName;
     User ID=AdminUserID;
     Password=AdminPassword;
     MultipleActiveResultSets=False;
     Encrypt=True;
     TrustServerCertificate=True;
     Connection Timeout=30;" />

<add name="ConnectionString2" 
     connectionString="Data Source=ServerIP, ThePort;
     Initial Catalog=DatabaseName;
     Persist Security Info=True;
     User ID=AdminUserID;
     Password=AdminPassword" />
0 Answers
Related