Kentico Import Undefined Error

The Import/Export feature of Kentico is one which we use at BizStream on a regular basis. It is by far the easiest way to move large amounts of data from one Kentico instance into another. In a recent project I have been working on, I was re-creating a Kentico site by exporting and importing all content, data, users etc. This site was very old and had been through at least 3 major upgrades of Kentico, so there was a large amount of data stored in this site. When running the import, I would get an error message when Kentico attempted to import version history. As the screenshot below shows, this error message was not very descriptive of the error that was occurring.

Kentico Import Undefined Error

After some digging, I discovered that problem was that I was running the import in IIS Express with a memory limit. This was a very large site, and IIS Express was running into the per-process memory limit in Windows.

There are two solutions that can be used to work around the issue.

  1. Run the site in full IIS, which as long as you are running on a 64-bit OS (and you should be at this point), it will have no problem with the larger import and can run through the entire import. This is the solution I went with, as the server that was running IIS is considerably more powerful than my development machine, and could run through the large import much more quickly than my development machine.
  2. Run IIS Express in 64-bit mode.To do this through the command line, run the following command. Once the command is run, you must restart Visual Studio and IIS Express in order for it to run the 64-bit version.
    reg add HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\WebProjects /v Use64BitIISExpress /t REG_DWORD /d 1

Written on September 15th, 2015 by Dan Walker

Want to read more?

If you’ve enjoyed what you’ve seen so far, you might like some of my other posts. Visit the archive to see all of my past writings.

Blog Archive »

About the Author

Dan Walker is a programmer from Grand Rapids, MI. He works at Gordon Food Service.

More About Dan »

Get in touch