PC Review


Reply
Thread Tools Rate Thread

Sql Connection string

 
 
John Medany
Guest
Posts: n/a
 
      16th Mar 2005
Hi

I'm having connection string problems

I am trying to connect to an SQL2000 server
the server name is cube, I am not using windows security just the sa
account with a blank password.
@"UID=SA;Password="";Integrated
Security=SSPI;Server=cube;Database=CS01JPMFYP"



Is wrong i think



Can some one fix this ??

Help

John


 
Reply With Quote
 
 
 
 
Ilya Tumanov [MS]
Guest
Posts: n/a
 
      16th Mar 2005
If you're not using windows security, why do you have "integrated
Security=SSPI" in your connection string?

Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
> From: "John Medany" <(E-Mail Removed)>
> Subject: Sql Connection string
> Date: Tue, 15 Mar 2005 23:05:33 -0000
> Lines: 23
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Newsreader: Microsoft Outlook Express 6.00.3790.224
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.224
> Message-ID: <(E-Mail Removed)>
> Newsgroups: microsoft.public.dotnet.framework.compactframework
> NNTP-Posting-Host: cpc3-ayle1-5-0-cust104.wtfd.cable.ntl.com 82.19.246.104
> Path:

TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP1
2.phx.gbl
> Xref: TK2MSFTNGXA02.phx.gbl

microsoft.public.dotnet.framework.compactframework:73307
> X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
>
> Hi
>
> I'm having connection string problems
>
> I am trying to connect to an SQL2000 server
> the server name is cube, I am not using windows security just the sa
> account with a blank password.
> @"UID=SA;Password="";Integrated
> Security=SSPI;Server=cube;Database=CS01JPMFYP"
>
>
>
> Is wrong i think
>
>
>
> Can some one fix this ??
>
> Help
>
> John
>
>
>


 
Reply With Quote
 
John Medany
Guest
Posts: n/a
 
      16th Mar 2005
Yep spotted that one - got it working

thanks
John

""Ilya Tumanov [MS]"" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> If you're not using windows security, why do you have "integrated
> Security=SSPI" in your connection string?
>
> Best regards,
>
> Ilya
>
> This posting is provided "AS IS" with no warranties, and confers no

rights.
> --------------------
> > From: "John Medany" <(E-Mail Removed)>
> > Subject: Sql Connection string
> > Date: Tue, 15 Mar 2005 23:05:33 -0000
> > Lines: 23
> > X-Priority: 3
> > X-MSMail-Priority: Normal
> > X-Newsreader: Microsoft Outlook Express 6.00.3790.224
> > X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.224
> > Message-ID: <(E-Mail Removed)>
> > Newsgroups: microsoft.public.dotnet.framework.compactframework
> > NNTP-Posting-Host: cpc3-ayle1-5-0-cust104.wtfd.cable.ntl.com

82.19.246.104
> > Path:

>

TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP1
> 2.phx.gbl
> > Xref: TK2MSFTNGXA02.phx.gbl

> microsoft.public.dotnet.framework.compactframework:73307
> > X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
> >
> > Hi
> >
> > I'm having connection string problems
> >
> > I am trying to connect to an SQL2000 server
> > the server name is cube, I am not using windows security just the sa
> > account with a blank password.
> > @"UID=SA;Password="";Integrated
> > Security=SSPI;Server=cube;Database=CS01JPMFYP"
> >
> >
> >
> > Is wrong i think
> >
> >
> >
> > Can some one fix this ??
> >
> > Help
> >
> > John
> >
> >
> >

>



 
Reply With Quote
 
Alex Feinman [MVP]
Guest
Posts: n/a
 
      16th Mar 2005
Also try using the server's IP address instead of the name "cube"

--
Alex Feinman
---
Visit http://www.opennetcf.org
""Ilya Tumanov [MS]"" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> If you're not using windows security, why do you have "integrated
> Security=SSPI" in your connection string?
>
> Best regards,
>
> Ilya
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> --------------------
>> From: "John Medany" <(E-Mail Removed)>
>> Subject: Sql Connection string
>> Date: Tue, 15 Mar 2005 23:05:33 -0000
>> Lines: 23
>> X-Priority: 3
>> X-MSMail-Priority: Normal
>> X-Newsreader: Microsoft Outlook Express 6.00.3790.224
>> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.224
>> Message-ID: <(E-Mail Removed)>
>> Newsgroups: microsoft.public.dotnet.framework.compactframework
>> NNTP-Posting-Host: cpc3-ayle1-5-0-cust104.wtfd.cable.ntl.com
>> 82.19.246.104
>> Path:

> TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP1
> 2.phx.gbl
>> Xref: TK2MSFTNGXA02.phx.gbl

> microsoft.public.dotnet.framework.compactframework:73307
>> X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
>>
>> Hi
>>
>> I'm having connection string problems
>>
>> I am trying to connect to an SQL2000 server
>> the server name is cube, I am not using windows security just the sa
>> account with a blank password.
>> @"UID=SA;Password="";Integrated
>> Security=SSPI;Server=cube;Database=CS01JPMFYP"
>>
>>
>>
>> Is wrong i think
>>
>>
>>
>> Can some one fix this ??
>>
>> Help
>>
>> John
>>
>>
>>

>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a connection object (sql/oledb/odbc) based on connection method/string. Hetal Microsoft VB .NET 2 30th Apr 2007 06:55 PM
Query String or Connection String with Regex jwgoerlich@gmail.com Microsoft C# .NET 3 11th Jan 2007 10:55 AM
Connection String question - accessing one string throughout solut =?Utf-8?B?Z2FyeSBnLg==?= Microsoft Dot NET 2 26th Apr 2006 07:48 PM
Connection String object Convert to String Variable Type =?Utf-8?B?TWlrZSBNb29yZQ==?= Microsoft ASP .NET 2 26th Oct 2004 04:43 PM
connection string exception : Format of the initialization string does not conform to specification starting at index 0 Gaurav Microsoft ASP .NET 0 7th Nov 2003 11:24 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:39 PM.