添加TtmMapping时出错


5

我在下面的错误中尝试添加网站和发布之间的映射以发布内容。

Add-TtmMapping -Id visitorwebmapping -PublicationId tcm:0-2-1 -WebApplicationId VisitorWeb_RootWebApp Add-TtmMapping : Item of type 'WebApplicationData' with id 'VisitorWeb_RootWebApp' does not exist. 
    > At line:1 char:1 
    > + Add-TtmMapping -Id visitorwebmapping -PublicationId tcm:0-2-1 -WebApplicationId ... 
    > + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    >  + CategoryInfo   : NotSpecified: (Tridion.Topolog...dMappingCommand:AddMappingCommand) 
    > [Add-TtmMapping], DataServiceException 
    >  + FullyQualifiedErrorId : Tridion.TopologyManager.Automation.Cmdlets.AddMappingCommand 

我已经定义了业务流程类型,并填补了出版URI正确的,但我仍然得到同样的错误。

6

错误:

Item of type 'WebApplicationData' with id 'VisitorWeb_RootWebApp' does not exist.

是想告诉你有一个与在拓扑管理的ID VisitorWeb_RootWebApp没有Web应用程序,所以你可能要检查的Get-TtmWebApplication结果,看看你没拼写错误(区分大小写等)