-
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…
-
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…
-
EPiServer PageTree with ItemDataBound event
Tinkering around with a small EPiServer tool plugin that I am building (will be found in a later post), I decided that I wanted to try out the PageTree control; I have not been using it that much, and wanted to know what it could offer me. Nice, easy to use, and lots of work…
-
Allowing web administrators to dynamically update EPiServer language files
When working with EPiServer sites, a not all that uncommon type of support case is the need to change text on a page which is not editable through the Edit mode. Quite often, this text is located in language files on the web server, and it may be rather tiresome for web editors having to…
-
Simple handling of legacy URLs to an EPiServer 4 site migrated to a later version
When a customer wants to move their site from version 4 of the EPiServer platform to a later one, the URLs will change. It is very likely that so will the ids for the migrated pages. Here is a simple method for retaining functioning bookmarks, unbroken links from other websites, keeping RSS readers happy, while…
-
Removing empty fields from EPiServer XForm e-mails
A customer asked me to see what I could do for their XForm order notification e-mails today. Apparently the department handling their incoming orders was receiving really long e-mails with loads of superfluous information; this as every field in the XForm was being submitted to them, and not just the ones containing data. This is…
-
Finding all controls of a specific type on a page
I was working with dynamically added TextBox controls in an unknown structure of recursively nested Repeaters the other day, and needed to loop through them after they were posted back to the server. Since I had no idea of where they were located, how many they were nor their IDs, I solved it in the…
-
Embedding EPiServer VPP images in HTML using base64 encoding
This is a follow up to my previous post about allowing web editors to dynamically change the content of their static error pages (this one). The solution I described would not let us insert any graphical elements requiring database access; such as images from EPiServer’s VPP folders. Here is a way to do it; sample…
-
Allowing web editors to customize static error pages in EPiServer
Some time back, I encountered the need to dynamically alter static error pages through EPiServer’s edit mode; or more specifically, edit an error page for a 500 Internal Server Error, caused by a database related failure. Since it might be tiresome for editors to change static files on a webserver, and since EPiServer tends to…