Unix Technical Forum

SQL server access problem

This is a discussion on SQL server access problem within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> Hi i have a windows xp pro, i using odbc to connect to sql 2000 server. i have two ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > MS SQL ODBC

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 09:21 PM
Pupo
 
Posts: n/a
Default SQL server access problem

Hi
i have a windows xp pro, i using odbc to connect to sql 2000 server. i have
two connection that work fine. Now when i try to connect i receive a popup
message of error.
If i try to configure or recreate my odbc i receive the followin errors:
impossible make connection
sqlstate: '01000'
sqlstate: '08001'
sql server error 17

can help me to resolve this problem?
Tia Pupo


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 09:21 PM
Uri Dimant
 
Posts: n/a
Default Re: SQL server access problem

Pupo
Can you show us your connection string?

"Pupo" <123star@libero.it> wrote in message
news:%23zziVZeqEHA.3896@TK2MSFTNGP15.phx.gbl...
> Hi
> i have a windows xp pro, i using odbc to connect to sql 2000 server. i

have
> two connection that work fine. Now when i try to connect i receive a popup
> message of error.
> If i try to configure or recreate my odbc i receive the followin errors:
> impossible make connection
> sqlstate: '01000'
> sqlstate: '08001'
> sql server error 17
>
> can help me to resolve this problem?
> Tia Pupo
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 09:21 PM
Pupo
 
Posts: n/a
Default Re: SQL server access problem

Can tell me where find the string please, because i use odbc procedure in
administratirve tools.
Thanks


"Uri Dimant" <urid@iscar.co.il> wrote in message
news:uxiYQdeqEHA.2724@TK2MSFTNGP14.phx.gbl...
> Pupo
> Can you show us your connection string?
>
> "Pupo" <123star@libero.it> wrote in message
> news:%23zziVZeqEHA.3896@TK2MSFTNGP15.phx.gbl...
> > Hi
> > i have a windows xp pro, i using odbc to connect to sql 2000 server. i

> have
> > two connection that work fine. Now when i try to connect i receive a

popup
> > message of error.
> > If i try to configure or recreate my odbc i receive the followin errors:
> > impossible make connection
> > sqlstate: '01000'
> > sqlstate: '08001'
> > sql server error 17
> >
> > can help me to resolve this problem?
> > Tia Pupo
> >
> >

>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-27-2008, 09:21 PM
Uri Dimant
 
Posts: n/a
Default Re: SQL server access problem

Pupo
Do you have ACCESS application to read the data from SQL Server?
You've said "i have
two connection that work fine. Now when i try to connect i receive a popup
message of error." What could be changed? Did you change a SA password?





"Pupo" <123star@libero.it> wrote in message
news:OH8CFkeqEHA.1152@TK2MSFTNGP11.phx.gbl...
> Can tell me where find the string please, because i use odbc procedure in
> administratirve tools.
> Thanks
>
>
> "Uri Dimant" <urid@iscar.co.il> wrote in message
> news:uxiYQdeqEHA.2724@TK2MSFTNGP14.phx.gbl...
> > Pupo
> > Can you show us your connection string?
> >
> > "Pupo" <123star@libero.it> wrote in message
> > news:%23zziVZeqEHA.3896@TK2MSFTNGP15.phx.gbl...
> > > Hi
> > > i have a windows xp pro, i using odbc to connect to sql 2000 server. i

> > have
> > > two connection that work fine. Now when i try to connect i receive a

> popup
> > > message of error.
> > > If i try to configure or recreate my odbc i receive the followin

errors:
> > > impossible make connection
> > > sqlstate: '01000'
> > > sqlstate: '08001'
> > > sql server error 17
> > >
> > > can help me to resolve this problem?
> > > Tia Pupo
> > >
> > >

> >
> >

>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-27-2008, 09:29 PM
=?Utf-8?B?TWljaGFlbCBTaGlmZm1hbg==?=
 
Posts: n/a
Default SQL server access problem

I'm running SQL2000 on an Win2k box also running IIS.
I would think it would be faster to connect using a "localhost" type of
connection rather than a machine name but I haven't been able to get the
syntax. For security conecrns we changed the default port.

The Connection string I am using for my web apps is:

Dim Connect
Set Connect = Server.CreateObject("ADODB.Connection")
Connect.open "DRIVER={SQL
Server};SERVER=SERVERNAME;DATABASE=DATABASENAME;UI D=USERID;PWD=PASWSWORD;"

Is there a faster way to connect?
Thanks --
Michael Shiffman
shiffman@mettaworks.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:08 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com