Forum Discussion

Giuseppe_Pezzella's avatar
Giuseppe_Pezzella
Copper Contributor
May 14, 2024

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

  • olafhelper's avatar
    olafhelper
    Bronze Contributor
    How do you address the SQL Server in your connection string?
    Try it with FQDN = Full qualified domain name.
    • Giuseppe_Pezzella's avatar
      Giuseppe_Pezzella
      Copper Contributor
      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?

Resources