Delphi For PHP Forums       


Go Back   Delphi-PHP Forums > Delphi4PHP NNTP Newsgroups > embarcadero.public.delphiphp.database
Forum Jump Register FAQ Members List Downloads Search Today's Posts Mark Forums Read

embarcadero.public.delphiphp.database This group is for all discussion about databases and using them with Delphi for PHP.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 13th December 2007, 20:17
D4PHP User
 
Join Date: Dec 2007
Posts: 22
matrixspnet is on a distinguished road
Default MSSQL - 'Cannot connect to database server'

IN PHP Code, function perfect.

But in D4PHP, display this error:
Application raised an exception class EDatabaseError with message 'Cannot connect to database server'
Callstack #0 File: E:\Meus Documentos\Nilson\Delphi for PHP Projects\mssql\unit3.php Line: 46
|_Callstack #1 File: c:\arquivos de programas\CodeGear\delphi for php\1.0\vcl\classes.inc.php Line: 1213
|_Callstack #2 File: c:\arquivos de programas\CodeGear\delphi for php\1.0\vcl\classes.inc.php Line: 1243
|_Callstack #3 File: c:\arquivos de programas\CodeGear\delphi for php\1.0\vcl\classes.inc.php Line: 489
|_Callstack #4 File: Line:
|_Callstack #5 File: c:\arquivos de programas\CodeGear\delphi for php\1.0\vcl\classes.inc.php Line: 415
|_Callstack #6 File: c:\arquivos de programas\CodeGear\delphi for php\1.0\vcl\classes.inc.php Line: 846
|_Callstack #7 File: c:\arquivos de programas\CodeGear\delphi for php\1.0\vcl\db.inc.php Line: 179
|_Callstack #8 File: c:\arquivos de programas\CodeGear\delphi for php\1.0\vcl\system.inc.php Line: 190
|_Callstack #9 File: c:\arquivos de programas\CodeGear\delphi for php\1.0\vcl\dbtables.inc.php Line: 122
|_Callstack #10 File: c:\arquivos de programas\CodeGear\delphi for php\1.0\vcl\db.inc.php Line: 201
|_Callstack #11 File: c:\arquivos de programas\CodeGear\delphi for php\1.0\vcl\dbtables.inc.php Line: 211

If somebody can help me, please.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 14th December 2007, 04:21
405hp's Avatar
Firebug Fanatic
 
Join Date: Dec 2007
Location: State of Confusion
Posts: 3,267
405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute
Default

I don't think you are giving enough info to help you.

Can you make the database connect with the data explorer?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 14th December 2007, 10:59
D4PHP User
 
Join Date: Dec 2007
Posts: 22
matrixspnet is on a distinguished road
Default

Quote:
Originally Posted by 405hp View Post
I don't think you are giving enough info to help you.

Can you make the database connect with the data explorer?
Well!!!! In Data Explorer I just have MySQL and Interbase, don't have MSSQL options.

May be missing update D4PHP??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 14th December 2007, 19:27
405hp's Avatar
Firebug Fanatic
 
Join Date: Dec 2007
Location: State of Confusion
Posts: 3,267
405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute
Default

I was looking for something else and ran across this http://phplens.com/adodb/supported.databases.html

hth
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 18th December 2007, 00:19
D4PHP User
 
Join Date: Dec 2007
Posts: 22
matrixspnet is on a distinguished road
Default

Thanks for help.

My friend help me... the problem was install mssql.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 21st January 2010, 12:07
just Joined!
 
Join Date: Jan 2010
Posts: 4
elkasoft is on a distinguished road
Default wow

i do it, if you have any problem coonect at elkasoft@yahoo.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 12:15.




Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 ©2009, Crawlability, Inc.
Copyright © 2004 - 2009, G&J Solutions Ltd. All Rights Reserved. terms of use