Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Regarding the Adhoc template error View modes: 
User avatar
Member
Member
sansugoi_sayounara-hotmail - 12/8/2011 2:25:06 AM
   
Regarding the Adhoc template error
Hi all,

In proporty tab of any document in template when I click on clone as ad-hoc template then it is showing following erro Can anyone guide me what could be the reason for this..


Server Error in '/' Application.
[LicenseHelper.RequestFeature]: The feature 'MVTesting' is not supported in this edition.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Exception: [LicenseHelper.RequestFeature]: The feature 'MVTesting' is not supported in this edition.

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

<%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:

[Exception: [LicenseHelper.RequestFeature]: The feature 'MVTesting' is not supported in this edition.]
CMS.LicenseProvider.LicenseHelper.RequestFeature(String url, FeatureEnum feature) +204
CMS.OnlineMarketing.MVTCombinationInfoProvider.GetMVTCombinations(String where, String orderBy) +60
CMS.OnlineMarketing.MVTCombinationInfoProvider.EnsureTestCombinationInternal(Int32 pageTemplateId) +53
CMS.OnlineMarketing.MVTVariantInfoProvider.CloneTemplateVariantsInternal(Int32 originalTemplateId, Int32 newTemplateId) +52
CMS.OnlineMarketing.OnlineMarketingModule.ProcessCommand(String commandName, Object[] parameters) +4517
CMS.SettingsProvider.ModuleEntry.ProcessModuleCommand(String moduleName, String commandName, Object[] parameters) +27
CMS.SettingsProvider.ModuleCommands.OnlineMarketingCloneTemplateMVTVariants(Int32 originalTemplateId, Int32 newTemplateId) +102
CMSModules_Content_CMSDesk_Properties_Template.btnClone_Click(Object sender, EventArgs e) +303
System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +111
System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +79
System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565


Version Information: Microsoft .NET Framework Ve

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 12/8/2011 7:45:48 AM
   
RE:Regarding the Adhoc template error
Hello,

This was regrettably a bug in the 6.0 version of Kentico. Please apply the latest hotfix. I am sorry for the inconvenience.

Best regards,
Boris Pocatko

User avatar
Member
Member
sansugoi_sayounara-hotmail - 12/8/2011 10:31:25 PM
   
RE:Regarding the Adhoc template error
Hi Boris,

Thanks for your quick reply..From where I can download this hotfix and how to install this hotfix, will it be like to install the patches.. so it will not affect my current installation

User avatar
Member
Member
sansugoi_sayounara-hotmail - 12/8/2011 10:42:06 PM
   
RE:Regarding the Adhoc template error
Hi Boris,

I am facing one more problem which I have seen today morning.. Yesterday in local site it was working fine..

Actually I have added a menu in master page, it is still there, but in live site mode the menu is not appearing... Yesterday it was working fine..

Please guide me how to solve this..

In edit mode it is displaying

User avatar
Member
Member
sansugoi_sayounara-hotmail - 12/8/2011 11:01:59 PM
   
RE:Regarding the Adhoc template error
Hi boris,

The CMS ListMenu, is showing error for which I worte you in the previous post, it is giving "Object reference not set to an instance of an object." I have to image of the error , but there is no option to attach the image.. how canI send you the image, anyway I am here by pasting the error detials: This error is showing in the pages where I am adding the CMSLIst menu


Server Error in '/' Application.
--------------------------------------------------------------------------------

Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
CMS.Controls.CMSAbstractMenuProperties.GetDefaultCacheDependendencies() +218
CMS.Controls.CMSAbstractBaseProperties.GetCacheDependency() +36
CMS.Controls.CMSAbstractMenuProperties.GetDataSource(Boolean siteMap) +573
CMS.Controls.CMSListMenu.ReloadData(Boolean forceLoad) +186
CMS.Controls.CMSListMenu.OnInit(EventArgs e) +111
System.Web.UI.Control.InitRecursive(Control namingContainer) +333
System.Web.UI.Control.InitRecursive(Control namingContainer) +210
System.Web.UI.Control.InitRecursive(Control namingContainer) +210
System.Web.UI.Control.InitRecursive(Control namingContainer) +210
System.Web.UI.Control.InitRecursive(Control namingContainer) +210
System.Web.UI.Control.InitRecursive(Control namingContainer) +210
System.Web.UI.Control.InitRecursive(Control namingContainer) +210
System.Web.UI.Control.InitRecursive(Control namingContainer) +210
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053




