DELPHI盒子
!实时搜索: 盒子论坛 | 注册用户 | 修改信息 | 退出
检举帖 | 全文检索 | 关闭广告 | 捐赠
技术论坛
 用户名
 密  码
自动登陆(30天有效)
忘了密码
≡技术区≡
DELPHI技术
lazarus/fpc/Free Pascal
移动应用开发
Web应用开发
数据库专区
报表专区
网络通讯
开源项目
论坛精华贴
≡发布区≡
发布代码
发布控件
文档资料
经典工具
≡事务区≡
网站意见
盒子之家
招聘应聘
信息交换
论坛信息
最新加入: a12315
今日帖子: 51
在线用户: 11
导航: 论坛 -> DELPHI技术 斑竹:liumazi,sephil  
作者:
男 h9n2 (h9n2) ★☆☆☆☆ -
普通会员
2003/4/15 22:44:40
标题:
CGI or ISAPI programing problem! 浏览:4902
加入我的收藏
楼主: 我用Delphi7 寫 Apache 2 cgi ,

用BDE 時..就出理這句 error
Exception: EDBEngineError
Message: Unknown database. Alias: myodbc3-test

用ADO時, 就出這句error
Exception: EOleException
Message: [Microsoft][ODBC 驅動程式管理員] 找不到資料來源名稱且未指定預設
的驅動程式

我是剛剛學寫programme...不知道哪裡出問題. 我是用CGI 連Mysql ga!
普通programme 是能連上Mysql...但一寫CGI or ISAPI  就出這樣的問題!
Thank for your help!
----------------------------------------------
Do what i want to !
作者:
男 supermay (supermay) ★☆☆☆☆ -
盒子活跃会员
2003/4/16 20:05:33
1楼: 你要用IIS测试才行吧,不能直接运行的
----------------------------------------------
链接:https://pan.baidu.com/s/12jzmECYKhGCsHBxz8tmB6w 提取码:pelr --来自百度网盘超级会员V9的分享
作者:
男 pcplayer (pcplayer) ★☆☆☆☆ -
普通会员
2022/6/10 16:47:08
2楼: BDE:它不知道数据库;那么,你给它的数据库的信息是什么?或者,没给?

ADO:同样是说找不到数据库,或者没有 ADO 驱动;

那么,你先不要管 CGI,你就做一个普通的 Project,桌面运行的,看看能不能连接打开数据库。如果能,那么,区别是什么?把你的代码贴出来。
----------------------------------------------
-
作者:
男 zhuoyu (拙于) ▲▲▲▲△ -
普通会员
2022/6/13 23:37:44
3楼: 用isapi方式做dll,然后用iis发布,没问题的!
----------------------------------------------
-
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2022/6/14 1:21:25
4楼: BDE Engine need know the "path" (normally "ABSOLUTE PATH" -- non relative path" of your DB or you need register this path in BDE...
--- add the DB path in your BDE 
--- OR
--- in your software create a Database object and config the properties necessary.

any component that use BDE framework will can use it after this.
----------

this path should be accessible for your software, then, if in a server, verify if the server can access it.

you have PERMISSIONS to acces the BDE-Database folder in your app-server or any other place?

https://www.dbase.com/help/9_4/Installing/IDH_INSTALL_SQLCONNECT.htm
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
信息
登陆以后才能回复
Copyright © 2CCC.Com 盒子论坛 v3.0.1 版权所有 页面执行101.5625毫秒 RSS