Knowledge Base Articles

Time Out for SQL Timeouts

Yuriy Sountsov    —       —    Featured Knowledge Base Article

An import is failing after a long time, can't add a new page in a complex part of the tree, getting errors hosting on a server with low resources? Most likely, the culprit is the same every time. Check the Event log, it's the dreaded SQL timeout: Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding. The statement has been terminated. Let's find out what's going on and what you can do about it.

What's up with Custom Data?

Matthew Sandstrom    —       —    Featured Knowledge Base Article

During your time working with Kentico, you may have stumbled upon a field whose name includes “CustomData.” These fields can be found in many of the E-commerce related objects, such as ShoppingCarts, Orders, and CalculationRequests. In some cases, such fields can come in handy, storing additional E-commerce information that the objects don’t already contain. Their utility is furthered by the fact that in many cases, CustomData fields are automatically transferred to related objects.

Unit testing custom macros

Eric Dugre    —       —    Knowledge Base Article

Unit testing your code is a great way to ensure that everything’s working properly under different scenarios. Creating custom macros is a popular way to extend Kentico’s capabilities, but as this code is placed within the content of your site and only evaluated when it’s rendered, how can you test the code?

How to Fix Links Inserted via a WYSIWIG Editor in Kentico 12

Lukáš Gancarčík    —       —    Knowledge Base Article

When using a Rich text editor form control for your page type fields, it is possible to add links to other content-only pages using the Insert/Edit link option of the WYSIWYG editor. After you move your site to a different environment, these links will break unless you apply our hotfix package.