Developer forum

Forum » Rapido » Deployment tool and RApido

Deployment tool and RApido

Mikkel Ulstrup
Reply

Hi,

We are trying to deploy Rapido to an existing solution with the deployment tool.

When deploying areas and pages together we get this error:

2018-11-14 12:57:44.806 Failed (6 / 6).  
2018-11-14 12:57:44.509 Unable to import  
2018-11-14 12:57:44.509 Unable to import. System.InvalidOperationException: Area not found: 11001a95-b37d-4fc9-957f-b16d116f7451 at Dynamicweb.Deployment.DataItemProviders.Content.PageDataItemWriter.GetOrCreatePage(Guid uniqueId, Guid areaUniqueId, Guid parentPageUniqueId) at Dynamicweb.Deployment.DataItemProviders.Content.PageDataItemWriter.WriteDataItem(DataItem dataItem) at Dynamicweb.Deployment.DataItemProviders.Content.PageDataItemWriter.WriteItems(IEnumerable`1 dataItems) at Dynamicweb.Deployment.LocalDeploymentProvider.ImportDataGroups(Package package, Tracker tracker, Dictionary`2 dataGroupsByParentId, String parentId) at Dynamicweb.Deployment.LocalDeploymentProvider.ImportPackage(String id, Package package, Tracker tracker) at Dynamicweb.Deployment.DeploymentProvider.<>c__DisplayClass18_0.<DeployDataItemsFrom>b__0(Tracker tracker)  
2018-11-14 12:57:44.509 StackTrace: at Dynamicweb.Deployment.DataItemProviders.Content.PageDataItemWriter.GetOrCreatePage(Guid uniqueId, Guid areaUniqueId, Guid parentPageUniqueId) at Dynamicweb.Deployment.DataItemProviders.Content.PageDataItemWriter.WriteDataItem(DataItem dataItem) at Dynamicweb.Deployment.DataItemProviders.Content.PageDataItemWriter.WriteItems(IEnumerable`1 dataItems) at Dynamicweb.Deployment.LocalDeploymentProvider.ImportDataGroups(Package package, Tracker tracker, Dictionary`2 dataGroupsByParentId, String parentId) at Dynamicweb.Deployment.LocalDeploymentProvider.ImportPackage(String id, Package package, Tracker tracker) at Dynamicweb.Deployment.DeploymentProvider.<>c__DisplayClass18_0.<DeployDataItemsFrom>b__0(Tracker tracker)  
2018-11-14 12:57:44.509 Error: Area not found: 11001a95-b37d-4fc9-957f-b16d116f7451
 
When deploying areas alone, it succeeds, but when deploying pages afterwards, it fails with this error.
 
2018-11-14 12:58:38.825 Failed (6 / 6).  
2018-11-14 12:58:38.794 Unable to import  
2018-11-14 12:58:38.794 Unable to import. System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Dynamicweb.Deployment.DataItemProviders.Content.PageDataItemWriter.SetProperties(Page page, DataItem dataItem, LinkReplacer replacer) at Dynamicweb.Deployment.DataItemProviders.Content.PageDataItemWriter.WriteDataItem(DataItem dataItem) at Dynamicweb.Deployment.DataItemProviders.Content.PageDataItemWriter.WriteItems(IEnumerable`1 dataItems) at Dynamicweb.Deployment.LocalDeploymentProvider.ImportDataGroups(Package package, Tracker tracker, Dictionary`2 dataGroupsByParentId, String parentId) at Dynamicweb.Deployment.LocalDeploymentProvider.ImportPackage(String id, Package package, Tracker tracker) at Dynamicweb.Deployment.DeploymentProvider.<>c__DisplayClass18_0.<DeployDataItemsFrom>b__0(Tracker tracker)  
2018-11-14 12:58:38.794 StackTrace: at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Dynamicweb.Deployment.DataItemProviders.Content.PageDataItemWriter.SetProperties(Page page, DataItem dataItem, LinkReplacer replacer) at Dynamicweb.Deployment.DataItemProviders.Content.PageDataItemWriter.WriteDataItem(DataItem dataItem) at Dynamicweb.Deployment.DataItemProviders.Content.PageDataItemWriter.WriteItems(IEnumerable`1 dataItems) at Dynamicweb.Deployment.LocalDeploymentProvider.ImportDataGroups(Package package, Tracker tracker, Dictionary`2 dataGroupsByParentId, String parentId) at Dynamicweb.Deployment.LocalDeploymentProvider.ImportPackage(String id, Package package, Tracker tracker) at Dynamicweb.Deployment.DeploymentProvider.<>c__DisplayClass18_0.<DeployDataItemsFrom>b__0(Tracker tracker)  
2018-11-14 12:58:38.794 Error: The given key was not present in the dictionary.

 

Note that the AreaID is not the same across the environments, but the AreaUniqueId is.

There was a fix in 9.5.X that solved an earlier issue, but now we run into this. Any idea why?

 

Bonus: We use a standard 9.5.5

 

Kind regards

Mikkel Ulstrup

 


Replies

 
Nicolai Pedersen
Reply

Hi Mikkel

Are you trying to deploy to a solution that did not have Rapido already - not a copy of the site your are deploying from? Just to understand how you do this.

BR Nicolai

 
Mikkel Ulstrup
Reply

Yes :)

 
Mikkel Ulstrup
Reply

I have tried moving the items manualy and it still fails.

 

 
Nicolai Pedersen
Reply

Hi Mikkel

It seems to be a known issue, TFS#57113, see https://doc.dynamicweb.com/downloads/releases/bug-fixes/known-bugs

BR Nicolai

 
Mikkel Ulstrup
Reply

Thank you for getting back this quickly!

We will wait for the fix in 9.5.6.

 

Kind regards

Mikkel Ulstrup

 
Mikkel Ulstrup
Reply

Hi Nicolai,

 

The TFS number is not included in the list of the "known bugs" that you linked to. Any expectations of a fix and what version?

 

Kind regards

Mikkel Ulstrup

 
Nicolai Pedersen
Reply

Hi Mikkel

That was our TFS nisse that broke the known issues list (again). List is now up and running again, and the item is to be found.

Sorry about the inconvenience and have a nice weekend, Nicolai

 

You must be logged in to post in the forum