Tom - Curt Christianson 网站&脚本: http://www.Darkfalz.com 博客: http://blog.Darkfalz.com " tshad" < TS ********** @ ftsolutions.com>在消息中写道新闻:%2 ******************** @ TK2MSFTNGP09.phx.gbl ..。我有在我的W2K3服务器上都有cdosys.dll和cdonts.dll。 我们的网络作者告诉我们他们的asp代码不能用于我们的机器而且我们不会我们的机器上安装了CDONTS。 他们收到错误: 设置objCDOMail = Server.CreateObject(" CDONTS.NewMail") 设置objCDOMail = Server.CreateObject(" CDO.Message") 我们有什么特别的东西吗?必须安装才能使CDONTS工作吗? 谢谢, Tom 好吧,虽然你可以把cdonts.dll文件放在你的机器上并且regsvr32 它,我建议你不要这样做。使用CDO.Message。 - Ray at work Microsoft ASP / ASP.NET MVP " tshad" < TS ********** @ ftsolutions.com>在消息中写道 新闻:%2 ******************** @ TK2MSFTNGP09.phx.gbl ..。我的W2K3服务器上有cdosys.dll和cdonts.dll。 我们的网络作者告诉我们他们的asp代码不能在我们的机器上工作我们没有在我们的机器上安装CDONTS。 他们收到错误: 设置objCDOMail = Server.CreateObject(" CDONTS.NewMail" ;) 我知道新格式是: 设置objCDOMail = Server.CreateObject(" CDO.Message") 有没有我们必须安装什么特别的东西才能使CDONTS工作? 谢谢, Tom I have both cdosys.dll and cdonts.dll on my W2K3 server.We have been told by our web authors that their asp code won''t work on ourmachine and that we don''t have CDONTS installed on our machine.They''re getting an error from:Set objCDOMail = Server.CreateObject("CDONTS.NewMail")I know that the new format is:Set objCDOMail = Server.CreateObject("CDO.Message")Is there something special that we have to have installed to make CDONTSwork?Thanks,Tom 解决方案 CDONTS doesn''t come with W2k3 so unless you added it you are out of luck.Either way though it''s a dead technology, switch over to CDO.--Curt ChristiansonSite & Scripts: http://www.Darkfalz.comBlog: http://blog.Darkfalz.com"tshad" <ts**********@ftsolutions.com> wrote in messagenews:%2********************@TK2MSFTNGP09.phx.gbl.. .I have both cdosys.dll and cdonts.dll on my W2K3 server. We have been told by our web authors that their asp code won''t work on our machine and that we don''t have CDONTS installed on our machine. They''re getting an error from: Set objCDOMail = Server.CreateObject("CDONTS.NewMail") I know that the new format is: Set objCDOMail = Server.CreateObject("CDO.Message") Is there something special that we have to have installed to make CDONTS work? Thanks, Tom"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in messagenews:OR****************@TK2MSFTNGP11.phx.gbl... CDONTS doesn''t come with W2k3 so unless you added it you are out of luck. Either way though it''s a dead technology, switch over to CDO.I agree and have already done that.Our problem is mostly temporary.We have a couple of companies doing projects for us and they are using thesame project for others.We have W2K3 and others have W2K (which has CDONTS on it).I moved CDONTS.DLL from my other machine to allow their code to work untilthey change their code. But we are getting an error. Is this because ithas both .dlls (cdonts.dll and cdosys.dll) on the machine?Thanks,Tom -- Curt Christianson Site & Scripts: http://www.Darkfalz.com Blog: http://blog.Darkfalz.com "tshad" <ts**********@ftsolutions.com> wrote in message news:%2********************@TK2MSFTNGP09.phx.gbl.. .I have both cdosys.dll and cdonts.dll on my W2K3 server. We have been told by our web authors that their asp code won''t work on our machine and that we don''t have CDONTS installed on our machine. They''re getting an error from: Set objCDOMail = Server.CreateObject("CDONTS.NewMail") I know that the new format is: Set objCDOMail = Server.CreateObject("CDO.Message") Is there something special that we have to have installed to make CDONTS work? Thanks, TomWell, while you ~can~ put the cdonts.dll file on your machine and regsvr32it, I suggest that you don''t do that. Use CDO.Message.--Ray at workMicrosoft ASP/ASP.NET MVP"tshad" <ts**********@ftsolutions.com> wrote in messagenews:%2********************@TK2MSFTNGP09.phx.gbl.. . I have both cdosys.dll and cdonts.dll on my W2K3 server. We have been told by our web authors that their asp code won''t work on our machine and that we don''t have CDONTS installed on our machine. They''re getting an error from: Set objCDOMail = Server.CreateObject("CDONTS.NewMail") I know that the new format is: Set objCDOMail = Server.CreateObject("CDO.Message") Is there something special that we have to have installed to make CDONTS work? Thanks, Tom 这篇关于W2K3机器上的CDOSYS和CDONTS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
06-16 06:31