Read the error message:
Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.
That means that your connection string to SQL is trying to use Windows Authentication, and the computer trying to access SQL Server is not on the same network segment.
For example:
Data Source=GRIFF-DESKTOP\SQLEXPRESS;Initial Catalog=TestDB;Integrated Security=True
To access SQL from a untrusted domain, you must supply an appropriate SQL login, rather than authenticate via Windows:
Data Source=GRIFF-DESKTOP\SQLEXPRESS;Initial Catalog=TestDB;Integrated Security=False;User Id=userid;Password=password