London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Dan Matthews
Jun 1, 2010
  4864
(1 votes)

Mixing 32-bit and 64-bit development

I came across a weird little problem with a mixed 32-bit and 64-bit Windows 7 development team. Because EPiServer installs by default into Program Files (x86) on 64-bit, the virtual paths for the CMS UI point to different physical folders in the episerver.config, compared to the 32-bit installations which don’t have the (x86) version of the Program Files folder. If you try and share the config file without realising this, either the 32-bit or 64-bit machines are going to give you a 404 resource not found when trying to access edit or admin mode.

You could not put the file into source control I suppose, but that’s a bit messy. Easiest way I found is to use the 32-bit style of Program Files folder in the episerver.config, then create a symbolic link on the 64-bit Program Files folder.

To do that on the 64-bit machines:

  1. open an administrator command prompt
  2. cd “Program Files”
  3. mklink /D EPiServer “C:\Program Files (x86)\EPiServer”

That should be sorted, and all should run perfectly with the same episerver.config!

Jun 01, 2010

Comments

Please login to comment.
Latest blogs
Understanding the Infrastructure Powering AI

The marketing world is increasingly captivated by the potential of AI agents. However, it's crucial to recognize that these agents are not simply...

Patrick Lam | May 15, 2025

Meet the Newest OMVPs – Winter 2025 Cohort

We're excited to officially welcome the latest winter cohort of Optimizely Most Valuable Professionals (OMVPs) - a group of passionate tech...

Satata Satez | May 14, 2025

Helper method to encode query string properly

When using Url.ContentUrl() in Optimizely 12, encodes spaces as + in the query string. If you want to encode the spaces as %20, use the below helpe...

sunylcumar | May 13, 2025

Get ContentReference from GUID

Optimizely CMS 12 provides a Utility function to retrieve Content Reference from a Guid by ussing the below static method. var contentReference =...

sunylcumar | May 13, 2025