Re: Problem connecting to sql server
- From: "Ajak" <razak@xxxxxxxxxxx>
- Date: Thu, 5 Jan 2006 08:47:59 +0800
"Skanda Subramanian" <skandy.sub@xxxxxxxxx> wrote in message
news:1136374033.705203.47780@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Ajak:
>
> First thing, go to Client Configuation properties on the client machine
> by going to Start->un->cliconfg and check to see if the protocols are
> enabled. You may wish to try using a different protocol tha the one its
> failing with currently, like Named Pipes for TCP.
>
Do you mean Client Network Utility? Is so, then you mean I need to check its
settings on the SQL server, not my machine right?
I need to clarify that I didn't change anything on the SQL server. And my
Web Application works fine before I format and reinstall Win XP on my
machine. That's all I did.
> Check to see if the account your application is trying to see has
> access on SQL Server.
The account my web application is using is the 'sa' account and yes, it has
all the privillege on the SQL server. And I'm sure the connection string is
right because the same conn string used in 2 different types of app, ran on
my one and only development machine -
1) Web Application written in VB.NET (Where I believe run by aspnet_wp.exe)
<-- cannot find the server or access denied
2) Stand Alone EXE written in VB.NET <--- yipeee! I can see the server just
fine!!!
On my mechine, I also installed SQL Client Tool such as Enterprise Maneger,
Query Analyzer... They can find the SQL server without any problem. The same
goes when I created System DSN in ODBC Data Source Administrator.
That means, only the aspnet_wp.exe cannot find the server. Right?
I am going to try connecting using classic ASP and see if the problem is
there as well.
I hope I have explained the situation I'm having clearly.
.
- Follow-Ups:
- Re: Problem connecting to sql server
- From: Andy
- Re: Problem connecting to sql server
- References:
- Problem connecting to sql server
- From: Ajak
- Re: Problem connecting to sql server
- From: Stephen Ahn
- Re: Problem connecting to sql server
- From: Ajak
- Re: Problem connecting to sql server
- From: Nag
- Re: Problem connecting to sql server
- From: Ajak
- Re: Problem connecting to sql server
- From: Skanda Subramanian
- Problem connecting to sql server
- Prev by Date: Re: How to flush DataSet data back to the database
- Next by Date: RE: imports and sqlclient
- Previous by thread: Re: Problem connecting to sql server
- Next by thread: Re: Problem connecting to sql server
- Index(es):
Relevant Pages
|