This article describes solution for following error message you may receive in Kentico CMS version 4.0:


The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested Url: /CMSModules/CustomTables/Tools/CustomTable_Data_EditItem.aspx
  Unfortunately, this seems to be a bug in the Kentico CMS version 4.0 that takes effect when there is domain name with port used. It will be fixed in version 4.1. In a meantime, please open ~\CMSModules\CustomTables\Controls\CustomTableForm.ascx.cs file and change following line in customTableForm_OnAfterSave method from:

UrlHelper.Redirect(UrlHelper.GetAbsoluteUrl(editItemPage) + "?customtableid=" + CustomTableId + "&itemid=" + customTableForm.ItemID + param);

to:

UrlHelper.Redirect(UrlHelper.GetAbsoluteUrlWithPort(editItemPage) + "?customtableid=" + CustomTableId + "&itemid=" + customTableForm.ItemID + param);

Please note that UrlHelper.GetAbsoluteUrlWithPort function is obsolete - in this case it's used only as temporary solution until version 4.1 is released.


See also:  

Applies to:  Kentico CMS 4.0
Created on 6/7/2009 3:43:39 AM in
 


Sitemap | Copyright 2008 Kentico software | Powered by Kentico