robert.dougan@mimtech.co.uk
Jul 28, 2011
  3613
(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

Comments

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
Optimizely Forms: You cannot submit this form because an administrator has turned off data storage.

Do not let this error message scare you, the solution is quite simple!

Tomas Hensrud Gulla | Oct 4, 2024 | Syndicated blog

Add your own tools to the Optimizely CMS 12 admin menu

The menus in Optimizely CMS can be extended using a MenuProvider, and using the path parameter you decide what menu you want to add additional menu...

Tomas Hensrud Gulla | Oct 3, 2024 | Syndicated blog

Integrating Optimizely DAM with Your Website

This article is the second in a series about integrating Optimizely DAM with websites. It discusses how to install the necessary package and code t...

Andrew Markham | Sep 28, 2024 | Syndicated blog

Opticon 2024 - highlights

I went to Opticon in Stockholm and here are my brief highlights based on the demos, presentations and roadmaps  Optimizely CMS SaaS will start to...

Daniel Ovaska | Sep 27, 2024