Exceptions Archive

NullReferenceException in EPiServer EPiResourcesController causing edit mode load to fail

In one of my current projects EPiServer‘s edit mode suddenly stopped working. Only the top bar loaded, while the rest failed due to a JavaScript error (see image below). NetworkError: 500 Internal Server Error caused by GetResourcesDictionary throwing NullReferenceException To investigate, we tried surfing to the failing JavaScript resource (http://{host}/EPiServer/Shell/10.7.1.0/ClientResources/EPi/shell/ui/nls/en-us/contenttypes.js) only to discover that the 500 Internal Server Error was caused by a NullReferenceException. Stack …

EPiServer 7.5 ArgumentException: Unable to find a module by assembly ‘{assembly}, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’

I ran into an ArgumentException setting up a custom plug-in decorated with the IFrameComponent attribute today; I wanted to have it appearing in the right hand area of the EPiServer edit mode. After setting up all views, models and so on, I got the following exception when I tried accessing the site. I fixed this problem by adding my assembly to the protectedModules section of …

EPiServer’s ContentReference.StartPage is an empty reference when lacking binding

I was setting up a new port for SSL on my local development machine for added security on a client’s EPiServer 7.5 website when I stumbled across an exception that was not all at once obvious. I set up a new https binding in the IIS along with a self signed certificate; my normal unsecure site continued to respond just fine to calls on http://localhost:17002/ …

Deploying an EPiServer website in a load balanced environment using master slave licenses without downtime for visitors

When working with large EPiServer websites having hundreds of tousands of visitors each month, you will want to make sure that you get as little downtime as possible while deploying your new releases; especially if the website’s content is of a nature that downtime may cause unnecessary damage, financial or otherwise, to the visitors. As these large websites are likely to run in load balanced …

EPiServer Indexing Service unable to find index or segments exceptions

I got two exceptions today trying to use an EPiServer SearchDataSource in order to find files in the VPP directories. Not rocket science solving them, but I thought that I would make a short post anyway hoping it might make somebody’s life easier. System.IO.IOException: \\server\VPP\Global\index not a directory The first exception occured as my VPP folders did not yet contain index directories. The EPiServer Indexing …

The ‘Microsoft.ACE.OLEDB.12.0’ provider is not registered on the local machine exception

I got this exception when setting up an old website on a new 64-bit Windows Server. The system was using an old Access database for keeping statistics information, which did not seem to like the new environment. As I did not have Microsoft Office installed on the server I had to download the 2007 Office System Driver: Data Connectivity Components from the Microsoft website. After …