|
主题: 向斑竹请请个问题
|
 蓝鲸
职务:版主
等级:5
金币:42.1
发贴:2614
|
#12002/6/20 1:23:27
我刚开始学CFML,环境是WIN2000 SERVER+IIS5.0+ColdFusion MX,照例子写了几句试用,在127.0.0.1路径上顺利通过,但在自建虚拟目录如127.0.0.1/cfml下却调试出错,应怎样配置服务器。
非常大鱼
|
 吃鱼专家
职务:普通成员
等级:6
金币:11.0
发贴:5312
|
|
 Mozier
职务:管理员
等级:5
金币:11.0
发贴:2994
|
#32002/6/20 9:05:11
楼上的他用的是iis5.0,不是MX自带的。
|
 5DDC版主
职务:版主
等级:6
金币:10.0
发贴:3820
|
#42002/6/20 9:20:37
在IIS中建立虚拟路径就可以了!
|
 蓝鲸
职务:版主
等级:5
金币:42.1
发贴:2614
|
#52002/6/20 10:50:44
batyvn在上个帖子中说 引用: 在IIS中建立虚拟路径就可以了!
出错信息如下: You tried to access the developer edition from a disallowed IP (61.174.217.100). The developer edition can only be accessed from 127.0.0.1 and one additional IP address. The additional IP address is: 61.174.217.150 我用http://[本机名]/cfml/index.cfm不能通过, 但用http://127.0.0.1/cfml/index.cfm则顺利通过
非常大鱼
|
 5DDC版主
职务:版主
等级:6
金币:10.0
发贴:3820
|
#62002/6/20 11:57:49
你用的CFMX是开发版,开发的服务器IP都是锁定在127.0.0.1的,所以你无法让别人访问你,你只能自己测试用!
|
 蓝鲸
职务:版主
等级:5
金币:42.1
发贴:2614
|
#72002/6/20 17:55:29
真的很谢谢各位。 真的很菜,又碰上问题,我链接不上数据库,出错信息: The Error Occurred in E:\cfmlex\ex1\index.cfm: line 1 1 : 2 : select * from member 3 :
我先用ODBC连好ACCESS数据库,DSN:member,在ColdFusion数据控制面板上链接,取名同样为member,但显示"error"。同样连ColdFusion MX自带定义好的数据库连接全部显示"error",请能给予帮助。
非常大鱼
|
 5DDC版主
职务:版主
等级:6
金币:10.0
发贴:3820
|
#82002/6/21 9:05:45
CFMX根本就没有ODBC连接的方式?你怎么可能用ODBC连接数据库呢? CFMX只有一种JDBC连接数据库,目前不支持Access中文,必须在CF administrator中建立设置!
|