November Happy Hour will be moved to Thursday December 5th.

Gzip for static content Episerver 6 R2 and IIS 7 isnt working

Vote:
 

Hello!

I have big problems activateing GZIP for static content running on: Epi 6 R2 and IIS 7.0.6

I have followed ' Fredrik Vigs' excelent tutorial (http://www.frederikvig.com/2011/10/faster-episerver-sites-client-side-performance/) about how to activate GZIP but it isnt working.

I have used Fiddler, Yslow and Chrome webtools to confirm that the mime type of css, js and images arent compressed i.e they are original mime types

I dont know what I am missing I have crawled a lot of links on google and all of them leads to the 'same' setup as is described in Fredrik's tutorial. I have also changed in C:\Windows\System32\inetsrv\config\Applicationhostc.config from:

<section name="httpCompression" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />

to:

<section name="httpCompression" overrideModeDefault="Allow" />

so I can override httpCompression settings in my web.config. 

but there seems to be no differens, I really cant figure this out and will be very greatful if anyone could point me in right direction what I'm missing and help me what to do to activate GZIP for static content. My settings in webconfig is exactly the same as in Fredriks's tutorial regarding cache, staticfilehandler etc, if you want me to post other parameters please reply so will I do that.

Thanks in advance!

#56003
Dec 29, 2011 8:39
Vote:
 

Could you post the content of your sites web.config fle?

Frederik

#56009
Dec 29, 2011 15:07
Vote:
 
Hello Frederik!

Here it is, I have removed some items in file shouldnt be of interest for caching. These are marked as:

"<!-- Item is removed for upload on episerver world forum -->"

-------------------- web.config -----------------------

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="hibernate-configuration" type="NHibernate.Cfg.ConfigurationSectionHandler, NHibernate">
</section>
<section name="microsoft.web.services3" type="Microsoft.Web.Services3.Configuration.WebServicesConfiguration, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
</section>
<section name="workflowRuntime" type="System.Workflow.Runtime.Configuration.WorkflowRuntimeSection, System.Workflow.Runtime, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
</section>
<section name="wftools.services.common.ado" type="WFTools.Services.Common.Ado.Configuration.CommonAdoProviderSettings,EPiServer.WFTools.Services">
</section>
<section name="wftools.services.persistence.ado" type="WFTools.Services.Persistence.Ado.Configuration.PersistenceAdoProviderSettings,EPiServer.WFTools.Services">
</section>
<section name="wftools.services.tracking.ado" type="WFTools.Services.Tracking.Ado.Configuration.TrackingAdoProviderSettings,EPiServer.WFTools.Services">
</section>
<section name="episerver" type="EPiServer.Configuration.EPiServerSection, EPiServer.Configuration, Version=6.1.379.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7" restartOnExternalChanges="true">
</section>
<section name="staticFile" type="EPiServer.Configuration.StaticFileSection, EPiServer.Configuration" allowLocation="true">
</section>
<section name="episerver.baseLibrary" allowDefinition="MachineToApplication" allowLocation="false" type="EPiServer.BaseLibrary.ConfigurationHandler,EPiServer.BaseLibrary">
</section>
<section name="episerver.basicAuthentication" type="EPiServer.Configuration.BasicAuthenticationSection, EPiServer.Configuration" allowLocation="true">
</section>
<sectionGroup name="episerverModules">
</sectionGroup>
<section name="episerver.shell" type="EPiServer.Shell.Configuration.EPiServerShellSection, EPiServer.Shell">
</section>
<section name="episerver.dataStore" type="EPiServer.Data.Configuration.EPiServerDataStoreSection, EPiServer.Data">
</section>
<section name="episerver.framework" type="EPiServer.Framework.Configuration.EPiServerFrameworkSection, EPiServer.Framework" restartOnExternalChanges="true">
</section>
<section name="episerver.search" type="EPiServer.Search.Configuration.SearchSection, EPiServer.ApplicationModules">
</section>
<sectionGroup name="se.meridium.epiServer.extensions">
<section name="imageVault" type="ImageStoreNET.Classes.Data.ImageVaultConfigurationSection, ImageStoreNET" allowLocation="true" allowDefinition="Everywhere">
</section>
</sectionGroup>
</configSections>
<configProtectedData>
<providers>
<!-- Item is removed for upload on episerver world forum -->
</providers>
</configProtectedData>
<episerver configSource="episerver.config">
</episerver>
<staticFile expirationTime="12:0:0">
</staticFile>
<episerver.baseLibrary>
<classFactories>
<add type="EPiServer.Implementation.DefaultBaseLibraryFactory, EPiServer.Implementation" id="ContentChannelFactory">
<register type="EPiServer.ContentChannels.ContentChannelAdministration, EPiServer" mappedType="EPiServer.ContentChannels.ObjectStoreContentChannelAdministration, EPiServer">
</register>
<register type="EPiServer.BaseLibrary.IContentChannelHandler, EPiServer" mappedType="EPiServer.ContentChannels.ContentChannelHandler, EPiServer">
</register>
</add>
<add type="EPiServer.Core.PropertyControlClassFactory, EPiServer" id="PropertyControlFactory">
<!-- Uncomment the following two lines to get legacy editor in edit mode for PropertyXhtmlString and PropertyLongString-->
<!--<register type="EPiServer.SpecializedProperties.PropertyXhtmlString, EPiServer" mappedType="EPiServer.Web.PropertyControls.LegacyPropertyXhtmlStringControl, EPiServer" />
<register type="EPiServer.Core.PropertyLongString, EPiServer" mappedType="EPiServer.Web.PropertyControls.LegacyPropertyXhtmlStringControl, EPiServer" />-->
</add>
</classFactories>
</episerver.baseLibrary>
<workflowRuntime EnablePerformanceCounters="false">
<Services>
<add type="System.Workflow.Runtime.Hosting.DefaultWorkflowSchedulerService, System.Workflow.Runtime, Version=3.0.00000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" maxSimultaneousWorkflows="5">
</add>
<!-- Comment the following two lines when running on oracle. -->
<add type="System.Workflow.Runtime.Hosting.SharedConnectionWorkflowCommitWorkBatchService, System.Workflow.Runtime, Version=3.0.00000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
</add>
<add type="System.Workflow.Runtime.Hosting.SqlWorkflowPersistenceService, System.Workflow.Runtime, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" UnloadOnIdle="true">
</add>
<!-- Uncomment the following two lines when running on oracle. -->
<!--<add name="oracle" providerName="Oracle.DataAccess.Client" type="WFTools.Services.Persistence.Ado.AdoPersistenceService, EPiServer.WFTools.Services,Culture=neutral" UnloadOnIdle="true" connectionStringName="EPiServerDB_oracle"/>
<add type="WFTools.Services.Batching.Ado.AdoWorkBatchService, EPiServer.WFTools.Services" connectionStringName="EPiServerDB_oracle"/>-->
</Services>
</workflowRuntime>
<runtime>
<assemblyBinding>
<dependentAssembly>
</dependentAssembly>
</assemblyBinding>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin\Leadtools">
</probing>
<dependentAssembly>
<assemblyIdentity name="EPiServer.ApplicationModules" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="1.0.0.0-6.2.267.1" newVersion="6.2.267.1">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer.Data.Cache" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="1.0.0.0-6.2.267.1" newVersion="6.2.267.1">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer.Data" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="1.0.0.0-6.2.267.1" newVersion="6.2.267.1">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer.Events" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="1.0.0.0-6.2.267.1" newVersion="6.2.267.1">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer.Framework" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="1.0.0.0-6.2.267.1" newVersion="6.2.267.1">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer.Licensing" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="1.0.0.0-6.2.267.1" newVersion="6.2.267.1">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer.Shell" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="1.0.0.0-6.2.267.1" newVersion="6.2.267.1">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer.Shell.UI" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="1.0.0.0-6.2.267.1" newVersion="6.2.267.1">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.ComponentModel.Composition" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="1.0.0.0-2009.22.10.0" newVersion="2009.22.10.0">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="ElektroPost.Licensing" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer.BaseLibrary" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer.Cms.Shell.UI" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer.Configuration" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer.Enterprise" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer.ImageLibrary" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer.Implementation" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer.Legacy4" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer.LinkAnalyzer" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer.Log.Analyzers" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer.Log.Core" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer.Lucene" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer.Scheduler" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer.Scheduler.WKTL" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="5.1.422.4">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer.UI" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer.Web.WebControls" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer.WebDav" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer.WebParts" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer.WorkflowFoundation" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer.XForms" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EPiServer.XmlRpc" publicKeyToken="8fe83dea738b45b7" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="5.2.375.0-6.65535.65535.65535" newVersion="6.1.379.0">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="log4net" publicKeyToken="1b44e1d426115821" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="1.0.0.0-1.65535.65535.65535" newVersion="1.2.10.0">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Web.Services3" publicKeyToken="31bf3856ad364e35" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.0.0.0">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.DataVisualization" publicKeyToken="31bf3856ad364e35" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.5.0.0">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Castle.Core" publicKeyToken="407dd0808d44fbdc" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="1.1.0.0" newVersion="2.5.1.0">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="PageTypeBuilder" publicKeyToken="6fb8762af0e6dbed" culture="neutral">
</assemblyIdentity>
<bindingRedirect oldVersion="1.3.1.0" newVersion="1.9.2.0">
</bindingRedirect>
</dependentAssembly>
<!--dependentAssembly>
<assemblyIdentity name="Interop.ImageEffects" _uniqueElementInParent="" _elementAction="removeParent"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="ImageVault.Core" _uniqueElementInParent="" _elementAction="removeParent"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="ImageVault.EPiServer5" _uniqueElementInParent="" _elementAction="removeParent"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="MeridiumEPiServerLinkEditor" _uniqueElementInParent="" _elementAction="removeParent"/>
</dependentAssembly-->
<dependentAssembly>
<assemblyIdentity name="ImageVaultLinkEditorPlugin" culture="neutral" _uniqueElementInParent="">
</assemblyIdentity>
<bindingRedirect oldVersion="0.0.0.0-3.5.4.0" newVersion="3.5.4.0" _valueAttributes="oldVersion,newVersion">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="ImageStoreNET" culture="neutral" _uniqueElementInParent="">
</assemblyIdentity>
<bindingRedirect oldVersion="0.0.0.0-3.5.4.0" newVersion="3.5.4.0" _valueAttributes="oldVersion,newVersion">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="ImageVaultOfficeData" culture="neutral" _uniqueElementInParent="">
</assemblyIdentity>
<bindingRedirect oldVersion="0.0.0.0-3.5.4.0" newVersion="3.5.4.0" _valueAttributes="oldVersion,newVersion">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="ImageVault.Episerver6" culture="neutral" _uniqueElementInParent="">
</assemblyIdentity>
<bindingRedirect oldVersion="0.0.0.0-3.5.4.0" newVersion="3.5.4.0" _valueAttributes="oldVersion,newVersion">
</bindingRedirect>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="ImageConverterService" culture="neutral" _uniqueElementInParent="">
</assemblyIdentity>
<bindingRedirect oldVersion="0.0.0.0-3.5.4.0" newVersion="3.5.4.0" _valueAttributes="oldVersion,newVersion">
</bindingRedirect>
</dependentAssembly>
</assemblyBinding>
</runtime>
<!-- Connection string info is stored in a separate file -->
<connectionStrings configSource="connectionStrings.config">
</connectionStrings>
<!-- SMTP Settings for ASP.NET 2.0 Mail classes. -->
<system.net>
<mailSettings>
<!-- <smtp deliveryMethod="PickupDirectoryFromIis" />-->
<!--<smtp from="localhost" deliveryMethod="Network" />-->
<!-- Common usage is to use other network existing mail server other than
IIS Virtual SMTP Server.
In such cases use the commented settings below with your server
location and authentication credentials.
-->
<smtp deliveryMethod="Network">
<!-- Item is removed for upload on episerver world forum -->
</network>
</smtp>
</mailSettings>
</system.net>
<system.web>
<machinekey>
<!-- Item is removed for upload on episerver world forum -->
</machineKey>
<roleManager enabled="true" defaultProvider="MultiplexingRoleProvider" cacheRolesInCookie="true">
<providers>

<!-- Items is removed for uppload on episerver world forum -->

</providers>
</roleManager>
<membership defaultProvider="MultiplexingMembershipProvider" userIsOnlineTimeWindow="10">
<providers>

<!-- Item is removed for upload on episerver world forum -->

</providers>
</membership>
<profile enabled="true" defaultProvider="SqlProfile" automaticSaveEnabled="true">
<properties>
<add name="Address" type="System.String">
</add>
<add name="ZipCode" type="System.String">
</add>
<add name="Locality" type="System.String">
</add>
<add name="Email" type="System.String">
</add>
<add name="FirstName" type="System.String">
</add>
<add name="LastName" type="System.String">
</add>
<add name="Language" type="System.String">
</add>
<add name="Country" type="System.String">
</add>
<add name="Company" type="System.String">
</add>
<add name="Title" type="System.String">
</add>
<add name="SubscriptionInfo" type="EPiServer.Personalization.SubscriptionInfo, EPiServer">
</add>
<add name="CustomExplorerTreePanel" type="System.String">
</add>
<add name="FileManagerFavourites" type="System.Collections.Generic.List`1[System.String]">
</add>
<add name="EditTreeSettings" type="EPiServer.Personalization.GuiSettings, EPiServer">
</add>
<add name="ClientToolsActivationKey" type="System.String">
</add>
<add name="FrameworkName" type="System.String">
</add>
</properties>
<providers>

<clear />
<add name="SqlProfile" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="EPiServerDB" applicationName="EPiServerSample">
</add>
</providers>
</profile>
<!-- DYNAMIC DEBUG COMPILATION
Set compilation debug="true" to enable ASPX debugging. Otherwise, setting this value to
false will improve runtime performance of this application.
Set compilation debug="true" to insert debugging symbols (.pdb information)
into the compiled page. Because this creates a larger file that executes
more slowly, you should set this value to true only when debugging and to
false at all other times. For more information, refer to the documentation about
debugging ASP .NET files.
-->
<compilation defaultLanguage="c#" debug="true">
<assemblies>
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089">
</add>
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
</add>
<add assembly="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
</add>
<add assembly="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
</add>
<add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
</add>
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089">
</add>
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089">
</add>
<add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089">
</add>
</assemblies>
</compilation>
<!-- CUSTOM ERROR MESSAGES
Set customError mode values to control the display of user-friendly
error messages to users instead of error details (including a stack trace):

"On" Always display custom (friendly) messages
"Off" Always display detailed ASP.NET error information.
"RemoteOnly" Display custom (friendly) messages only to users not running
on the local Web server. This setting is recommended for security purposes, so
that you do not display application detail information to remote clients.
-->
<customErrors mode="Off">
</customErrors>
<!-- AUTHENTICATION

!!!! IMPORTANT SECURITY NOTE !!!!!

If you enable forms authentication by uncommenting the Forms authentication information below AND
you are using Windows 2000 (any version) as web server, you must enable the "Act as part of the
operating system" user right for the ASPNET user account. If this is not done, you will not be able
to logon with windows accounts, only Extranet accounts. However this may be regarded as compromising
the security on your system since the ASPNET account should be a low-privilege account.

This section sets the authentication policies of the application. Possible modes are "Windows", "Forms",
"Passport" and "None". However only "Windows" and "Forms" are supported by EPiServer.
-->
<!-- authentication mode="Windows" / -->
<authentication mode="Forms">
<forms name=".EPiServerLogin" loginUrl="Util/login.aspx" timeout="120">
</forms>
</authentication>
<!-- APPLICATION-LEVEL TRACE LOGGING
Application-level tracing enables trace log output for every page within an application.
Set trace enabled="true" to enable application trace logging. If pageOutput="true", the
trace information will be displayed at the bottom of each page. Otherwise, you can view the
application trace log by browsing the "trace.axd" page from your web application
root.
-->
<trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true">
</trace>
<!-- SESSION STATE SETTINGS
By default ASP .NET uses cookies to identify which requests belong to a particular session.
If cookies are not available, a session can be tracked by adding a session identifier to the URL.
To disable cookies, set sessionState cookieless="true".
-->
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;user id=sa;password=" cookieless="false" timeout="20">
</sessionState>
<!-- GLOBALIZATION
This section sets the globalization settings of the application.
-->
<globalization culture="sv-SE" uiCulture="sv" requestEncoding="utf-8" responseEncoding="utf-8" resourceProviderFactoryType="EPiServer.Resources.XmlResourceProviderFactory, EPiServer">
</globalization>
<pages validateRequest="false" enableEventValidation="true" pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<controls>
<add tagPrefix="EPiServer" namespace="EPiServer.WebControls" assembly="EPiServer">
</add>
<add tagPrefix="EPiServer" namespace="EPiServer.Web.WebControls" assembly="EPiServer">
</add>
<add tagPrefix="EPiServer" namespace="EPiServer.Web.WebControls" assembly="EPiServer.Web.WebControls">
</add>
<add tagPrefix="XForms" namespace="EPiServer.XForms.WebControls" assembly="EPiServer.XForms">
</add>
<add tagPrefix="WebParts" namespace="EPiServer.WebParts.WebControls" assembly="EPiServer">
</add>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
</add>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
</add>

</controls>
<namespaces>
<add namespace="System.Web.Mvc">
</add>
<add namespace="System.Web.Mvc.Ajax">
</add>
<add namespace="System.Web.Mvc.Html">
</add>
<add namespace="System.Web.Routing">
</add>
<add namespace="System.Linq">
</add>
<add namespace="System.Collections.Generic">
</add>

</namespaces>
</pages>
<caching>
<outputCacheSettings>
<outputCacheProfiles>
<add name="ClientResourceCache" enabled="true" duration="3600" varyByParam="*" varyByContentEncoding="gzip;deflate">
</add>
</outputCacheProfiles>
</outputCacheSettings>
</caching>
<httpModules>
<add name="InitializationModule" type="EPiServer.Framework.Initialization.InitializationModule, EPiServer.Framework">
</add>
<add name="FirstBeginRequestModule" type="EPiServer.Web.InitializationModule, EPiServer">
</add>
<add name="Initializer" type="EPiServer.Scheduler.Initializer, EPiServer.Scheduler">
</add>
<add name="WorkflowRuntime" type="EPiServer.WorkflowFoundation.WorkflowSystem, EPiServer.WorkflowFoundation">
</add>
<add name="UrlRewriteModule" type="EPiServer.Web.UrlRewriteModule, EPiServer">
</add>
<add name="ShellRoutingModule" type="EPiServer.Shell.Web.Routing.ShellRoutingModule, EPiServer.Shell">
</add>
<add name="IIS5XWildCardExtensionFix" type="ImageStoreNET.Classes.IIS5XWildCardExtensionFix, ImageStoreNET">
</add>
</httpModules>
<httpHandlers>
<remove verb="*" path="*.asmx">
</remove>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
</add>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
</add>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false">
</add>
<add verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
</add>
<add path="ImageVaultFiles/*" verb="*" type="ImageStoreNET.Classes.Handlers.ImageVaultFileHandler, ImageStoreNET">
</add>
<add path="ImageVaultHandler.aspx" verb="*" type="ImageStoreNET.Classes.Handlers.ImageHandler, ImageStoreNET">
</add>
<add path="UploadHandler.ashx" verb="*" type="ImageStoreNET.Classes.Handlers.UploadHandler, ImageStoreNET">
</add>
<add path="Embed.aspx" verb="*" type="Meridium.Web.EmbeddedHandler, Meridium.Web, Version=3.1.7.0, Culture=neutral, PublicKeyToken=01f4840270d48493">
</add>
<add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
</add>
<add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
</add>
<add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
</add>
</httpHandlers>
</system.web>
<system.serviceModel>
<client>
</client>
<bindings>
<netTcpBinding>
<binding name="RemoteEventsBinding">
<security mode="None">
</security>
</binding>
</netTcpBinding>
</bindings>
<services>
<!-- In order to get fault information from the server for debug purposes, add behaviorConfiguration="DebugServiceBehaviour" to the endpoint "RemoteEventServiceEndPoint" -->
<service name="EPiServer.Events.Remote.EventReplication">
<endpoint name="RemoteEventServiceEndPoint" contract="EPiServer.Events.ServiceModel.IEventReplication" binding="netTcpBinding" bindingConfiguration="RemoteEventsBinding" address="net.tcp://localhost:48000/RemoteEventService">
</endpoint>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="DebugServiceBehaviour">
<serviceDebug includeExceptionDetailInFaults="true">
</serviceDebug>
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
<system.webServer>

<!-- just want compression of static items -->
<urlCompression doStaticCompression="true" />

<httpCompression directory="%SystemDrive%\websites\_compressed" minFileSizeForComp="1024">
<scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" />
<staticTypes>
<add mimeType="text/*" enabled="true" />
<add mimeType="message/*" enabled="true" />
<add mimeType="application/javascript" enabled="true" />
<add mimeType="application/x-javascript" enabled="true" />
<add mimeType="*/*" enabled="false" />
</staticTypes>

</httpCompression>

<modules runAllManagedModulesForAllRequests="true">
<add name="InitializationModule" type="EPiServer.Framework.Initialization.InitializationModule, EPiServer.Framework" preCondition="managedHandler">
</add>
<add name="FirstBeginRequestModule" type="EPiServer.Web.InitializationModule, EPiServer" preCondition="managedHandler">
</add>
<add name="Initializer" type="EPiServer.Scheduler.Initializer, EPiServer.Scheduler" preCondition="managedHandler">
</add>
<add name="WorkflowRuntime" type="EPiServer.WorkflowFoundation.WorkflowSystem, EPiServer.WorkflowFoundation" preCondition="managedHandler">
</add>
<add name="UrlRewriteModule" type="EPiServer.Web.UrlRewriteModule, EPiServer" preCondition="managedHandler">
</add>
<add name="ShellRoutingModule" type="EPiServer.Shell.Web.Routing.ShellRoutingModule, EPiServer.Shell">
</add>
<add name="IIS5XWildCardExtensionFix" type="ImageStoreNET.Classes.IIS5XWildCardExtensionFix, ImageStoreNET">
</add>
</modules>
<handlers>
<add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
</add>
<add name="ImageVaultFile" path="ImageVaultFiles/*" verb="*" type="ImageStoreNET.Classes.Handlers.ImageVaultFileHandler, ImageStoreNET">
</add>
<add name="ImageVaultHandler.aspx_*" path="ImageVaultHandler.aspx" verb="*" type="ImageStoreNET.Classes.Handlers.ImageHandler, ImageStoreNET">
</add>
<add name="UploadHandler.ashx_*" path="UploadHandler.ashx" verb="*" type="ImageStoreNET.Classes.Handlers.UploadHandler, ImageStoreNET">
</add>
<add name="Embed.aspx_*" path="Embed.aspx" verb="*" type="Meridium.Web.EmbeddedHandler, Meridium.Web, Version=3.1.7.0, Culture=neutral, PublicKeyToken=01f4840270d48493">
</add>
<add name="ScriptResource.axd_GET,HEAD" path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
</add>
<add name="*_AppService.axd_*" path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
</add>
<add name="*.asmx_*" path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
</add>
</handlers>
<staticContent>
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="365.00:00:00">
</clientCache>
</staticContent>
<!-- Remove section use default (?)
<caching>
<profiles>
<add extension=".gif" policy="DontCache" kernelCachePolicy="CacheUntilChange" duration="0.00:01:00" location="Any">
</add>
<add extension=".png" policy="DontCache" kernelCachePolicy="CacheUntilChange" duration="0.00:01:00" location="Any">
</add>
<add extension=".js" policy="DontCache" kernelCachePolicy="CacheUntilChange" duration="0.00:01:00" location="Any">
</add>
<add extension=".css" policy="DontCache" kernelCachePolicy="CacheUntilChange" duration="0.00:01:00" location="Any">
</add>
<add extension=".jpg" policy="DontCache" kernelCachePolicy="CacheUntilChange" duration="0.00:01:00" location="Any">
</add>
<add extension=".jpeg" policy="DontCache" kernelCachePolicy="CacheUntilChange" duration="0.00:01:00" location="Any">
</add>
</profiles>
</caching>
-->
<validation validateIntegratedModeConfiguration="false">
</validation>
<httpErrors>

<clear />
<error statusCode="404" responseMode="ExecuteURL" path="/404.aspx">
</error>
</httpErrors>
</system.webServer>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
<providerOption name="CompilerVersion" value="v3.5">
</providerOption>
<providerOption name="WarnAsError" value="false">
</providerOption>
</compiler>
</compilers>
</system.codedom>
<microsoft.web.services3>
<messaging>
<transports>
<add scheme="soap.tcp">
<defaultPort value="8082">
</defaultPort>
</add>
</transports>
</messaging>
</microsoft.web.services3>
<location path="ImageStoreNET/WS/ExternDataService.asmx">
<system.web>
<authorization>
<deny users="?">
</deny>
</authorization>
</system.web>
</location>
<location path="ImageStoreNET/WS/Ajax">
<system.webServer>
<httpErrors errorMode="Detailed" existingResponse="PassThrough">
</httpErrors>
</system.webServer>
<system.web>
<customErrors mode="Off">
</customErrors>
<authorization>
<allow users="?">
</allow>
</authorization>
</system.web>
</location>
<location path="ImageStoreNET/WS">
<system.web>
<authorization>
<allow users="?">
</allow>
</authorization>
</system.web>
</location>
<location path="ImageStoreNET">
<system.web>
<pages theme="">
</pages>
<authorization>
<deny users="?">
</deny>
</authorization>
</system.web>
</location>
<location path="PageFiles">
<system.webServer>
<handlers>
<add name="webresources" path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader">
</add>
<add name="wildcard" path="*" verb="*" type="EPiServer.Web.StaticFileHandler, EPiServer">
</add>
</handlers>
</system.webServer>
<staticFile expirationTime="365.0:0:0">
</staticFile>
</location>
<location path="Documents">
<system.webServer>
<handlers>
<add name="webresources" path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader">
</add>
<add name="wildcard" path="*" verb="*" type="EPiServer.Web.StaticFileHandler, EPiServer">
</add>
</handlers>
</system.webServer>
<staticFile expirationTime="365.0:0:0">
</staticFile>
</location>
<location path="Global">
<system.webServer>
<handlers>
<add name="webresources" path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader">
</add>
<add name="wildcard" path="*" verb="*" type="EPiServer.Web.StaticFileHandler, EPiServer">
</add>
</handlers>
</system.webServer>
<staticFile expirationTime="365.0:0:0">
</staticFile>
</location>
<location path="secure/UI">
<system.web>
<httpRuntime maxRequestLength="1000000">
</httpRuntime>
<pages enableEventValidation="true">
<controls>
<add tagPrefix="EPiServerUI" namespace="EPiServer.UI.WebControls" assembly="EPiServer.UI">
</add>
<add tagPrefix="EPiServerScript" namespace="EPiServer.ClientScript.WebControls" assembly="EPiServer">
</add>
<add tagPrefix="EPiServerScript" namespace="EPiServer.UI.ClientScript.WebControls" assembly="EPiServer.UI">
</add>
</controls>
</pages>
<globalization requestEncoding="utf-8" responseEncoding="utf-8">
</globalization>
<authorization>
<allow roles="WebEditors, WebAdmins, Administrators, EPiServer_Admins, EPiServer_Editors">
</allow>
<deny users="*">
</deny>
</authorization>
</system.web>
<system.webServer>
<handlers>

<clear />
<add name="webresources" path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader">
</add>
<add name="PageHandlerFactory-Integrated" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode" responseBufferLimit="4194304">
</add>
<add name="SimpleHandlerFactory-Integrated" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.SimpleHandlerFactory" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode" responseBufferLimit="4194304">
</add>
<add name="WebServiceHandlerFactory-Integrated" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode" responseBufferLimit="4194304">
</add>
<add name="wildcard" path="*" verb="*" type="EPiServer.Web.StaticFileHandler, EPiServer">
</add>
</handlers>
</system.webServer>
</location>
<location path="secure/UI/CMS/admin">
<system.web>
<authorization>
<allow roles="WebAdmins, Administrators, EPiServer_Admins">
</allow>
<deny users="*">
</deny>
</authorization>
</system.web>
</location>
<!--
Uncomment the following section replace UI in the path attribute with your customized UI path
to enable Office integration in the application.
-->
<!--<location path="EPiServer/CMS/OfficeIntegration">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>-->
<location path="WebServices">
<!--
Configure the EPiServer.Security.BasicAuthentication module to send a basic authentication challenge
instead of a redirect to the forms login page. For this to take effect the EPiServer.Security.BasicAuthentication
module must be added to the list of http modules.
-->
<episerver.basicAuthentication sendBasicChallenge="true" basicRealm="">
</episerver.basicAuthentication>
<system.web>
<httpRuntime maxRequestLength="1000000">
</httpRuntime>
<authorization>
<allow roles="WebServices,Administrators">
</allow>
<deny users="*">
</deny>
</authorization>
</system.web>
<system.webServer>
<handlers>

<clear />
<add name="webresources" path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader">
</add>
<add name="WebServiceHandlerFactory-Integrated" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode" responseBufferLimit="4194304">
</add>
<add name="wildcard" path="*" verb="*" type="EPiServer.Web.StaticFileHandler, EPiServer">
</add>
</handlers>
</system.webServer>
</location>
<location path="util">
<system.web>
<pages enableEventValidation="true">
<controls>
<add tagPrefix="EPiServerUI" namespace="EPiServer.UI.WebControls" assembly="EPiServer.UI">
</add>
<add tagPrefix="EPiServerScript" namespace="EPiServer.ClientScript.WebControls" assembly="EPiServer">
</add>
</controls>
</pages>
<globalization requestEncoding="utf-8" responseEncoding="utf-8">
</globalization>
</system.web>
<system.webServer>
<handlers>

<clear />
<add name="webresources" path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader">
</add>
<add name="PageHandlerFactory-Integrated" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode" responseBufferLimit="4194304">
</add>
<add name="SimpleHandlerFactory-Integrated" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.SimpleHandlerFactory" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode" responseBufferLimit="4194304">
</add>
<add name="WebServiceHandlerFactory-Integrated" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode" responseBufferLimit="4194304">
</add>
<add name="wildcard" path="*" verb="*" type="EPiServer.Web.StaticFileHandler, EPiServer">
</add>
</handlers>
</system.webServer>
</location>
<location path="App_Themes/Default">
<system.webServer>
<handlers>

<clear />
<add name="wildcard" path="*" verb="*" type="EPiServer.Web.StaticFileHandler, EPiServer">
</add>
</handlers>
</system.webServer>
</location>
<!-- Uncomment the following section to run on Oracle -->
<!--<wftools.services.common.ado>

-->
<!--REQUIRED
Value Readers - these read data out of ADO.NET recordsets and commands.
Remove any that are not applicable to your environment.-->
<!--

<valueReaders>
<add providerName="Oracle.DataAccess.Client" type="WFTools.Services.Odp.OdpValueReader,EPiServer.WFTools.Services.Odp" />
</valueReaders>

-->
<!--REQUIRED
Resource Providers - these provide ADO.NET resources to workflow services.
Remove any that are not applicable to your environment.-->
<!--

<resourceProviders>
<add providerName="Oracle.DataAccess.Client" type="WFTools.Services.Odp.OdpResourceProvider,EPiServer.WFTools.Services.Odp" />
</resourceProviders>
</wftools.services.common.ado>
<wftools.services.persistence.ado>

-->
<!--REQUIRED
Name Resolvers - these resolve Persistence command names.
Remove any that are not applicable to your environment.-->
<!--

<nameResolvers>
<add providerName="Oracle.DataAccess.Client" type="WFTools.Services.Odp.Persistence.OdpPersistenceNameResolver,EPiServer.WFTools.Services.Odp" />
</nameResolvers>
</wftools.services.persistence.ado>

<wftools.services.tracking.ado>

-->
<!--REQUIRED
Name Resolvers - these resolve Tracking command names.
Remove any that are not applicable to your environment.-->
<!--

<nameResolvers>
<add providerName="Oracle.DataAccess.Client" type="WFTools.Services.Odp.Tracking.OdpTrackingNameResolver,EPiServer.WFTools.Services.Odp" />
</nameResolvers>

-->
<!--OPTIONAL
Resource Accessors - depending on your ADO.NET provider you may not require this section.
Current custom resource accessors are provided for SQL Server and ODP.NET, if you use
System.Data.OracleClient or MySql then you won't need this!-->
<!--

<resourceAccessors>
<add providerName="Oracle.DataAccess.Client" type="WFTools.Services.Odp.Tracking.OdpTrackingResourceAccessor,EPiServer.WFTools.Services.Odp" />
</resourceAccessors>
</wftools.services.tracking.ado>

-->
<!--OPTIONAL
Workflow Diagnostics - used for logging useful information for debugging purposes-->
<!--

<system.diagnostics>
<switches>
<add name="System.Workflow.Runtime" value="Off" />
<add name="System.Workflow.Runtime.Hosting" value="Off" />
<add name="System.Workflow.Runtime.Tracking" value="Off" />
<add name="System.Workflow.Activities" value="Off" />
<add name="System.Workflow.Activities.Rules" value="Off" />
<add name="System.Workflow LogToTraceListeners" value="1" />
<add name="System.Workflow LogToFile" value="0" />
</switches>
</system.diagnostics>-->
<episerver.framework configSource="EPiServerFramework.config">
</episerver.framework>
<episerver.shell>
<publicModules rootPath="~/modules/" autoDiscovery="Minimal">
</publicModules>
<protectedModules rootPath="~/secure/UI/">
<add name="Shell">
</add>
<add name="CMS">
</add>
</protectedModules>
</episerver.shell>
<episerver.dataStore>
<dataStore defaultProvider="EPiServerSQLServerDataStoreProvider">
<providers>
<add name="EPiServerSQLServerDataStoreProvider" description="SQL Server implementation of Data Store" type="EPiServer.Data.Dynamic.Providers.SqlServerDataStoreProvider, EPiServer.Data" connectionStringName="EPiServerDB">
</add>
<add name="EPiServerOracleDataStoreProvider" description="Oracle implementation of Data Store" type="EPiServer.Data.Dynamic.Providers.OracleDataStoreProvider, EPiServer.Data" connectionStringName="EPiServerDB_oracle">
</add>
</providers>
<cache defaultProvider="httpCacheProvider">
<providers>
<add name="httpCacheProvider" description="Http Cache implementation for DataStore" type="EPiServer.Data.Cache.HttpRuntimeCacheProvider,EPiServer.Data.Cache">
</add>
<add name="nullCacheProvider" description="Null Cache implementation for DataStore" type="EPiServer.Data.Cache.NullCacheProvider,EPiServer.Data">
</add>
</providers>
</cache>
</dataStore>
</episerver.dataStore>
<episerver.search active="false">
<namedIndexingServices defaultService="">
<services>
<!--<add name="{serviceName}" baseUri="{indexingServiceBaseUri}" accessKey="{accessKey}"/>-->
</services>
</namedIndexingServices>
<searchResultFilter defaultInclude="true">
<providers>
</providers>
</searchResultFilter>
</episerver.search>
<se.meridium.epiServer.extensions>
<imageVault configSource="imageVault.config">
</imageVault>
</se.meridium.epiServer.extensions>
<appSettings configSource="appSettings.config">
</appSettings>
</configuration>
----------------- // web.config ------------------------
Thanks for your help!
 

 

#56010
Dec 30, 2011 8:48
Vote:
 

Could you try using the location element for your JS and CSS folders?

<location path="Styles">
    <system.webServer>
      <handlers>
        <clear />
        <add name="wildcard" path="*" verb="*" type="EPiServer.Web.StaticFileHandler, EPiServer" />
      </handlers>
    </system.webServer>
	<staticFile expirationTime="1000.0:0:0" />
  </location>

Frederik   

#56028
Dec 30, 2011 16:54
Vote:
 

Hello Frederik

 

Sorry for late answer... its very strange it seems like there is some kind of cache regarding these settings because suddenly it started to work without changeing anything?

I have read som other threads on other forums that other people have hade simular experience with (IIS7 and GZIP)... thank you anyway for helping me :)

 

 

 

