For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > July 2007 > Re: [PHP-WIN] Windows 2k3 sp2 and mssql error









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-WIN] Windows 2k3 sp2 and mssql error
bedul

2007-07-09, 9:58 pm

sry if i mistaken

----- Original Message -----
From: "Zleviticus" <zleviticus@fitnessnow.org>
To: <php-windows@lists.php.net>
Sent: Monday, July 09, 2007 10:11 PM
Subject: [PHP-WIN] Windows 2k3 sp2 and mssql error


> I am perplexed with an issue that i need help on. I have

searched and can
> not find a resolution and can not find out what is going

on.
>
> Here is the situation:
>
> I have a windows 2003 Server running IIS 6, php 5.2.1
> I have another windows 2003 server running mssql 2000 with

all the latest
> service packs.

i think i will called the first as A and the second as B

------------------------------------------------------------
>
> i am using a php script via a web page to access data on

the server and
> display it. when i run the page i get the standard:
> Warning: mssql_connect() [

<http://solomon/Flash/function.mssql-connect>
> function.mssql-connect]: Unable to connect to server:

192.168.1.9
where do you execute this script?? on A or B?
i notice 192.168.1.9 was B right??
--------------------------------------------------
> I can connect to the sql server via the php script if i

run it from my
> client in my editing software.

there were another ?? well are this on A or the new one.

i think the problem are on the permision in B.
you should create an user (example)

user: Bedul
Host: %
password: bedul

then when u want to connect this.. try using user Bedul
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com