Ver Mensaje Individual
  #2 (permalink)  
Antiguo 06/03/2007, 10:45
Avatar de pcarvajal
pcarvajal
 
Fecha de Ingreso: enero-2002
Mensajes: 701
Antigüedad: 23 años, 2 meses
Puntos: 8
Re: ERROR: cannot generate sspi context

encontré esto:
http://www.agileprogrammer.com/oneag...1/09/2749.aspx

"Cannot Create SSPI Context" and how to fix it
Just a quick note for anyone who has ever gotten this error before: “Cannot create SSPI context”. I started getting this error when I was trying to establish a connection to a SQL Server when I wasn’t connected to the internal Microsoft corporate network. Connection strings that worked just fine when I was connected just wouldn’t work at all, and I could not figure out how to fix it.

GIYF (Google Is Your Friend) I googled it and found out that I had my connection string set wrong. I was using localhost for the server name in the connection string, which is not correct. I needed to use the SQL Server name, not the hostname.

So I changed the server to brian-thinkpad, my machine name, and everything worked just fine.

Hopefully this will save someone else the hour or so of confusion I spent trying to fix this.

— bab

---
La pregunta ahora es: como, en que parte, donde lo hago?????