I struggled with this for 2 hours. So for development purpose you can disable the encryption in connection string and it will work.
In connection String Change
Encrypt=True; -> Encrypt=False;
Here is working connection String
Server=ServaeName;Database=dbName;User ID=userName;Password=myPassword;Trusted_Connection=False;Encrypt=False;
Thanks
In connection String Change
Encrypt=True; -> Encrypt=False;
Here is working connection String
Server=ServaeName;Database=dbName;User ID=userName;Password=myPassword;Trusted_Connection=False;Encrypt=False;
Thanks