Try our conversational search powered by Generative AI!
Jul 28, 2011
(2 votes)

Transferring an EPiServer 6 Site from an x86 Environment to x64

Here’s a quick note about a problem I faced when moving an EPiServer site between servers.

The original source server was an x86 machine, running Server 2008 and IIS7. The destination server also ran Server 2008 and IIS7 but was an x64 environment.

I set up the site, browsed it and all seemed to be fine until I tried to access the editor or admin, those threw back 404s.

It took me a bit of investigation to find the issue. It turns out that my episerver.config file was looking for EPiServer directories at C:\Program Files\EPiServer but on the new x64 environment EPiServer had been installed at C:\Program Files (x86)\EPiServer.

These broken references were causing the 404s on the editor and admin, once they were changed the site functioned as expected.

Something to watch out for!

Jul 28, 2011


Jul 28, 2011 01:29 PM

Ran into this problem last year, our workaround was slightly different, we ended up creating a "symbolic link" as follows:

mklink /d "C:\Program Files\EPiServer" "C:\Program Files (x86)\EPiServer"

The reason for taking this approach was to keep the "episerver.config" file standardised across the development team for those who were running a 64bit OS.
Obviously the best approach would be to not have the "episerver.config" file under source control, but rather a global development and production config that is managed separately.

Whats your thoughts on this approach?

Please login to comment.
Latest blogs
Developer meetups in Stockholm & Helsinki

It's time for developer meetups! Next month we will be in Stockholm and Helsinki. Join us for getting the latest updates from Optimizely, be inspir...

Magnus Kjellander | Feb 23, 2024

Roll Your Own Security Headers

Proper security headers are a must for your Optimizely driven website. There are a variety of tools out there that will help with this, but when...

Ethan Schofer | Feb 21, 2024

Migrate Catalog content properties

A colleague asked me yesterday – how do we migrate properties of catalog content. There is, unfortunately, no official way to do it. There are...

Quan Mai | Feb 20, 2024 | Syndicated blog

Adjust log levels in Optimizely DXP

You may adjust the log levels for your site in Optimizely DXP yourself, but only for the Integration environment. Follow this step-by-step guide.

Tomas Hensrud Gulla | Feb 20, 2024 | Syndicated blog