Urgent problem about SQL Server
  Home FAQ Contact Sign in
microsoft.public.arabic.sqlserver only
 
Advanced search
POPULAR GROUPS

more...

microsoft ... sqlserver Profile…
 Up
Urgent problem about SQL Server         


Author: HK newsgroup
Date: Jan 22, 2008 11:51

Hi,
I have a problem connecting my SQL Server 2005 from a ASP Webpage.

When I trying to connect using the following connection string:
"Provider=SQLOLEDB; Data Source =2xx.xxx.xxx.xxx; Initial Catalog = xxx;
User Id = xxx; Password=xxx"

The browser returns an error:
"Microsoft OLE DB Provider for SQL Server error '80004005'
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access
denied."

If I put the ASP page under the same local machine with the SQL Server, it
works fine.
However it failed to connect if I put the ASP page in another client
machine, which then remote connect to the SQL Server machine.

I am sure I have openned the port 1433 and 80, because I can connect by
using SQL Server Management Studio by using the same IP address, and I can
access the IIS thru a client machine.

Is there anything missing in my Win Server 2003 machine that blocked the
connection from Web? or any setting missing in the SQL Server to accept Web
connection?
Show full article (1.01Kb)
1 Comment
Re: Urgent problem about SQL Server         


Author: b.cordelia
Date: Feb 17, 2008 09:57

are you sure about the connectic
"HK newsgroup" websonic.com.hk> a écrit dans le message de
news:O1pLkATXIHA.5396@TK2MSFTNGP02.phx.gbl...
> Hi,
> I have a problem connecting my SQL Server 2005 from a ASP Webpage.
>
> When I trying to connect using the following connection string:
> "Provider=SQLOLEDB; Data Source =2xx.xxx.xxx.xxx; Initial Catalog = xxx;
> User Id = xxx; Password=xxx"
>
> The browser returns an error:
> "Microsoft OLE DB Provider for SQL Server error '80004005'
> [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access
> denied."
>
> If I put the ASP page under the same local machine with the SQL Server, it
> works fine.
> However it failed to connect if I put the ASP page in another client
> machine, which then remote connect to the SQL Server machine.
> ...
Show full article (1.20Kb)
no comments

RELATED THREADS
SubjectArticles qty Group
Re: Urgent please reply web application in Client server Programcomp.lang.php ·
Re: Comando do DOS no SQL Server ?!microsoft.public.br.sqlserver ·
Re: I Cannot install SQL Server 2005 Enterprise on Vista !!microsoft.public.sqlserver.setup ·
SQL Server 2005 32 bit and Sharepoint 32 bit on 64 bit OS?microsoft.public.sharepoint.setup_and_administration ·