Deployment from iis7 to iis6

Hi I have developed an episerver site locally using iis7 and now need to deploy it on a server which uses iis6

I have two problems with the install.

The images from the VPP do not apear and when logged in a do not get the context menu which allows access to edit mode.

When logged on I get an error about Epi not being defined.

The source is referencinga javascript file, episerversriptmanager.js.

This file exists on the file system but if I put


into the browser it does not find it. Other sites on this server can find this file.

I have done the following to set the site up.

Used Visual studio to publish the files.

used deployment server to create a site on the server with the name I need.

From this I have noted the changs needed to the web.config file for iis6.

I have then copied the files from the published site over the files created by deployment wizard

I have made the necessary changes for the connection strings, and siteurl

I have copied the files from my VPP to the server.

I have checked the iis settings for the configuration of the application and it is correctly using aspnet_isapi


Any ideas what may be wrong.

Apart from the problems above the site performs as expected

#40971 Jun 25, 2010 12:30
  • Member since: 2008

    Regressing this way (from IIS7 local to IIS6 in production) is difficult as there are quite a number of differences between the web.config files, and all of the help only tells you how to upgrade your configuration from IIS6 to IIS7 - not the other way round.

    Shameless plug - but I wrote a blog post about exactly this - the basic crux is that I'd recommend starting with a default IIS6 EpiServer web.config (the blog post tells you where to find this) and updating it manually with all of your site specific settings (episerver - VPP - any httpmodules etc etc).

    It should be possible to modify an EPiServer IIS7 web.config back to IIS6 but somehow I've just never got it to work. Its always been quicker for me to start from scratch.


    Good luck :)

    #40975 Jun 25, 2010 17:21
  • Member since: 2009

    I have also given this regression a go with the "side by side config comparison" method.

    I've tried the standard config files found in the location you specify in your blog post and also default config files in an empty website created by deployment centre and also a combination of both.

    I cannot see any major differences between a working CMS 6 site and the "regressed" CMS 6 site. Web.config files and episerver.config files have only differences in settings as you mention, site specifics, VPP etc.  However I have the same problems outlined by Mark in the original post.


    • admin can not be reached by siteurl/uipath/admin - returns a 404
    • siteurl/Util/login.aspx - returns a 404
    • no images show on site
    • right click context menu is not available as "EPi is undefined" (i have checked the util/Util solution elsewhere on the forum - no luck)
    I wonder whether these symptoms are in fact another problem and the regression from IIS7 to IIS6 has actually been successful?
    #40993 Jun 28, 2010 11:59
  • Member since: 2008

    Yep these symptoms sound more like some 'other' missing configuration rather than any application specific stuff. Off the top of my head, heres some things it could be,

    1) Have you set up the wildcard script mapping in iis6? -(

    2) Is EPiServer installed on the production box - obvious but you'd be surprised.....?

    3) Are the VPP settings pointing to the correct folders to serve the EPiServer UI - something like 'C:\Program Files\EPiServer\CMS\5.2.375.236\application\UI' by default.





    #40994 Edited, Jun 28, 2010 12:21
  • Member since: 2009

    thanks for your suggestions but unfortunately the answer to all of those is yes!

    the CMS 6 site with the near identical config files is running just fine on the same server.

    #40995 Jun 28, 2010 12:33
  • I'm having exactly the same problem now and after many hours trying to fix it, changing and comparing the web.config files over and over again, I'm still stuck with the errors you guys mention above. I'd appretiate if you could post the solution to the problem, since I see the last post on the thread was written about one year ago.

    Thanks in advance

    #50935 May 17, 2011 14:50
  • Member since: 2007

    Hi Guys i am also having the same problum...

    Is there any solution to this problum???????????????

    #58286 Apr 18, 2012 7:38
  • Member since: 2009

    My suggestion would be to install a fresh empty site into your iis6 environment then publish your project specific files into that environment. I remember that the only way I got around this was to start again with a fresh site.

    This is much easier if you are using PageTypeBuilder to manage your pagetypes in code.

    #58292 Apr 18, 2012 10:35
  • Member since: 2003

    I get 404 when browsing the dashboard. Everything else works fine. The site works fine in the development environment but not in test. Both are Server 2008 R2 and both running integrated mode on IIS 7,5.

    all config files are nearly identical

    any ideas?

    I tried this: but it didnt help me.

    #60543 Aug 15, 2012 11:00
  • Member since: 2009

    Have you tried installing a fresh site in your destination environment then publishing your project specific files into it? That way you don't have to rely on manually setting up everything the EPiServer deployment centre would do for you when you create a new site.

    To be honest, unless your problem is related to IIS6 deployment I would probably start a new thread.

    #60551 Aug 15, 2012 14:17
  • Member since: 2007

    As someone has already recommende before ,the best way to address this issue is to install a sample site and then pointing the application folder path to your published site.For manual installation the issues lies in web config.To be presice you have to add in few extra http handler in the web config for IIS 6.Please check sample httpModules and httpHandlers section for IIS 6  web config.

          <add name="InitializationModule"
               type="EPiServer.Framework.Initialization.InitializationModule, EPiServer.Framework" />
          <add name="FirstBeginRequestModule"
               type="EPiServer.Web.InitializationModule, EPiServer" />
          <!--<add name="BasicAuthentication" type="EPiServer.Security.BasicAuthentication, EPiServer" />-->
          <add name="Initializer"
               type="EPiServer.Scheduler.Initializer, EPiServer.Scheduler" />
          <add name="WorkflowRuntime"
               type="EPiServer.WorkflowFoundation.WorkflowSystem, EPiServer.WorkflowFoundation" />
          <add name="UrlRewriteModule"
               type="EPiServer.Web.UrlRewriteModule, EPiServer" />
          <!--<add name="EventSubscriberHostModule" type="EPiServer.EventSubscriberHostModule, EPiServer" />-->
          <!--<add name="IIS5WebServicePostModule" type="EPiServer.Web.IIS5WebServicePostModule, EPiServer" />-->
          <add name="ScriptModule"
               type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
          <add name="ShellRoutingModule"
               type="EPiServer.Shell.Web.Routing.ShellRoutingModule, EPiServer.Shell" />
          <add path="TrackerHandler.ashx"
               type="EPiServer.Trace.CMS.Handlers.TrackerHandler" />
          <!--Static files served by EPiServer.Web.StaticFileHandler will have cache information added to Response headers
              so clients can cache files according to passed header information.-->
          <add path="*.png"
               type="EPiServer.Web.StaticFileHandler, EPiServer" />
          <add path="*.jpg"
               type="EPiServer.Web.StaticFileHandler, EPiServer" />
          <add path="*.jpeg"
               type="EPiServer.Web.StaticFileHandler, EPiServer" />
          <add path="*.css"
               type="EPiServer.Web.StaticFileHandler, EPiServer" />
          <add path="*.js"
               type="EPiServer.Web.StaticFileHandler, EPiServer" />
          <add path="*.gif"
               type="EPiServer.Web.StaticFileHandler, EPiServer" />
          <remove verb="*"
                  path="*.asmx" />
          <add verb="*"
               type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
          <add verb="*"
               type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
          <add verb="GET,HEAD"
               type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
          <add verb="*"
               type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
          <add verb="*"
               type="System.Web.HttpForbiddenHandler, System.Web, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />


    #60570 Aug 16, 2012 7:12
First   1 2   Last 
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
Please login to post a reply