#56131
Jan 09, 2012 8:36
Vote:
 

hej ma mi and Fredrik

 

I have same ungodly issue and cant get through it what is the holding issue.

I simply get following type of issue as described at "Problem" section at http://michaelsync.net/2011/12/18/iis-6-http-compression-problem

i.e. in

IE: blank page

FF: Content Encoding Error

Fiddler: The magic number in GZip header is not correct. Make sure you are passing in a GZip stream.

My IIS version is 7.5.7600.16385

App Pool: Asp.Net 4.0 Integrated

 

Configuration in "C:\Windows\System32\inetsrv\config\applicationHost.config":

<serverRuntime frequentHitThreshold="1" />

<section name="httpCompression" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />

 

<httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files">
            <scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" />
            <dynamicTypes>
                <add mimeType="text/*" enabled="true" />
                <add mimeType="message/*" enabled="true" />
                <add mimeType="application/x-javascript" enabled="true" />
                <add mimeType="*/*" enabled="false" />
            </dynamicTypes>
            <staticTypes>
                <add mimeType="text/*" enabled="true" />
                <add mimeType="message/*" enabled="true" />
                <add mimeType="application/x-javascript" enabled="true" />
                <add mimeType="application/atom+xml" enabled="true" />
                <add mimeType="application/xaml+xml" enabled="true" />
                <add mimeType="*/*" enabled="false" />
            </staticTypes>
        </httpCompression>

 

 

