[SOLVED]Function mssql_connect is not working in new version of Scriptcase

HI,

After the upgrade to php 5.4 ScriptCase the function mssql_connect not working, still doing it without problem coming, which now shows the error is as follows:

Fatal error: Call to undefined function mssql_connect () in C: \ Program Files \ NetMake \ v71 \ wwwroot \ ScriptCase \ app \ A. … db.php on line 1022

regards

thanks

Hello,

What kind of SQL Server connection are you using?

regards,
Bernhard Bernsmann

Hello,

In order to use Native SRV or PDO drivers on PHP 5.4, it is neccessary to download the SQL Server 2012 Native Client

http://downloads.scriptcase.com.br/downloads/v7/manual/en_us/webhelp/manual_mp/06-Tutoriais/11-mssql/00-mssql.htm

Hi, I use MS SQL SERVER 2005 and connect to database with ODBC, i have connection to the database, but i use this code in blank to make a backup of the database.

thanks

regards

The issue only happens on the blank application?

regards,
Bernhard Bernsmann

Hi Bernhard, i only use it in black application, really i don?t know if have the same problem in other applications.

Regard

Sergio

Hello Sergio,

Have you followed our MS SQL ODBC connection tutorial? http://downloads.scriptcase.com.br/downloads/v7/manual/en_us/webhelp/manual_mp/06-Tutoriais/11-mssql/02-odbc.htm

regards,
Bernhard

Hi Bernhard, i have this ODBC created since 1998 in my server, my database have changes but always have the same connection, now i only have the problem executing the function mssql_connect calling in a specific application in scriptcase.

Thanks

Regards
Sergio

Sergio,

Are you calling this function through code, or are you calling a macro such as sc_lookup(), sc_select() or sc_exec_sql()?

regards,
Bernhard Bernsmann

Hi Sergio,

mssql_connect(): this extension is not available anymore on Windows with PHP 5.3 or later. Thats not a SC problem/bug. John has posted in #3 what you can do …

thanks for everything