Error: Cannot generate SSPI context


While running InstallTool, the error message "Cannot generate SSPI context"


This is a MS-SQL issue that can be caused by improper authentication OR inability to resove the DB server name or IP. More information is in


In one situation, this was caused by a DNS error. DNS could not resolve the hostname for the DB server because there was not a DNS server that knew about the host.

  1. Add the DNS server
  2. Flush the DNS cache: ipconfig /flushdns
  3. Do nslookup by hostname and by address. SQL server will do a gethostbyname and gethostbyaddr when attempting to connect
  4. If you can successfully look up the DB server, then go ahead and continue with installtool.
Was this article helpful?
0 out of 0 found this helpful