to me, didnt worked out..
I discovered a big problem, with the ports...
my mssql was setted to dynamic ports, i setted the default port to mssql (1433) and it worked (in the scripts)...
i did this one to try out the server...
Code:
<?php
echo "----------------------/-///--------------------------<br />";
$con = mssql_connect( '127.0.0.1', 'Shaiya', 'Shaiya123' );
if( $con === FALSE ) {
echo 'Not Connected';
} else {
echo 'Connected: ' . gettype( $con );
}
?>
Before i set my ports to fixed, i was having to use instead of '127.0.0.1' -> 'Server\Shaiya'
well, now its working fine with 127.0.0.1 and my local ip, even if i put localhost it work... i get connected...
but i get the same thing in the Shaiya Serv.
--> PS_SESSION*.log
Code:
2009-09-04 00:20:05 PS_SESSION__system log start (Session)
2009-09-04 00:20:06 userlog connect failed
2009-09-04 00:20:06 initserver() failed
2009-09-04 00:20:06 3 1 SService::ServiceCtrlDispatcher(): m_pService->Init()
2009-09-04 00:20:06 PS_SESSION__system log end (Session)
2009-09-04 00:20:06 3 1 SService::ServiceCtrlDispatcher(): service shutdown
--> PS_USERLOG*.log
Code:
2009-09-04 00:18:59 PS_USERLOG__system log start (UserLog)
2009-09-04 00:19:14 DB userlog connect error, Server=127.0.0.1, DBName=PS_UserData, User=Shaiya, Pass=Shaiya123
2009-09-04 00:19:14 3 1 SService::ServiceCtrlDispatcher(): m_pService->Init()
2009-09-04 00:19:14 PS_USERLOG__system log end (UserLog)
2009-09-04 00:19:14 3 1 SService::ServiceCtrlDispatcher(): service shutdown
Oh and btw, the pass that comes with the server is "Shaiya123" and no "shaiya123" (S in Capital Letter)