Upgrades Questions on upgrading to version 4.x.
Version 4.x > Upgrades > 3.1a to 4.0 upgrade web part import error View modes: 
User avatar
Member
Member
boodapotamus - 3/11/2009 1:17:47 PM
   
3.1a to 4.0 upgrade web part import error
When upgrading to 4.0 from 3.1a the auto import of webparts shows an error in the Event Log. When trying to import the package manually, I recieve an error. Below are the two errors that are shown in the Event Log. This is the second upgrade I have the same issue with.


error #1


EventID: 45795

EventType: E

EventTime: 3/11/2009 2:03:58 PM

Source: Import objects

EventCode: IMPORT

UserID: 53

UserName: administrator

EventDescription: <strong>Error during import process</strong><br />Importing 'Web parts' objects<br />Importing 'Web part categories' objects<br />Importing 'E-mail templates' objects<br /><br/><br/><strong>ERROR:</strong>Error preparing objects 'Web parts' files copy list<br />Exception: Object reference not set to an instance of an object.<br />Stack trace: at CMS.PortalEngine.WebPartInfoProvider.GetFullPhysicalPath(WebPartInfo partInfo, String webFullPath)
at CMS.CMSImportExport.ImportProvider.AddImportFiles(SiteImportSettings settings, DataSet ds, String objectType, TranslationHelper th)<br /><br /><br/><br/>


error#2

EventID: 45796

EventType: E

EventTime: 3/11/2009 2:04:16 PM

Source: Import

EventCode: IMPORTOBJECTS

EventDescription: Message: Object reference not set to an instance of an object.
Stack Trace:
at CMS.CMSImportExport.ImportProvider.ImportObjectsData(SiteImportSettings settings)
at CMS.CMSImportExport.ImportManager.Import(Object parameter)



Also, when clciking on "Export event details" in the pop-up box of the event log, nothings happens. I had to type in the individual url for the event log error.

User avatar
Kentico Support
Kentico Support
kentico_zdenekc - 3/12/2009 10:51:02 AM
   
RE:3.1a to 4.0 upgrade web part import error
Hi,

this is a problem of upgrade procedure in case when IDs of some inherited webparts have been changed. I'm sorry for the inconvenience.

There is a hotfix for this issue. Please contact us at our support email address and we will send you a hotfix and instructions (//note: I'll try to email you directly now, so write if you don't receive this email).

Thank you for understanding.

Regards,
Zdenek C.

User avatar
Member
Member
alex-bswing - 1/25/2010 5:30:55 PM
   
RE:3.1a to 4.0 upgrade web part import error
I got the same error today. I downloaded
HotFix_40_15_net20.zip thinking this would resolve it but I still get the same error during object import -

ERROR:Error preparing objects 'Web parts' files copy list
Exception: Object reference not set to an instance of an object.
Stack trace: at CMS.PortalEngine.WebPartInfoProvider.GetFullPhysicalPath(WebPartInfo partInfo, String webFullPath) at CMS.CMSImportExport.ImportProvider.AddImportFiles(SiteImportSettings settings, DataSet ds, String objectType, TranslationHelper th)

Please advise,

Alex

User avatar
Kentico Support
Kentico Support
kentico_zdenekc - 1/26/2010 4:04:20 AM
   
RE:3.1a to 4.0 upgrade web part import error
Hello,

the fix for this upgrade issue is different from the regular hotfix package releases.
I've sent the instructions and related files via email.

In case anyone experiences this issue, please let us know at our support email address.

Regards,
Zdenek C.