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".
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:
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:
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:
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.
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:
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.