The name of the target entity is incorrect. Unable to generate SSPI context

Copper Contributor

Hi 
when my .net framework app try to connect to sql server happenn this error:
The name of the target entity is incorrect. Unable to generate SSPI context
How resolve?

4 Replies
How do you address the SQL Server in your connection string?
Try it with FQDN = Full qualified domain name.
Hi
in this way:
Dim Stringa_di_Connessione As New SqlConnection("Data Source=" + NOME_SQL_SERVER + ";Initial Catalog=master;Integrated Security=True")
How I should modify it?

@Giuseppe_Pezzella , how can I guess the content of the variable "NOME_SQL_SERVER" for the used server name? I can't.

NOME_SQL_SERVE= "ZEN-BOOK-PRO-UX\SQLEXPRESS"