473,387 Members | 1,721 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

SQL connection problem

This is my connection string, the syntax is I think quite correct. The name
of the computer is my local machine, the database exists and I can connect
to it with the enterprise manager,
data source=WINXP1;initial catalog=SGIIMSTransNetPartner; Integrated
security=True

The error I get back Is cannot create SSPI context. I tried this connecting
to another server from this machine, same thing. This used to work fine
before, now all of a sudden , no joy.

Anyone have any ideas on how to fix this?

Thanks for any help,
Bob
Nov 22 '06 #1
7 972
make a new text file; change the extension from TXT to UDL

double click on it; set all of the settings you want

change the extension from UDL back to TEXT; open it and you've got the
whole connection string already built for you

-Susie, DBA
Robert Dufour wrote:
This is my connection string, the syntax is I think quite correct. The name
of the computer is my local machine, the database exists and I can connect
to it with the enterprise manager,
data source=WINXP1;initial catalog=SGIIMSTransNetPartner; Integrated
security=True

The error I get back Is cannot create SSPI context. I tried this connecting
to another server from this machine, same thing. This used to work fine
before, now all of a sudden , no joy.

Anyone have any ideas on how to fix this?

Thanks for any help,
Bob
Nov 22 '06 #2
Robert,
Are you developing on a laptop and moving from work to home often? I g
et this error occasionally when my laptop loses its cached domain
credentials becuase I have been off the domain for a couple days.

Anyway, just throwing it out there.

Robert Dufour wrote:
This is my connection string, the syntax is I think quite correct. The name
of the computer is my local machine, the database exists and I can connect
to it with the enterprise manager,
data source=WINXP1;initial catalog=SGIIMSTransNetPartner; Integrated
security=True

The error I get back Is cannot create SSPI context. I tried this connecting
to another server from this machine, same thing. This used to work fine
before, now all of a sudden , no joy.

Anyone have any ideas on how to fix this?

Thanks for any help,
Bob
Nov 23 '06 #3
Robert,

Just connect your sysad if you get this kind of troubles, he can even have
powered that server off.

Cor

"Robert Dufour" <bd*****@sgiims.comschreef in bericht
news:%2****************@TK2MSFTNGP02.phx.gbl...
This is my connection string, the syntax is I think quite correct. The
name of the computer is my local machine, the database exists and I can
connect to it with the enterprise manager,
data source=WINXP1;initial catalog=SGIIMSTransNetPartner; Integrated
security=True

The error I get back Is cannot create SSPI context. I tried this
connecting to another server from this machine, same thing. This used to
work fine before, now all of a sudden , no joy.

Anyone have any ideas on how to fix this?

Thanks for any help,
Bob


Nov 23 '06 #4
Susie. Its not a connection string problem. I did all that before it still
does not work. It looks like its a problem with network security settings
but I can't pit my finger on it.
Bob
<su******@hotmail.comwrote in message
news:11*********************@m7g2000cwm.googlegrou ps.com...
make a new text file; change the extension from TXT to UDL

double click on it; set all of the settings you want

change the extension from UDL back to TEXT; open it and you've got the
whole connection string already built for you

-Susie, DBA
Robert Dufour wrote:
>This is my connection string, the syntax is I think quite correct. The
name
of the computer is my local machine, the database exists and I can
connect
to it with the enterprise manager,
data source=WINXP1;initial catalog=SGIIMSTransNetPartner; Integrated
security=True

The error I get back Is cannot create SSPI context. I tried this
connecting
to another server from this machine, same thing. This used to work fine
before, now all of a sudden , no joy.

Anyone have any ideas on how to fix this?

Thanks for any help,
Bob

Nov 23 '06 #5
No I had to change the ip addresses of my network from range 192.168.1.xxx
to 192.168.0.xxx and the problem started after that. I have no Sysadd, I,m
it and I don't know what to do to fix this.
Bob
"Charlie Brown" <cb****@duclaw.comwrote in message
news:11*********************@k70g2000cwa.googlegro ups.com...
Robert,
Are you developing on a laptop and moving from work to home often? I g
et this error occasionally when my laptop loses its cached domain
credentials becuase I have been off the domain for a couple days.

Anyway, just throwing it out there.