Thanks
Sansugoi

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 12/9/2011 2:47:02 AM
   
RE:Regarding the Adhoc template error
Hello,

You can use either the manual approach to for applying the hotfix and downloading it from this page or you can use KIM, which is installed in the same folder as Kentico in the Bin directory.

Have you made any changes to the CSS List Menu in your project recently, which could be causing these issues? Could you please try to place the CSS List Menu on a blank page to verify that the error is caused by this web part?

Best regards,
Boris Pocatko

User avatar
Member
Member
sansugoi_sayounara-hotmail - 12/9/2011 6:29:03 AM
   
RE:Regarding the Adhoc template error
Hi boris,

Thanks for your reply.. I was working my local website but due to some problem I need to recover the system in back date so kentico was uninstalled.. but now again I am installing kentico and using same data base then in the final step when we shoose the site type I click on next


Method 'Match' in type 'CMS.URLRewritingEngine.CMSRouteDocumentConstraint' from assembly 'CMS.URLRewritingEngine, Version=6.0.4297.34351, Culture=neutral, PublicKeyToken=834b12a258f213f9' does not have an implementation


I tried many times but no sucess.. How can I recover the website again, please guide me this is very very urgent.. Other wise I will lost my all data

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 12/12/2011 2:52:52 AM
   
RE:Regarding the Adhoc template error
Hello,

I've checked our API and there there should be such an method available:

CMS.URLRewritingEngine.CMSRouteDocumentConstraint.Match(HttpContextBase, Route, String, RouteValueDictionary, RouteDirection)

Could you please post the stack trace of the issue and from which file the error originated?
Are you using any custom code in this installation?

Best regards,
Boris Pocatko

User avatar
Member
Member
sansugoi_sayounara-hotmail - 12/12/2011 11:00:50 PM
   
RE:Regarding the Adhoc template error
Hi Boris,

I am using custom code... Yesterday it was working fine.. but today again the menu is not displaying... I don't know why?

Thanks again

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 12/12/2011 11:31:23 PM
   
RE:Regarding the Adhoc template error
Hello,

Are you getting the error on a web part with custom code? If yes, could you please try to roll back the code changes or to use the web part without modification to see, if that fixes the issue?
Additionally, please try to restart the application in CMSSiteManager / Administration / System.

Best regards,
Boris Pocatko

User avatar
Member
Member
sansugoi_sayounara-hotmail - 12/13/2011 10:39:23 PM
   
RE:Regarding the Adhoc template error
Hi Boris,

Sorry, I did not use custom code, by mistake I have written that I used custom code for menu.


I have few more questions:


1. In my local installation when I try upload any file in image folder or in app_themse folder or in any folder it showing the upload file link but I am not ablt to click that link, not ablt to upload file..

2. I have 3-4 sections in my website, if I want to change the theme or design of any particular section then how can we that, because in site manager if I apply different stylesheet to the website then it change the website design (color. background color etc) but I want to change the theme of particular section.


Thanks again

Sansugoi

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 12/14/2011 6:00:53 AM
   
RE:Regarding the Adhoc template error
Hello,

Please find my suggestions below:
1) Could you please try to repeat this procedure in different browsers, such as Chrome, Firefox, Internet Explorer?
2) You can use an ad-hoc template for this and change the visual inheritance of the given page. However, stylesheets are global, so if you want to use a different theme, define it directly in that stylesheet and use these additional classes in your layout. In CSS styling, if you specify an element more precisely, those classes are applied. You can use this technique on your special sections.

Best regards,
Boris Pocatko

User avatar
Member
Member
sansugoi_sayounara-hotmail - 12/14/2011 7:59:33 AM
   
RE:Regarding the Adhoc template error
hi boris,

Thanks for your reply. Yes we have checked in all the browsers.

Thanks
Sansugoi

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 12/15/2011 7:04:51 AM
   
RE:Regarding the Adhoc template error
Hello,

Could you please:

1) Upload an screenshot of the issue?
2) Run firebug to see, if there are any errors which are not displayed? Please post a screenshot of the loading of the site in firebug.
3) Could you please check if there are any entries in the Event log regarding this?

Best regards,
Boris Pocatko