Run EPiServer Manager under Vista

by: Ruwen Jin

Manager has a lot of nice features such as install modules and upgrade site. Last time I wrote about install EPiServer manually. But I didn't give it up. Here is how you make manager works on Vista.

First of all you need enable windows feature "IIS 6 Management Compatibility" under "IIS 6 Management Tools".

image

Install the manager by download it from www.episerver.com.

After manager has been installed and when you start it you will get this error:

image

This is because normal user don't have right to read IIS settings, you need run the manager with administrator access. You need start manager by start a command prompt with "administrator" right:

and write :

cd %userprofile%\appdata\roaming\microsoft\windows\start menu\programs\episerver

and tab once. This line will appear in command prompt:

"EPiServer CMS Manager.appref-ms"

press "Enter".

Now you should enable to see all site in the manager:

image

From here you can install EPiServer by using the manager. It is good idea to install your site to other folder than the default "c:\inetpub\". Otherwise you need fix the file access rights.

After you installed your site or virtual directory Manager will bring up a browser and it will say:

image

or it says that you need migrate the site.

It is because IIS 7 does not like the configuration that manager set. You need go to IIS 7 Internet Information Service (IIS) Manager and remove your new installed site / virtual directory

if you install as a site:

And add it again with same name and point to same web directory.

If you install it as a sub application:

You need add it with a different application name. 

 

image

 

And run command to migrate web.config to new IIS web.config :

%systemroot%\system32\inetsrv\appcmd.exe migrate config "CMSBlank/episerver"

Where "CMSBlank" is instance name and "/episerver" is the application name for the virtual directory. If it is a site that you installed the virtual directory name is "/". You can find out site instance name through IIS manager. By clicking on web site level you will find your site instance name:

image

And now open the web.config file in a text editor.

Find "system.webServer" and change line under from:

<modules>

to

<modules runAllManagedModulesForAllRequests="true">

if you are install EPiServer as a sub application you need to do following as well:

Step 1:

Find "<site applicationId" in your web.config and change value to your new application name. I.e you installed as episerver and add it again as episerver2 the line you have before is:

<site applicationId="/LM/W3SVC/1/ROOT/episerver"

and you need change it to

<site applicationId="/LM/W3SVC/1/ROOT/episerver2"

Step 2:

Change siteUrl,utilUrl,uiUrl to new application name.

Now we can continue our installation by browser to our site.

If you're running Vista in other language. You need add your administrators name in your web.config. Just search for "administrators" in web.config and add your administrators name after that. And remember to save web.config in UTF-8 format.

That is all.

21 January 2008


Comments

  1. Great post!
  2. Hi, I've gone thru all the steps but when I click install the only thing I get is "Failed to register ASP.NET client scripts on this site [startIndex cannot be larger than length of string. Parameter name: startIndex]" I'm running Vista SP1.
  3. Kalle, here I found an answer which helped me to solve the same problem (see post by Per Bjurstrom): http://world.episerver.com/Forum/Pages/thread.aspx?id=17786
  4. Kalle, here I found an answer which helped me to solve the same problem (see post by Per Bjurstrom): http://world.episerver.com/Forum/Pages/thread.aspx?id=17786
  5. And Per said: For the record, we do not support Vista with EPiServer Manager - but we are working hard on the next generation installer coming later this year to support Windows 2008/Vista. This statement hopefully makes my next tip less embarrasing. Try to click on Back until you get to the first step in the wizard, then click Next again all the way to the end. Worked for me.
  6. BG: Thanks! Your method worked fine for me :-)
Post a comment    
User verification Image for user verification  
EPiTrace logger