Drew - Thanks , I added ASPNET user to the database and it worked fine.
However, I noticed when I try to use this webservice, I have to be connected
to the internet. This webservice is on my local machine( the webserver on my
Win2K profesional pc). I'm not trying to get any ohter info other than
connect to SQL Server database and return the query.
Why do I have to be connected to the Internet for this to work?
Thanks,
Keith
> > What is causing this error?
> > Login failed for user '......
[quoted text clipped - 21 lines]
> Mimeo, Inc. - http://www.mimeo.com
> Weblog - http://blog.hackedbrain.com/
Dan Rogers - 02 Dec 2004 01:25 GMT
How is your network connection managed? The calls to SQL server can go
over either TCP/IP or over named pipes. If your SQL client is configured
for TCP/IP, then you need a valid network connection to talk to SQL Server.
I hope this helps
Dan Rogers
Microsoft Corporation
--------------------
Thread-Topic: Error connecting to SQL Server through a Web Service???
thread-index: AcTX3tYEVMW3Zl0ETZOgKNJRjwF+vw==
X-WBNR-Posting-Host: 4.158.243.47
From: "=?Utf-8?B?R1REcml2ZXI=?=" <GTDriver@discussions.microsoft.com>
References: <C5702BC1-3C1C-486F-A03D-3555BAA7D303@microsoft.com>
<85659632373527930781250@msnews.microsoft.com>
Subject: Re: Error connecting to SQL Server through a Web Service???
Date: Wed, 1 Dec 2004 11:49:14 -0800
Lines: 44
Message-ID: <01B3C703-6CC4-4275-AA45-FE40302DAA19@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.webservices:7727
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices
Drew - Thanks , I added ASPNET user to the database and it worked fine.
However, I noticed when I try to use this webservice, I have to be
connected
to the internet. This webservice is on my local machine( the webserver on
my
Win2K profesional pc). I'm not trying to get any ohter info other than
connect to SQL Server database and return the query.
Why do I have to be connected to the Internet for this to work?
Thanks,
Keith
"Drew Marsh" wrote:
> GTDriver wrote:
>
[quoted text clipped - 23 lines]
> Mimeo, Inc. - http://www.mimeo.com
> Weblog - http://blog.hackedbrain.com/