Web.config is:

<urlCompression dynamicCompressionBeforeCache="true" doDynamicCompression="true" doStaticCompression="true"/>       <httpCompression directory="%SystemDrive%\websites\_compressed" minFileSizeForComp="1024">           <scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" />           <staticTypes>               <add mimeType="text/*" enabled="true" />               <add mimeType="message/*" enabled="true" />               <add mimeType="application/javascript" enabled="true" />               <add mimeType="application/x-javascript" enabled="true" />               <add mimeType="application/json" enabled="true" />               <add mimeType="*/*" enabled="false" />           </staticTypes>           <dynamicTypes>               <add mimeType="text/*" enabled="true" />               <add mimeType="message/*" enabled="true" />               <add mimeType="application/javascript" enabled="true" />               <add mimeType="application/x-javascript" enabled="true" />               <add mimeType="application/json" enabled="true" />               <add mimeType="*/*" enabled="false" />           </dynamicTypes>       </httpCompression>

      <staticContent>           <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="1.00:00:00"></clientCache>       </staticContent>

 

IT works if any of these (dynamicCompressionBeforeCache or doDynamicCompression ) I set to false in

<urlCompression dynamicCompressionBeforeCache="true"doDynamicCompression="true"doStaticCompression="true"/>

 

Any Idea why Dynamic compression fails ?

 

would appreciate your help

thanks

#63412
Nov 19, 2012 16:37
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.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.