Error Calling External Object Function Send
Contents |
be down. Please try the request again. Your cache administrator is webmaster. Generated Mon, 10 Oct 2016 16:41:12 GMT by s_ac15 (squid/3.5.20)
links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center. Forums Archive > PowerBuilder > General Discussion > "Error calling external object function..." Error calling external object function... 7 posts in General Discussion http://answers.microsoft.com/en-us/windows/forum/windows_vista-performance/error-35-error-calling-external-object-function/14149fa5-e608-429e-aaf3-37d5938966af . Last posting was on 2002-01-30 01:21:11.0Z Jerry Posted on 2002-01-29 23:08:40.0Z Newsgroups: sybase.public.powerbuilder.generalFrom: "Jerry"
links to the respective forums on SCN, or you can go to SCN and search for your product in the search box http://nntp-archive.sybase.com/nntp-archive/action/article/%3C48da0eb2.6990.1681692777@sybase.com%3E (upper right corner) to find your specific developer center. Forums Archive > PowerBuilder > General Discussion > "Error calling external object function SendMail" Error calling external object function SendMail 3 http://bbs.csdn.net/topics/390153671 posts in General Discussion . Last posting was on 2008-09-26 15:47:49.0Z Paul Baudouin Posted on 2008-09-24 09:56:02.0Z Sender: 1227.48d7adc4.1804289383@sybase.comFrom: Paul BaudouinNewsgroups: sybase.public.powerbuilder.generalSubject: Error calling external object function SendMailX-Mailer: WebNews error calling to Mail Gateway v1.1tMessage-ID: <48da0eb2.6990.1681692777@sybase.com>MIME-Version: 1.0Content-Type: multipart/mixed; boundary="-=_forums-1-dub48da0eb2"NNTP-Posting-Host: 10.22.241.41X-Original-NNTP-Posting-Host: 10.22.241.41Date: 24 Sep 2008 02:56:02 -0700X-Trace: forums-1-dub 1222250162 10.22.241.41 (24 Sep 2008 02:56:02 -0700)X-Original-Trace: 24 Sep 2008 02:56:02 -0700, 10.22.241.41Lines: 8037Path: forums-1-dub!not-for-mailXref: forums-1-dub sybase.public.powerbuilder.general:217452 Article PK: 668041 Download error calling external object function.doc Hi, We are using PB 11.1 build 8204 and want to send a mail from our application using error calling external the aspSmartMail.dll. This works fine when we run the application on our own MS Server 2003 (SP1) and some of the servers from our customers. When we deployed this on the server of a new customer MS Server 2003 R2(SP2), this doesn't work. The dll was registered using the regsvr32 statement. We checked in the registry and found all the expected keys and values. This is the code used : OLEObject ol ol = CREATE OLEObject IF IsValid(ol) THEN ll_test= ol.ConnectToNewObject("aspSmartMail.SmartMail") ls_logpath = 'c:\temp\' ol.LogPath(ls_logpath) ol.SenderName = ls_mi_afzender ol.SenderAddress = ls_mi_afzender_adres ol.Server = ls_pa_smtp ol.ContentType = "text/html" ol.Organization = "Aktiv Consulting" ol.Subject = ls_mi_subject ol.Recipients.Add(ls_ma_email, ls_ma_naam) ol.ReturnReceipt = true ol.ConfirmRead = true ol.Body(ls_body) ol.SendMail() end if The strange thing is that on the server of this customer no logfile is created (cfr ol.LogPath), but we only get an errormessage on the call of the SendMail Function Error calling external object function SendMail. In the attachment you will find the details of the OLE in the Powerbuilder browser , tabpage OLE Could it be the difference in Service
JavaScript ASP HTML(CSS) HTML5 Apache 开发语言/框架 Delphi VC/MFC VB C/C++ C++ Builder 其他开发语言 数据库开发 MS-SQL Server Oracle PowerBuilder Informatica 其他数据库开发 硬件/嵌入式开发 嵌入开发(WinCE) 驱动开发/核心开发 硬件设计 单片机/工控 汇编语言 VxWorks开发 Linux/Unix社区 系统维护与使用区 应用程序开发区 内核源代码研究区 驱动程序开发区 CPU和硬件区 论坛帮助 论坛牛人 论坛地图 专家问答 << >> CSDN > CSDN论坛 > PowerBuilder > Web 应用 返回列表 管理菜单 置顶 推荐 锁定 移动 编辑 删除 帖子加分 帖子高亮 结帖 发帖 回复 关注 pianpianyuan error calling external object function send [问题点数:20分] 快速回复 只显示楼主 关注帖子 error calling external object function send [问题点数:20分] 不显示删除回复 显示所有回复 显示星级回复 显示得分回复 只显示楼主 收藏 取消关注 关注 pianpianyuan pianpianyuan 本版等级: 本版专家分:12 结帖率:93.18% 楼主 发表于: 2012-07-28 20:59:27 OLEObjectdom,http StringHttp_Name,result try Http_Name="http://……" dom=CREATEOLEObject http=CREATEOLEObject ifhttp.ConnectToNewObject("Msxml2.XMLHTTP")<>0then MessageBox('http',"Error") endif ifdom.ConnectToNewObject("Msxml2.DOMDocument")<>0then MessageBox('dom',"Error") endif dom.Load("c:\dept.xml") http.Open("POST",Http_Name,TRUE) http.Send(dom.xml) dowhilehttp.readyState<>4//'查询状态,延时 Yield() loop result=http.responseText//这个测试用!你可不写 MessageBox('result',result) dom.DisconnectObject() http.DisconnectObject() DESTROYdom DESTROYhttp Catch(RuntimeErrorrte) MessageBox('运行时错',rte.getMessage(),Information!,OK!,1) return endtry 在运行时,出现错误errorcallingexternalobjectfunctionsend 请高手指教 是不是因为我给的Http_Name不是真实的? 更多 分享到: 对我有用[0] 丢个板砖[0] 引用 | 举报 | 编辑 删除 管理 回复次数:0 相关知识库: 深度学习 React Native iOS 直播技术 返回列表 管理菜单 置顶 推荐 锁定 移动 编辑 删除 帖子加分 帖子高亮 结帖 发帖 回复 关注 物联网开发实战解读何为杀手级应用 直播技术架构图谱 C币兑换大会门票 大型网站之架构专家在问答 本帖子已过去太久远了,不再提供回复功能。