World is now on Opti ID! Learn more

robert.dougan@mimtech.co.uk
Jul 28, 2011
  3757
(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
Troubleshooting Optimizely Shortcuts: Why PageShortcutLink Threw an Error and the Solution

As developers working with Optimizely, we often encounter unique challenges that push us to explore the platform's depths. Recently, I tackled a...

Amit Mittal | Jul 9, 2025

Commerce 14.41 delisted from Nuget feed

We have decided to delist version 14.41 of the Commerce packages as we have discovered a bug that prevents current carts to be saved into...

Shahrukh Ikhtear | Jul 8, 2025

How Optimizely SaaS CMS Isn’t Just Another Commodity

CMS platforms these days are becoming commoditised. The modelling of most systems lends itself to automation. Giving marketers more flexibility wit...

Chuhukon | Jul 4, 2025 |

How to Set Up CI/CD Pipeline for Optimizely Frontend Hosting Using GitHub Actions

As I promised in my previous blog post about getting started with Optimizely Frontend Hosting, today I’m delivering on that promise by sharing how ...

Szymon Uryga | Jul 2, 2025

Environment-specific badges in the Optimizely CMS

Step 1: Add Environment Info to the UI Create a custom UIDescriptor and a ComponentDefinition to inject a badge into the CMS UI. using EPiServer.Sh...

Rajveer Singh | Jul 1, 2025

Boosting by published date with Relevance

Goal: To ensure that the latest published or last updated content is ranked higher in your search results, you can modify your query to include a ...

Rajveer Singh | Jul 1, 2025