更新ektron中的内容时出错



我有一个ektron8.7应用程序,我正在尝试更新其中的内容。(我试图通过设置到期日期来删除内容)

        Dim contentItem As ContentData = contentApi.GetItem(contentId)
        contentItem.ExpireDate = DateTime.Now.AddDays(-1)
        contentApi.Update(contentItem)

我在这里得到以下异常

http://MyPC:8732/Ektron.ASM.EktronServices/CmsHelperService2.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details

InnerException是

"No connection could be made because the target machine actively refused it MyIP:8732"

我的网站从ektron 8.0升级到8.7

如何解决此错误?

确保您的EktronDowsService40正在您的机器上运行;端口8732指示服务器正试图向服务发送数据(该服务处理上线日期和到期日期)。如果它没有运行,它将无法完成您的请求。

如果它正在运行,请确保名称"MyPC"解析为运行该站点的计算机的地址。

如果所有其他操作都失败,请检查"应用程序和服务日志"下的事件查看器-有一个名为"EktronL4"的事件日志,Ektron Windows服务使用它来记录错误。如果启动服务后除了"Service Initialized Successfully"one_answers"Service Started Successfullly"之外还有任何条目,则服务本身存在问题。此时,请致电Ektron Support。

最新更新