Goran Bibic

Goran Bibic

  • 481
  • 2.9k
  • 199.5k

Connection string to MS SQL database Android/IOS app

Nov 8 2023 10:10 AM

I have problem with connection to database XAMARINE forms

ERROR IS:

System.InvalidOperationException: 'Internal connection fatal error.'

 

Normal C# windows form app work with this string

SSMS work normal with this credential

  string connectionString = "Data Source=sql.bss-solution.info,1433;Initial Catalog='ABC 2023';User ID=admin;Password=somepass;Connect Timeout=60";

Xamarine Forms have error

Maybe in database name have space ABC 2023, maybe need 'ABC 2023' or "ABC 2023"  or [ABC 2023] (I try all solution not work)

Some help?

Thank you


Answers (2)