Forum Discussion
Giuseppe_Pezzella
May 14, 2024Copper Contributor
The name of the target entity is incorrect. Unable to generate SSPI context
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
Sort By
- olafhelperBronze ContributorHow do you address the SQL Server in your connection string?
Try it with FQDN = Full qualified domain name.- Giuseppe_PezzellaCopper ContributorHi
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?- olafhelperBronze Contributor
Giuseppe_Pezzella , how can I guess the content of the variable "NOME_SQL_SERVER" for the used server name? I can't.