Knowledge Base Articles

Kentico 12 MVC Page Preview 404 Errors: Troubleshooting tips

Jamie Leask    —       —    Knowledge Base Article

When building your MVC site with Kentico, it’s possible you may run into page preview 404 or ” VirtualContextHashOrUserValidationFailed ” errors, with the latter message being somewhat misleading as to the cause of the error. Since there are more than a few things to check, this article will equip you with troubleshooting tools preparing you for battle with the page preview errors.

Creating Reports For Discounts

Matthew Sandstrom    —       —    Knowledge Base Article

If you’re running an E-Commerce store in Kentico, there’s a good chance you’ve used discount functionality. Seeing data about the various discounts you’ve applied can be difficult as this information is stored as XML markup in the database table for orders. In its raw form, data about discounts is stored on an order-by-order basis, and not in a very visually pleasant form. This article will go over the process of creating a report to display aggregated data about discounts.

Customizing user registration in MVC

Eric Dugre    —       —    Knowledge Base Article

By default, there are some restrictions on user names when registering in an MVC project. If you want to customize user name and password formats, a small code change is necessary.

Testing Locally With Contact Geolocation and MaxMind

Jamie Leask    —       —    Knowledge Base Article

In this short article, I will give you a quick and easy way to test your project communication with MaxMind database locally, without the need for a publically accessible instance or proxy server of some kind which would normally be needed for accurate testing of Contact location. This test was conducted on Kentico 12 instances but should work in all supported versions. This setup will show you if MaxMind is returning data right out of the gate and will also provide you with some general setup tips for MVC and portal engine sites. 

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.