November Happy Hour will be moved to Thursday December 5th.

Error in Assets migration tool Commerce 7.5

Vote:
 

Hi 

When I point the site path, to the Commerce files, the tool crash.

But when I point to the www site, its working but I getting the error below...

Start converting asset

Creating folder Catalogs in [3]
Creating folder Root in [383_1864]
Creating folder Video in [384_1865]
Creating folder Presentations in [384_1865]
Creating folder Specifications in [384_1865]
Creating folder Software in [384_1865]
Creating folder Downloads in [384_1865]
Creating folder Bilder test in [389_1870]
Object reference not set to an instance of an object.
at EPiServer.Commerce.AssetMigrationTool.Util.AssetConverter.ConvertAsset(ContentReference parentFolder, FolderEntity folderEntity) in c:\EPi\Falcon\Head\Commerce\AssetMigrationTool\Util\AssetConverter.cs:line 63
at EPiServer.Commerce.AssetMigrationTool.Util.AssetConverter.ConvertAsset(ContentReference parentFolder, FolderEntity folderEntity) in c:\EPi\Falcon\Head\Commerce\AssetMigrationTool\Util\AssetConverter.cs:line 57
at EPiServer.Commerce.AssetMigrationTool.Util.AssetConverter.MigrateAssets() in c:\EPi\Falcon\Head\Commerce\AssetMigrationTool\Util\AssetConverter.cs:line 88
at EPiServer.Commerce.AssetMigrationTool.Util.AssetConverter.Convert() in c:\EPi\Falcon\Head\Commerce\AssetMigrationTool\Util\AssetConverter.cs:line 107
Done
Directories: 8
Files: 0
CatalogEntry: 0
CatalogNode: 0

#88017
Jun 27, 2014 15:07
Vote:
 

Hi,

It looks like you did not create the content type class as noted in document

http://world.episerver.com/Documentation/Items/Upgrading/EPiserver-Commerce/75/Migrating-assets-to-the-media-system/

Create new file like this in your project:

[ContentType(GUID = "1ACF9AB9-A992-43F1-8058-D155794EBE68")]
public class GenericFile : MediaData
{
public virtual string Description { get; set; }
}


Build your site then run the tool again should help.

Regards.
/Q

#88024
Edited, Jun 27, 2014 17:24
Vote:
 

We have created that file in the Commerce site(not the CM site), loaded the site and verified it from admin mode that it has been loaded correctly from code, but still getting the error above.

/Johannes

#88045
Edited, Jun 30, 2014 14:55
Vote:
 

Assets was missing in our local environment in the path "\Sites\SPSM.Arena.Commerce\BlobStorage\Public" which caused the error.

/J

#88088
Jul 01, 2014 15:05
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.