x

SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security; the connection has been closed. [CLIENT: 127.0.0.1]

Hi,

i'm using JDBC to connect to SQL Server 2005 locally using integrated security. it's getting failed with the following error code

Error: 17806, Severity: 20, State: 2.

Logon SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security; the connection has been closed. [CLIENT: 127.0.0.1]

Logon Error: 18452, Severity: 14, State: 1.

Logon Login failed for user ''. The user is not associated with a trusted SQL Server connection. [CLIENT: 127.0.0.1]

But i'm able to coneect successfully using 127.0.0.1. the connection is failing only when i give localhost.

Connection URL:

jdbc:sqlserver://LOCALHOST:1433;DatabaseName=master;integratedSecurity=true

more ▼

asked Oct 16, 2009 at 04:16 AM in Default

manka06 gravatar image

manka06
1 1 1 1

(comments are locked)
10|1200 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x1945
x161
x3

asked: Oct 16, 2009 at 04:16 AM

Seen: 3817 times

Last Updated: Oct 16, 2009 at 10:29 AM