Robert Dufour wrote:
>This is my connection string, the syntax is I think quite correct. The
name
of the computer is my local machine, the database exists and I can
connect
to it with the enterprise manager,
data source=WINXP1;initial catalog=SGIIMSTransNetPartner; Integrated
security=True

The error I get back Is cannot create SSPI context. I tried this
connecting
to another server from this machine, same thing. This used to work fine
before, now all of a sudden , no joy.

Anyone have any ideas on how to fix this?

Thanks for any help,
Bob

Nov 23 '06 #6
Hey corr, you guys think we're all like MS with a bunch of experts on staff
:-)
Here, I'm the sysadd, the server is on was never turned off. But I can't get
to it with integrated network security and I can't figure out what to do to
connect.
Bob

"Cor Ligthert [MVP]" <no************@planet.nlwrote in message
news:e2****************@TK2MSFTNGP04.phx.gbl...
Robert,

Just connect your sysad if you get this kind of troubles, he can even have
powered that server off.

Cor

"Robert Dufour" <bd*****@sgiims.comschreef in bericht
news:%2****************@TK2MSFTNGP02.phx.gbl...
>This is my connection string, the syntax is I think quite correct. The
name of the computer is my local machine, the database exists and I can
connect to it with the enterprise manager,
data source=WINXP1;initial catalog=SGIIMSTransNetPartner; Integrated
security=True

The error I get back Is cannot create SSPI context. I tried this
connecting to another server from this machine, same thing. This used to
work fine before, now all of a sudden , no joy.

Anyone have any ideas on how to fix this?

Thanks for any help,
Bob



Nov 23 '06 #7
well it's a connection string problem

or a firewall problem
Robert Dufour wrote:
Susie. Its not a connection string problem. I did all that before it still
does not work. It looks like its a problem with network security settings
but I can't pit my finger on it.
Bob
<su******@hotmail.comwrote in message
news:11*********************@m7g2000cwm.googlegrou ps.com...
make a new text file; change the extension from TXT to UDL

double click on it; set all of the settings you want

change the extension from UDL back to TEXT; open it and you've got the
whole connection string already built for you

-Susie, DBA
Robert Dufour wrote:
This is my connection string, the syntax is I think quite correct. The
name
of the computer is my local machine, the database exists and I can
connect
to it with the enterprise manager,
data source=WINXP1;initial catalog=SGIIMSTransNetPartner; Integrated
security=True

The error I get back Is cannot create SSPI context. I tried this
connecting
to another server from this machine, same thing. This used to work fine
before, now all of a sudden , no joy.

Anyone have any ideas on how to fix this?

Thanks for any help,
Bob
Nov 27 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Harry | last post by:
Using Oracle 8i enterprise on win 2000 (sp3) Installed the standard configuration & whenever I make a connection it takes about 10 secs. It's running on a P1900 with 1gb Ram so no reason there...
4
by: James | last post by:
We've had a recurring problem where all of a sudden we get a DBMSSOCN General Network Error on any page that connects to SQL Server. Then we have to reboot the server and everything works fine...
1
by: Mark | last post by:
I know that DB2 LUW version 8 has "connection pooling" that provides a connection concentrator (limits the number of simultaneous connections that can occur). But does it really provide connection...
35
by: Eric Sabine | last post by:
In my Finally block, I was using cn.close (where cn is an ADO.NET connection object, SQLConnection to be exact) and then I came across the following in some microsoft code. If Not cn Is Nothing...
4
by: Rahul Anand | last post by:
Getting SQL Exception when trying to implement Connection based Trasaction using SQL Helper class. I am using the follwing function to execute my stored procs: -=-=-=- ExecuteScalar(ByVal...
5
by: Suresh | last post by:
Hi Guys I have Db2 server installed on remote server. i am connecting to that remote server by using VPN. I want to connect that remote DB2 server instance using my local machine DB2...
16
by: crbd98 | last post by:
Hello All, Some time ago, I implemented a data access layer that included a simple connectin pool. At the time, I did it all by myself: I created N connections, each connection associated with...
20
by: fniles | last post by:
I am using VS2003 and connecting to MS Access database. When using a connection pooling (every time I open the OLEDBCONNECTION I use the exact matching connection string), 1. how can I know how...
1
by: sherifbk | last post by:
Problem description ============== - I have 4 clients and 1 server (SQL server) - 3 clients are Monitoring console 1 client is operation console - Monitoring console collects some data from...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.