Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

urgent problem about SQL Server

 
   Database Forums (Home) -> Server RSS
Next:  SQL 2000 Server Not using all memory  
Author Message
HK newsgroup

External


Since: Jan 23, 2008
Posts: 6



(Msg. 1) Posted: Tue Jan 22, 2008 5:00 pm
Post subject: urgent problem about SQL Server
Archived from groups: microsoft>public>sqlserver>server (more info?)

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?

thanks.
Paul

 >> Stay informed about: urgent problem about SQL Server 
Back to top
Login to vote
Linchi Shea

External


Since: Mar 03, 2006
Posts: 234



(Msg. 2) Posted: Tue Jan 22, 2008 8:46 pm
Post subject: RE: urgent problem about SQL Server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> 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,
Did you try the SQL Server Mgmt Studio connection from a machine remote to
the SQL Server instance? If you have a SQL Server utility tool such as
osql.exe or sqlcmd.exe on the the IIS machine, you may want to establish that
you connect to the SQL instance from there. If you don't have oslq.exe or
sqlcmd.exe, you can craete an ODBC data source name and run a test with the
data source name.

Linchi

"HK newsgroup" wrote:

> 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?
>
> thanks.
> Paul
>
>
>

 >> Stay informed about: urgent problem about SQL Server 
Back to top
Login to vote
Display posts from previous:   
   Database Forums (Home) -> Server All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]