Ask a questionAsk a question
 

Answermssql connectivity with php5

  • Friday, October 09, 2009 11:49 AMdipanchokshi Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi everyone
    i am developing website in php5 with database mssql.
    i am new with mssql
    When i am trying to connect with mssql i am getting this error.


    Warning: mssql_connect() [function.mssql-connect]: message: Login failed for user 'NT

    AUTHORITY\ANONYMOUS LOGON'. (severity 14) in C:\wamp\www\nimspl\conn\config.php on line 23

    Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: VBSERVER\MSSQL in

    C:\wamp\www\nimspl\conn\config.php on line 23
    Could not connect to SQL Server on VBSERVER\MSSQL Login failed for user 'NT AUTHORITY\ANONYMOUS

    LOGON'.

     I am using MSSQL server 2005.
    Using Microsoft SQL Server Mgt. Studio Express i am able to connect database with Authentication :

    SQL Server Authentication

    I have enable in php

    1. extension=php_mssql.dll in php.ini file.
    2. mssql.allow_persistent = On
    3. mssql.secure_connection = On

    Moreover i have download latest file "ntwdblib.dll" and kept in my php folder.

    Now pls guide me for this.
    I am stuck in this.

    Thanks


    • Moved byPhil BrammerMVP, ModeratorFriday, October 09, 2009 12:47 PMMoved to the SQL Server PHP forum (From:SQL Server Integration Services)
    •  

Answers

All Replies