Bug reports Found a bug? Post it here please.
Version 5.x > Bug reports > HotFix Errors View modes: 
User avatar
Member
Member
ken-k-elementsdesign - 2/9/2011 6:19:42 PM
   
HotFix Errors
I just installed the most recent hotfix5.5R2.8. I am getting the following errors after rebuilding my site...

Error 102 'ASP.cmsadmincontrols_imageeditor_baseimageeditor_ascx' does not contain a definition for 'SavingFailed' and no extension method 'SavingFailed' accepting a first argument of type 'ASP.cmsadmincontrols_imageeditor_baseimageeditor_ascx' could be found (are you missing a using directive or an assembly reference?) C:\Inetpub\wwwroot\KenticoCMS\CMSAdminControls\ImageEditor\ImageEditor.ascx.cs 139 41 C:\...\KenticoCMS\

AND

Error 103 'ASP.cmsadmincontrols_imageeditor_baseimageeditor_ascx' does not contain a definition for 'SavingFailed' and no extension method 'SavingFailed' accepting a first argument of type 'ASP.cmsadmincontrols_imageeditor_baseimageeditor_ascx' could be found (are you missing a using directive or an assembly reference?) C:\Inetpub\wwwroot\KenticoCMS\CMSAdminControls\ImageEditor\ImageEditor.ascx.cs 143 34 C:\...\KenticoCMS\


Now I realized that I skipped some hotfixes, is this what is causing the error?

Thanks.


User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 2/10/2011 6:46:40 AM
   
RE:HotFix Errors
Hi,

I have tried to reproduce the behavior, but the project was updated without described issue.
Could you please try to replace folders again (some of them may not be copied successfully for the first time).

Addtionaly, for which .NET version have you downloaded the hotfix package?

As for your question - hotfixes are cumulative - the last hotfix contains all previous hotfixes.

Best regards,
Ivana Tomanickova

User avatar
Member
Member
ken-k-elementsdesign - 2/10/2011 10:15:33 AM
   
RE:HotFix Errors
I will try replacing the folders again.... actually I am replacing the aspx and cs files within the folders.

I am using 3.5 .net.

Good to know they are cumulative, thank you.

User avatar
Member
Member
kelements - 2/10/2011 5:22:20 PM
   
RE:HotFix Errors
Okay I have replaced the files again and clicked Build > Rebuild Website and I am getting the same error. The error directs me to the following C# code:

 public bool SavingFailed
{
get
{
return this.baseImageEditor.SavingFailed;
}
set
{
this.baseImageEditor.SavingFailed = value;
}
}


Please advise on how to fix this issue.

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 2/15/2011 3:24:07 AM
   
RE:HotFix Errors
Hi,


actually I am replacing the aspx and cs files within the folders.


Does it mean that you did not copy the content of bin directory? To apply the hotfix successfully .dll files have to be replaced as well.

Best regards,
Ivana Tomanickova


User avatar
Member
Member
kelements - 2/15/2011 10:15:27 AM
   
RE:HotFix Errors
Yes, I replaced the .dll files as well.

How do I fix this?

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 3/8/2011 2:41:28 AM
   
RE:HotFix Errors
Hi,

This issue was solved in the support ticket.

Here is a short summary for the forum readers:
If you apply the hotfix, please be careful to not apply hotfix for a different version of Kentico. It means that you cannot apply hotfix for 5.5R2 version of Kentico if version of your site is 5.5.

If this happens, you can install a new clean installation of Kentico version 5.5 R2, apply the latest hotfix for 5.5 R2 version and use import/export functionality to import your site in a new version.

Best regards,
Ivana Tomanickova