Latest in FAQs
If you have previously uninstalled and reinstalled ASP.NET on the server, this issue may be caused by the ASP.NET Web Service Extensions permissions had been reset to “Prohibited”. Please change it to 'Allowed' instead. You can find more details at
http://support.microsoft.com/kb/315122
You can encounter a problem that
<%# ResHelper.GetString(key) %> does not work.
Please use this format:
<%= ResHelper.GetString(key) %>
-hg-
This issue may occur after upgrade to version 5.0.
There should be following code in version 5.0 in ~\CMSInlineControls\ImageControl.ascx.cs (round the line 480):
imgParams.Url = GetFileIconUrl(this.Extension, "List");
However in version 4.x it looks like this:
imgParams.Url = ImageHelper.GetFileIconUrl(this.Extension, "List");
So it's possible that this line has been overwritten during import process of 4.1 web site into 5.0 version.
This issue may happens if you specify tags into field of 'tag selector' type and if you have enabled Cache content setting in 'Settings'. This issue is caused by old tags list is cached in tag cloud. You may save blog document again or restart application in Administration -> System section. You may also consider setting Cache content to zero minutes during development phase.
It may be confusing there is standard text box specified as field type of password field in User system table. This is caused by the value specified in User system table is not actually used anywhere. There is always some particular alternative form used on live page and there is already the 'password with confirmation' form control used in alternative form. You can find source of this form control in ~\CMSFormControls\PasswordConfirmator.ascx(.cs) files.
If the payment gateway assembly is not found by Kentico CMS, your custom payment gateway form will not be loaded.
Following properties of your custom payment gateway are case sensitive, so you need to be sure that you specify them correctly (according to
Developing custom gateways) :
Payment gateway assembly name:
Payment gateway class name:
You also need to ensure that you are using correct dll files with your custom payment gateway dll file. In other words, if you have built your dll file in your development environment and you are delivering the custom payment gateway dll file to your live web site, please copy all of the other Kentico CMS dll files together.
Also please check Kentico CMS Event log (CMS Site Manager -> Administration -> Event log) for possible error messages which might lead you to the cause of this issue.
There is mistake in sample code in documentation. We are very sorry for this inconvenience. Basically you only need to change following line in example:
if (this.Type.TrimStart('.').ToLower() == "flv")
to:
if ((this.Type != null) && (this.Type.TrimStart('.').ToLower() == "flv"))
You can set the
Currency formatting string in the
CMS Desk -> Tools -> E-commerce -> Configuration -> Currencies -> <your currency>. This property uses Standard Numeric Format Strings. In this example, enter following string:
${0:F3}.
See Also:
Standard Numeric Format Strings
First of all, please check if the payment method is enabled in: CMSDesk -> Tools-> E-commerce -> Configuration -> Payment methods -> <edit> -> Enabled: checked
Then the payment method needs to be assigned to appropriate shipping options. Please check if your payment method is enabled in: CMSDesk -> Tools-> E-commerce -> Configuration -> Shipping options -> <edit> -> Payment methods tab
If you use the smart search you may use the
Eval function in transformation:
<%# Eval("Pages") %>.
If you use the SQL search you may
clone the
SearchResult web part and add the code like this:
protected override void OnPreRender(EventArgs e)
{
base.OnPreRender(e);
if (srchResults.DataSource != null)
ltlRepeaterCount.Text = srchResults.DataSource.Tables[0].Rows.Count.ToString();
}
It needs to add the literal control with
ltlRepeaterCount ID to the template.
Please check if you use '%' character in your path for representation of sub-tree. If so, please remove it and specify full alias path of document instead. This macro is no longer supported by this method as it can be used in name of document (you can still use it in SelectNodes method though).
This error message occurs if you don't have sufficient permissions for writing to disk. Please check disk permissions of process used by application.
This error can be caused by some content in the App_Data folder. Could you please try to delete content of ~\App_Data\CMSTemp directory in appropriate project folder and then try to import again?
You can use sample code bellow:
using CMS.SiteProvider;
...
// Tree node
CMS.TreeEngine.TreeNode node = null;
// Tree provider
UserInfo ui = UserInfoProvider.GetUserInfo("administrator");
CMS.TreeEngine.TreeProvider tree = new CMS.TreeEngine.TreeProvider(ui);
// Get Single node specified by it`s ID
node = tree.SelectSingleNode(nodeId);
//Get GUID of attachment
Guid existingGuid = ValidationHelper.GetGuid(node.GetValue("FileAttachment"), Guid.Empty);
if (existingGuid != Guid.Empty)
{
// Get the attachment
AttachmentInfo existingAttachment =
am.GetAttachmentInfo(existingGuid, CMSContext.CurrentSite.SiteName);
}
You can use sample code bellow:
CMS.TreeEngine.TreeNode node = treeNodeObj as CMS.TreeEngine.TreeNode;
int documentCheckedOutVersionHistoryID = node.DocumentCheckedOutVersionHistoryID;
CMS.WorkflowEngine.VersionHistoryInfo whi = CMS.WorkflowEngine.VersionHistoryInfoProvider.GetVersionHistoryInfo(documentCheckedOutVersionHistoryID);
string comment = whi.VersionComment;
You can add HTML file with following name into root of project folder: app_offline.htm
All requests will be automatically redirected to this file then (it's general .NET functionality). You can optionally add some 'site under maintenance' text/image into this file.
Could you please check unless you use SSL? You may see it when you edit content root -> Properties -> Security -> Requires SSL
If so, please configure it to “No” and check the live site. If it is all right now, you did not configure SSL properly. Please see this article for more information about SSL configuration on your server.
This problem is partially caused by PayPal. PayPal somehow remembers all of the OrderIDs, so in case you performed some test orders and you have deleted them after and tried to create a new order it might have the same OrderID that has been previously marked in PayPal as "paid".
We suggest you to go to the Kentico CMS database -> COM_Order table and check your 'OrderID' column, eventually to increase next OrderID to some value you are sure has never been used before.
Or, it seems that the email you should use in Kentico for the Paypal integration is a seller account you have to create under Paypal and NOT the email for the entire sandbox.
Sometimes it might happen that you accidentally switch on the option "
Use SSL for administration interface" within
Site Manager -> Settings -> (global) -> Security.
First option is generating
SSL certificate and configure your IIS to use it. The easiest way is using SelfSSL certificate service, you can find more info about it using
Google.
Another option is switching off this option manually in the database. Please open the database and in table
CMS_SettingsKey find this record:
CMSUseSSLForAdministrationInterface and in column
KeyValue change the value to
false. Now, you need to make some change in web.config file, e.g. add some space and save it. This will force the application to restart and after this everything should be like before.
When you create document based on your custom document type in the CMSdesk -> Content (or other type than Page (menu) item), it inherits the page template from the parent document automatically. However you might want to choose the page template for it manually.
To achieve this aim you will need to define special "new page" step. It could be the same as for Page Menu Item document type. So please go to Site Manager -> Development -> Document types -> Edit -> General tab and define New page property like this: ~/cmsdesk/Content/newpage.aspx.