急!!!(无法联接数据库)
我用ASP做的网页,在本地测试一点问题都没有,可就是传到服务器上就出错,联不到数据库!下面是代码,请大家帮我看一下,哪有问题.
dim MM_editCmd
dim MM_editQuery
MM_editQuery= "insert into xwb (zt,nr,rq) values NAME= ' "& "WWWW "& " ',EMAIL= ' "&dddd& " ' where id=80 "
Set MM_editCmd = Server.CreateObject( "ADODB.Command ")
MM_editCmd.ActiveConnection= "Driver={Microsoft Access Driver (*.mdb)};DBQ= "& Server.MapPath( "/database/gstbook.mdb ")
MM_editCmd.CommandText = MM_editQuery
MM_editCmd.Execute
MM_editCmd.ActiveConnection.Close
------解决方案--------------------頂下.
------解决方案--------------------DM生成的代码?错误提示是什么?
------解决方案--------------------http://feb-.blog.163.com/blog/static/1657789200682953216919/
------解决方案--------------------看到MM_大头的代码就晕