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

Jquery, ajax returns 404

Vote:
 

Hello,

I'm currently working in a project that is using the ajax functionality in jquery, and I've noticed that when I try to post/read some data from a webservice, I recieve an 404 error. Since the url may look like this (/myws.asmx/mymethod).

Is it possible to may this work with episerver cms 5 R2 SP2 and relate+? If so, how?

Best regards, Daniel

#34951
Nov 23, 2009 7:56
Vote:
 

In your web.config file, under HttpHandlers, make sure that .asmx is there. Something like this:

<httpHandlers>
 <remove verb="*" path="*.asmx"/>
 <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 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 verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpHandlers> 

#34964
Nov 23, 2009 12:25
Vote:
 

Hello

I already have these handlers in my web.config

 <httpHandlers>
      <remove verb="*" path="*.asmx" />
      <add verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add verb="GET" path="VideoPostSignature.ashx" type="EPiServer.Community.VideoGallery.VideoPostSignatureHandler, EPiServer.Community.VideoGallery" />
      <add verb="GET" path="cachedimageservice.axd" type="ComponentArt.Charting.CachedImageService,ComponentArt.Charting.WebChart" />
      <!--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" verb="GET,HEAD" type="EPiServer.Web.StaticFileHandler, EPiServer" />
      <add path="*.jpg" verb="GET,HEAD" type="EPiServer.Web.StaticFileHandler, EPiServer" />
      <add path="*.jpeg" verb="GET,HEAD" type="EPiServer.Web.StaticFileHandler, EPiServer" />
      <add path="*.css" verb="GET,HEAD" type="EPiServer.Web.StaticFileHandler, EPiServer" />
      <add path="*.js" verb="GET,HEAD" type="EPiServer.Web.StaticFileHandler, EPiServer" />
      <add path="*.gif" verb="GET,HEAD" type="EPiServer.Web.StaticFileHandler, EPiServer" />
      <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 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 verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
      <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
      <add verb="*" path="Embed.aspx" type="Se.MeridiumKalmar.Web.EmbeddedHandler, ImageVault.Core" />
      <add verb="*" path="ImageVaultHandler.aspx" type="ImageStoreNET.Classes.Handlers.ImageHandler, ImageStoreNET" />
      <add verb="*" path="UploadHandler.ashx" type="ImageStoreNET.Classes.Handlers.UploadHandler, ImageStoreNET" />
    </httpHandlers>

#34985
Nov 23, 2009 14:56
Vote:
 

Some of the handlers are using version 1 of System.Web.Extensions, and others are using 3.5. Try updating .asmx, _AppService.axd, and ScriptResource.axd with this code:

<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 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 verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

#34986
Nov 23, 2009 15:03
Vote:
 

I just did as you described and removed the tags refering to .asmx, _appservice and scriptresource. And then pasted into the web.config your tags, but I still recieved an 404 from the webservice.

#34987
Nov 23, 2009 15:16
Vote:
 

Move .asmx all the way to the top, right after <remove verb="*" path="*.asmx" /> (with my code), see if that helps.

 

#34988
Nov 23, 2009 15:20
Vote:
 

Thanks for replying so quickly. But unfortunately it didn't work that way either.

My httphandler look like this now:

    <httpHandlers>
      <remove verb="*" path="*.asmx" />
      <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 verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      <add verb="GET" path="VideoPostSignature.ashx" type="EPiServer.Community.VideoGallery.VideoPostSignatureHandler, EPiServer.Community.VideoGallery" />
      <add verb="GET" path="cachedimageservice.axd" type="ComponentArt.Charting.CachedImageService,ComponentArt.Charting.WebChart" />
      <!--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" verb="GET,HEAD" type="EPiServer.Web.StaticFileHandler, EPiServer" />
      <add path="*.jpg" verb="GET,HEAD" type="EPiServer.Web.StaticFileHandler, EPiServer" />
      <add path="*.jpeg" verb="GET,HEAD" type="EPiServer.Web.StaticFileHandler, EPiServer" />
      <add path="*.css" verb="GET,HEAD" type="EPiServer.Web.StaticFileHandler, EPiServer" />
      <add path="*.js" verb="GET,HEAD" type="EPiServer.Web.StaticFileHandler, EPiServer" />
      <add path="*.gif" verb="GET,HEAD" type="EPiServer.Web.StaticFileHandler, EPiServer" />
      <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 verb="*" path="Embed.aspx" type="Se.MeridiumKalmar.Web.EmbeddedHandler, ImageVault.Core" />
      <add verb="*" path="ImageVaultHandler.aspx" type="ImageStoreNET.Classes.Handlers.ImageHandler, ImageStoreNET" />
      <add verb="*" path="UploadHandler.ashx" type="ImageStoreNET.Classes.Handlers.UploadHandler, ImageStoreNET" />
    </httpHandlers>

#34989
Nov 23, 2009 15:26
Vote:
 

This is a standard installation of Relate+? Any chance you could post your whole web.config file?

#34990
Nov 23, 2009 15:28
Vote:
 

Relate+ and imagevault

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <section name="microsoft.web.services3" type="Microsoft.Web.Services3.Configuration.WebServicesConfiguration, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    <section name="workflowRuntime" type="System.Workflow.Runtime.Configuration.WorkflowRuntimeSection, System.Workflow.Runtime, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    <section name="wftools.services.common.ado" type="WFTools.Services.Common.Ado.Configuration.CommonAdoProviderSettings,EPiServer.WFTools.Services" />
    <section name="wftools.services.persistence.ado" type="WFTools.Services.Persistence.Ado.Configuration.PersistenceAdoProviderSettings,EPiServer.WFTools.Services" />
    <section name="wftools.services.tracking.ado" type="WFTools.Services.Tracking.Ado.Configuration.TrackingAdoProviderSettings,EPiServer.WFTools.Services" />
    <section name="episerver" type="EPiServer.Configuration.EPiServerSection, EPiServer.Configuration, Version=5.2.375.236, Culture=neutral, PublicKeyToken=8fe83dea738b45b7" />
    <section name="staticFile" type="EPiServer.Configuration.StaticFileSection, EPiServer.Configuration" allowLocation="true" />
    <section name="episerver.baseLibrary" allowDefinition="MachineToApplication" allowLocation="false" type="EPiServer.BaseLibrary.ConfigurationHandler,EPiServer.BaseLibrary" />
    <section name="episerver.basicAuthentication" type="EPiServer.Configuration.BasicAuthenticationSection, EPiServer.Configuration" allowLocation="true" />
    <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
      <section name="EPiServer.Templates.RelatePlus.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
    </sectionGroup>
    <section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data" />
    <section name="episerver.common" type="EPiServer.Common.Configuration.EPiServerCommonSection, EPiServer.Common.Configuration" />
    <section name="nhibernate" type="System.Configuration.NameValueSectionHandler, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
    <section name="hibernate-configuration" type="NHibernate.Cfg.ConfigurationSectionHandler, NHibernate" />
    <section name="episerver.community" type="EPiServer.Community.Configuration.EPiServerCommunitySection, EPiServer.Community.Configuration" />
    <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
      <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
        <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
        <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
          <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
          <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
          <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
          <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
        </sectionGroup>
      </sectionGroup>
    </sectionGroup>
    <section name="episerver.mail" type="EPiServer.Mail.Configuration.EPiServerMailSection, EPiServer.Mail.Configuration" />
    <section name="episerver.mail.communitysource" type="EPiServer.Mail.Sources.EPiServerCommunity.Configuration.CommunitySourceSection, EPiServer.Mail.Sources.EPiServerCommunity" />
    <sectionGroup name="se.meridium.epiServer.extensions">
      <section name="imageVault" type="ImageStoreNET.Classes.Data.ImageVaultConfigurationSection, ImageStoreNET" allowLocation="true" allowDefinition="Everywhere" />
    </sectionGroup>
  </configSections>
  <!-- connectionStringName:              Name of the connection string (one of the named strings in <connectionStrings> section) to use for
                                          the EPiServer database. If not defined it will default to EPiServerDB -->
  <!-- enableScheduler:                   Set to false to disable EPiServer's connection with the scheduler. Default value (if the tag does
                                          not exist) is true. -->
  <!-- errorMailHandler:                  Set the relative adress to the page that should handle the posts from the handled error page. -->
  <!-- globalErrorHandling:               Set whether to use EPiServer's error handling. ( RemoteOnly, On, Off )-->
  <!-- globalErrorMail:                   E-mail address that error messages should be sent to. -->
  <!-- httpCacheExpiration:               Change this value to set the number of seconds a page should be cached, this value will be set in
                                          the http request policy. It will activate both client side caching and server caching (outputcache).
                                          Policy will only apply to anonymous users and when http request method is GET. The cache will
                                          automatically be updated when changes are made to a page in EPiServer. Recommended setting is 1 hour -->
  <!-- httpCacheability:                  Change this value to modify the cacheability of pages when using output caching. I e only used when
                                          httpCacheExpiration is set to a non-zero value. Use values from the System.Web.HttpCacheability enumeration. -->
  <!-- httpCacheVaryByCustom:             The custom values the browser should vary by -->
  <!-- httpCacheVaryByParams:             The parameters to the page(ie querystring) that the cache should vary by-->
  <!-- indexingDelayAfterPublish:         Delay time between publish and indexing. -->
  <!-- indexingTextRegExp:                The regular expression to index words in pages. -->
  <!-- indexingTextEnabled                If indexing of text into keywords should be enabled -->
  <!-- logServiceUrl:                     URL to the log service. -->
  <!-- mirroringFileWriteRetryDelay:      Time until next retry of file write. -->
  <!-- mirroringHtmlTextEncoding:         Sets which encoding should be used when mirroring to HTML. -->
  <!-- mirroringRetries:                  Number of retries when a mirroring job fails. -->
  <!-- mirroringRetryDelay:               Time until next retry. -->
  <!-- pageCacheSlidingExpiration:        Page cache interval for local database, set to 0 to disable -->
  <!-- pageUseBrowserLanguagePreferences: Used prefered languages from browser as GUI language. -->
  <!-- pageValidateTemplate:              Sets if the current template has to match the page type template (true|false). -->
  <!-- remoteCacheListenerShortNames:     A comma-separated list of remote sites that will receive cache notification when a change is made
                                          on this installation. Only enter the short name, the definition of url etc is made in admin mode
                                          under Remove sites. Useful for web farms scenarios, and other when data is shared. -->
  <!-- remotePageCacheSlidingExpiration:  Page cache interval for remote sites, set to 0 to disable -->
  <!-- remoteWebServiceCulture:           Set the System.Threading.Thread.CurrentThread.CurrentCulture if handling pages remote. -->
  <!-- sgmlParserDecodeCharEntities       Optional value indicating whether SgmlParser should decode character entities (like "&#32;" will be decoded as space). -->
  <!-- siteDisplayName:                   The name of the site. -->
  <!-- stringCompressionThreshold:        Set to the number of characters when compression should be activated. -->
  <!-- stringDelayedLoadThreshold:        The number of characters when delayed loading should be activated for large strings in properties
                                          deriving from Long String.-->
  <!-- subscriptionHandler:               Defines which class should handle mail. -->
  <!-- uiDefaultPanelTab:                 The index of the EditPanel tab that is to be shown by default when clicking a page in the editmode
                                          pagetree. -->
  <!-- uiEditorColors:                    Defines the name and value of colors that should be available for the editors. -->
  <!-- uiEditorCssPaths:                  Defines which css file(s) to use when rendering the editor. -->
  <!-- uiEditorHeight:                    Defines the height of the editor in edit mode. -->
  <!-- uiEditorValueOptions:              Setting for use of DIV tags or P tags. -->
  <!-- uiEditorWidth:                     Defines the width of the editor in edit mode. -->
  <!-- uiEditorUnformattingPersistedTags: Defines which tags that should be preserved during Remove Format operation. -->
  <!-- uiImageTransparencyReplacement:    The color that should replace the transparent color in a picture compression. -->
  <!-- uiKeepUserLoggedOn:                Sets if the current windows authenticated user must reauthenticate after session timeout. -->
  <!-- uiOptimizeTreeForSpeed:            Set to true if page tree controls should not evaluate if tree nodes have children. -->
  <!-- uiSafeHtmlTags:                    Set which tags should not be encoded, Example format is: b,i,u,br -->
  <!-- uiShowGlobalizationUserInterface:  Defines if the globalization user interface should be used. -->
  <!-- operationCompatibility:            Defines the operation compatibility which make data factory treats as old semantic. The operationCompatibility attribute can have None, Save, Delete or
                                          Full value or you can altso combine them.(e.g Save,Delete).-->
  <!-- uiTheme:                           Application visual layout theme name. -->
  <!-- urlRewriteExtension:               Defines an extension that is mapped to ASP.NET for the URL. -->
  <!-- urlRebaseKind:                     Defines the type of rebasing performed by the HTML rewriter, i e if the URL should be relative (the default), or root relative.
                                          Possible values are: ToRelative, ToAbsolute, IgnoreRootRelative and NoLeadingDotDot. The values can be combined using comma as a separator (for example "IgnoreRootRelative,ToRelative") -->
  <!-- workflowDelayedLoading:            States if workflow definitions and instance metadata should be loaded at application initialization
                                          (false) or at first request of workflow data (true). Default is false.-->
  <!-- episerver:                         By moving a section to an external file, it is possible to make changes in the external file without restarting
                                          the site. As for all sections, this is also possible for the episerver section. To move the section, create a new
                                          configuration file and copy the whole episerver section to that file. Then remove the section in this file and
                                          add this line insted: <episerver configSource="episerver.config" /> (change episerver.config to the filename).
                                          If you want to make changes in the new external file without restarting the site, add the attribute "restartOnExternalChanges"
                                          in the section header (below configSections) for the episerver definition. Set the value for the attribute to false.
  -->
  <episerver xmlns="http://EPiServer.Configuration.EPiServerSection">
    <workflowSettings workflowDelayedLoading="false">
      <workflowHost type="EPiServer.WorkflowFoundation.AspNetWorkflowManager,EPiServer.WorkflowFoundation" />
      <definitions>
        <!-- definition:           Workflow definitions that should be predefined, that is if no definition with
                                     specified type exists it will be created-->
        <!--
              <definition
                name="Sequential Approval"
                description="A sequential approval workflow for pages"
                type="EPiServer.WorkflowFoundation.Workflows.SequentialApproval,EPiServer.WorkflowFoundation"/>
              <definition
                name="Parallel Approval"
                description="A paralell approval workflow for pages"
                type="EPiServer.WorkflowFoundation.Workflows.ParallelApproval,EPiServer.WorkflowFoundation"/>
              <definition
                name="Request for feedback"
                description="Assigns request for feedback tasks to users/roles"
                type="EPiServer.WorkflowFoundation.Workflows.RequestForFeedback,EPiServer.WorkflowFoundation"/>
              <definition
                name="Ready for translation"
                description="Assigns translation tasks to users/roles"
                type="EPiServer.WorkflowFoundation.Workflows.ReadyForTranslation,EPiServer.WorkflowFoundation"/>
               -->
      </definitions>
      <externalServices>
        <!-- externalService:      Custom services that is to be registered with workflow runtime-->
        <externalService type="EPiServer.WorkflowFoundation.Workflows.ApprovalService,EPiServer.WorkflowFoundation" />
        <externalService type="EPiServer.WorkflowFoundation.Workflows.ReadyForTranslationService,EPiServer.WorkflowFoundation" />
        <externalService type="EPiServer.WorkflowFoundation.Workflows.RequestForFeedbackService,EPiServer.WorkflowFoundation" />
      </externalServices>
      <references>
        <!-- reference:            References for xoml based workflows, used at compiling of xoml based workflows-->
        <!-- reference path="C:\Inetpub\wwwroot\mysiste\bin\customdependency.dll" /-->
      </references>
    </workflowSettings>
    <sites>
      <site siteId="unknown" description="Example Site">
        <siteSettings categoryId="1" enableScheduler="true" enableEvents="true" enableRemoteEvents="false" errorMailHandler="~/util/SendErrorReport.aspx" globalErrorHandling="RemoteOnly" globalErrorMail="" httpCacheExpiration="0:0:0" httpCacheability="Public" httpCacheVaryByCustom="path" httpCacheVaryByParams="id,epslanguage" indexingDelayAfterPublish="0:0:20" indexingTextRegExp="[\p{N}\p{L}]{1}[\p{N}\p{L}-\._]*[\p{N}\p{L}]{1}" logServiceUrl="soap.tcp://localhost/TimeSpanAnalyzerView" mirroringFileWriteRetryDelay="0:0:5" mirroringHtmlTextEncoding="" mirroringRetries="5" mirroringRetryDelay="0:0:1" pageCacheSlidingExpiration="12:0:0" pageFolderVirtualPathProvider="SitePageFiles" pageOfficeStartId="0" pageRootId="1" pageStartId="3" pageUseBrowserLanguagePreferences="false" pageValidateTemplate="false" pageWastebasketId="2" remoteCacheListenerShortNames="" remotePageCacheSlidingExpiration="2:0:0" remoteWebServiceCulture="0" sgmlParserDecodeCharEntities="false" stringCompressionThreshold="0" stringDelayedLoadThreshold="0" subscriptionHandler="EPiServer.Personalization.SubscriptionMail,EPiServer" uiDefaultPanelTab="0" uiEditorColors="" uiEditorCssPaths="~/Templates/Public/Styles/Editor.css" uiEditorHeight="250" uiEditorValueOptions="0" uiEditorWidth="500" uiImageTransparencyReplacement="White" uiKeepUserLoggedOn="true" uiMaxVersions="0" uiOptimizeTreeForSpeed="false" uiSafeHtmlTags="b,i,u,br" uiShowGlobalizationUserInterface="true" uiTheme="" uiVersionMerging="true" urlRewriteExtension="" urlRebaseKind="ToRootRelative" operationCompatibility="None" siteDisplayName="RelatePlus" siteUrl="http://vpc-daro:81/" uiUrl="~/administration/" utilUrl="~/util/" />
      </site>
    </sites>
    <!--*** NOTE ***
    All virtualPath providers must have a matching <location><system.web><httpHandlers> section according to the following pattern:

    <location path="Documents">
      <system.web>
        <httpHandlers>
          <add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="true" />
          <add path="*" verb="*" type="EPiServer.Web.StaticFileHandler" validate="true" />
        </httpHandlers>
      </system.web>
    </location>
   
    The location path matches the virtualPath settings of the <add> element, i e a virtualPath="~/Documents/" translates to <location path="Documents">.
    -->
    <virtualPath customFileSummary="~/FileSummary.config">
      <providers>
        <clear />
        <add showInFileManager="false" virtualName="Page Files" virtualPath="~/PageFiles/" bypassAccessCheck="false" name="SitePageFiles" type="EPiServer.Web.Hosting.VirtualPathVersioningProvider,EPiServer" indexingServiceCatalog="Web" physicalPath="C:\EPiServer\VPP\MyRelateSite\PageFiles" />
        <!--<add showInFileManager="false" virtualName="Virtual Path Mappings" virtualPath="~/upload/"
            bypassAccessCheck="false" name="SitePathMappings" type="EPiServer.Web.Hosting.VirtualPathMappedProvider,EPiServer" />-->
        <add showInFileManager="true" virtualName="Global Files" virtualPath="~/Global/" bypassAccessCheck="false" name="SiteGlobalFiles" type="EPiServer.Web.Hosting.VirtualPathVersioningProvider,EPiServer" indexingServiceCatalog="Web" physicalPath="C:\EPiServer\VPP\MyRelateSite\Global" />
        <add showInFileManager="true" virtualName="Documents" virtualPath="~/Documents/" bypassAccessCheck="false" maxVersions="5" name="SiteDocuments" type="EPiServer.Web.Hosting.VirtualPathVersioningProvider,EPiServer" physicalPath="C:\EPiServer\VPP\MyRelateSite\Documents" />
        <!--
        <add showInFileManager="true" virtualName="Global Files" virtualPath="~/Global/"
          bypassAccessCheck="false" indexingServiceCatalog="Web" physicalPath="%EPISERVERFILESDIR%\EPiServerFiles\Globals"
          name="SiteGlobalFiles" type="EPiServer.Web.Hosting.VirtualPathNativeProvider,EPiServer"
          WriteAccess="Administrators" DeleteAccess="Administrators" />
        -->
        <add name="App_Themes_Default" virtualPath="~/App_Themes/Default/" physicalPath="C:\Program Files\EPiServer\CMS\5.2.375.236\application\App_Themes\Default" type="EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider,EPiServer" />
        <add name="UI" virtualPath="~/administration/" physicalPath="C:\Program Files\EPiServer\CMS\5.2.375.236\application\UI" type="EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider,EPiServer" />
        <add name="UtilFiles" virtualPath="~/Util/" physicalPath="C:\Program Files\EPiServer\CMS\5.2.375.236\application\util" type="EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider,EPiServer" />
        <add name="WebServiceFiles" virtualPath="~/WebServices/" physicalPath="C:\Program Files\EPiServer\CMS\5.2.375.236\application\webservices" type="EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider,EPiServer" />
      </providers>
      <filters />
    </virtualPath>
    <!-- virtualPathMappings are used by "VirtualPathMappedProvider". -->
    <virtualPathMappings>
      <!--<add url="~/ExternalSample.ascx" mappedUrl="~/MappedSample.ascx" />-->
    </virtualPathMappings>
    <virtualRoles replacePrincipal="true">
      <providers>
        <add name="Administrators" type="EPiServer.Security.WindowsAdministratorsRole, EPiServer" />
        <add name="Everyone" type="EPiServer.Security.EveryoneRole, EPiServer" />
        <add name="Authenticated" type="EPiServer.Security.AuthenticatedRole, EPiServer" />
        <add name="Anonymous" type="EPiServer.Security.AnonymousRole, EPiServer" />
        <add name="Creator" type="EPiServer.Security.CreatorRole, EPiServer" />
      </providers>
    </virtualRoles>
    <urlRewrite defaultProvider="EPiServerFriendlyUrlRewriteProvider">
      <providers>
        <add name="EPiServerFriendlyUrlRewriteProvider" description="EPiServer standard Friendly URL rewriter" type="EPiServer.Web.FriendlyUrlRewriteProvider,EPiServer" />
        <add name="EPiServerIdentityUrlRewriteProvider" description="EPiServer identity URL rewriter" type="EPiServer.Web.IdentityUrlRewriteProvider,EPiServer" />
        <add name="EPiServerNullUrlRewriteProvider" description="EPiServer bypass URL rewriter" type="EPiServer.Web.NullUrlRewriteProvider,EPiServer" />
      </providers>
    </urlRewrite>
    <imageEditor windowWidth="900" windowHeight="600" enabled="true">
      <sizePresets>
        <preset width="320" height="240" />
        <preset width="640" height="480" />
      </sizePresets>
    </imageEditor>
    <!-- Define the Dynamic content controls that you allow to run on your site.-->
    <dynamicContent>
      <controls>
        <add description="Displays a property from any page" name="PagePropertyPlugin" type="EPiServer.DynamicContent.PlugIn.DynamicPageProperty, EPiServer" />
        <add description="Xhtml editor for right column" name="XhtmlEditorPlugins" type=" EEM.Verksamhetsportal.Web.Templates.Public.UserControls.DynamicContent.XhtmlEditorDC, EEM.Verksamhetsportal.Web" />
      </controls>
    </dynamicContent>
  </episerver>
  <staticFile expirationTime="12:0:0" />
  <episerver.baseLibrary>
    <classFactories>
      <add type="EPiServer.Implementation.DefaultBaseLibraryFactory, EPiServer.Implementation" id="ContentChannelFactory">
        <register type="EPiServer.ContentChannels.ContentChannelAdministration, EPiServer" mappedType="EPiServer.ContentChannels.ObjectStoreContentChannelAdministration, EPiServer" />
        <register type="EPiServer.BaseLibrary.IContentChannelHandler, EPiServer" mappedType="EPiServer.ContentChannels.ContentChannelHandler, 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" />
      <!-- 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 type="System.Workflow.Runtime.Hosting.SqlWorkflowPersistenceService, System.Workflow.Runtime, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" UnloadOnIdle="true" />
      <!-- 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" ConnectionString="Data Source=localhost;User Id=EPISERVER;Password=EPISERVER;"/>
      <add type="WFTools.Services.Batching.Ado.AdoWorkBatchService, EPiServer.WFTools.Services" ConnectionString="Data Source=localhost;User Id=EPISERVER;Password=EPISERVER;"/>-->
    </Services>
  </workflowRuntime>
  <runtime>
    <assemblyBinding>
      <dependentAssembly />
    </assemblyBinding>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="ElektroPost.Licensing" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-5.65535.65535.65535" newVersion="5.2.375.236" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.BaseLibrary" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-5.65535.65535.65535" newVersion="5.2.375.236" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Blog" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-5.65535.65535.65535" newVersion="5.2.375.236" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Configuration" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-5.65535.65535.65535" newVersion="5.2.375.236" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-5.65535.65535.65535" newVersion="5.2.375.236" />
        <bindingRedirect oldVersion="4.0.0.0-4.65535.65535.65535" newVersion="5.2.375.236" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Enterprise" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-5.65535.65535.65535" newVersion="5.2.375.236" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Events" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-5.65535.65535.65535" newVersion="5.2.375.236" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.ImageLibrary" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-5.65535.65535.65535" newVersion="5.2.375.236" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Implementation" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-5.65535.65535.65535" newVersion="5.2.375.236" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Legacy4" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-5.65535.65535.65535" newVersion="5.2.375.236" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Log.Analyzers" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-5.65535.65535.65535" newVersion="5.2.375.236" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Log.Core" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-5.65535.65535.65535" newVersion="5.2.375.236" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Lucene" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-5.65535.65535.65535" newVersion="5.2.375.236" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Scheduler" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-5.65535.65535.65535" newVersion="5.2.375.236" />
        <bindingRedirect oldVersion="4.0.0.0-4.65535.65535.65535" newVersion="5.2.375.236" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Scheduler.WKTL" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-5.65535.65535.65535" newVersion="5.1.422.4" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.UI" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-5.65535.65535.65535" newVersion="5.2.375.236" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Web.WebControls" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-5.65535.65535.65535" newVersion="5.2.375.236" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.WebDav" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-5.65535.65535.65535" newVersion="5.2.375.236" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.WebParts" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-5.65535.65535.65535" newVersion="5.2.375.236" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.WorkflowFoundation" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-5.65535.65535.65535" newVersion="5.2.375.236" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Wsrp" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-5.65535.65535.65535" newVersion="5.2.375.236" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.XForms" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-5.65535.65535.65535" newVersion="5.2.375.236" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.XmlRpc" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="5.0.0.0-5.65535.65535.65535" newVersion="5.2.375.236" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="log4net" publicKeyToken="1b44e1d426115821" culture="neutral" />
        <bindingRedirect oldVersion="1.0.0.0-1.65535.65535.65535" newVersion="1.2.10.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.Web.Services3" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Common.Cache" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="2.0.0.0-2.65535.65535.65535" newVersion="2.3.517.36" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Common.ComponentArt.Web.UI" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="2008.0.0.0-2008.65535.65535.65535" newVersion="2008.2.1204.35" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Common.Configuration" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="2.0.0.0-2.65535.65535.65535" newVersion="2.3.517.36" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Common.Data" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="2.0.0.0-2.65535.65535.65535" newVersion="2.3.517.36" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Common.Framework" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="2.0.0.0-2.65535.65535.65535" newVersion="2.3.517.36" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Common.Framework.Exceptions" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="2.0.0.0-2.65535.65535.65535" newVersion="2.3.517.36" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Common.Framework.Impl" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="2.0.0.0-2.65535.65535.65535" newVersion="2.3.517.36" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Common.Replication" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="2.0.0.0-2.65535.65535.65535" newVersion="2.3.517.36" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Common.Security" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="2.0.0.0-2.65535.65535.65535" newVersion="2.3.517.36" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Common.Security.Internal" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="2.0.0.0-2.65535.65535.65535" newVersion="2.3.517.36" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Common.Services.Replication.Shared" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="2.0.0.0-2.65535.65535.65535" newVersion="2.3.517.36" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Common.Services.Replication.Subscriber" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="2.0.0.0-2.65535.65535.65535" newVersion="2.3.517.36" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Common.Web.Authorization" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="2.0.0.0-2.65535.65535.65535" newVersion="2.3.517.36" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Common.Web.Authorization.Multiplexing" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="2.0.0.0-2.65535.65535.65535" newVersion="2.3.517.36" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Common.Web" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="2.0.0.0-2.65535.65535.65535" newVersion="2.3.517.36" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.Blog" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.Calendar" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.Chat" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.Chat.XmlSerializers" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.Club" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.Configuration" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.ConnectionLink" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.Contact" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.Contest" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.DirectMessage" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.DocumentArchive" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.Expert" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.Forum" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.ImageGallery" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.Licensing" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.Moblog.ContentProviders.Unwire" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.Moblog" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.MyPage" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.NewsFeed" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.NML" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.OnlineStatus" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.Poll" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.StarViral" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.VideoGallery" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.VideoGallery.XmlSerializers" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.Web.Administration" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.Webmail" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Community.Webmail.XmlSerializers" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="3.0.0.0-3.65535.65535.65535" newVersion="3.2.517.24" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Mail.Configuration" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="4.0.0.0-4.65535.65535.65535" newVersion="4.4.343.20" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Mail.Core" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="4.0.0.0-4.65535.65535.65535" newVersion="4.4.343.20" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Mail.Core.EPiServer.Web" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="4.0.0.0-4.65535.65535.65535" newVersion="4.4.343.20" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Mail.Core.Web" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="4.0.0.0-4.65535.65535.65535" newVersion="4.4.343.20" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="EPiServer.Mail.Sources.Internal" publicKeyToken="8fe83dea738b45b7" culture="neutral" />
        <bindingRedirect oldVersion="4.0.0.0-4.65535.65535.65535" newVersion="4.4.343.20" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="1.0.61025.0" newVersion="3.5.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Interop.ImageEffects" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-1.0.0.0" newVersion="1.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="MeridiumEPiServerLinkEditor" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-1.0.7.0" newVersion="1.0.7.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="ImageVault.Core" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-3.3.2.673" newVersion="3.3.2.673" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="ImageVaultLinkEditorPlugin" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-3.3.2.673" newVersion="3.3.2.673" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="ImageStoreNET" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-3.3.2.673" newVersion="3.3.2.673" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="ImageVaultOfficeData" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-3.3.2.673" newVersion="3.3.2.673" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="ImageVault.Episerver5" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-3.3.2.673" newVersion="3.3.2.673" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="ImageConverterService" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-3.3.2.673" newVersion="3.3.2.673" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
  <!-- Connection string info is stored in a separate file -->
  <connectionStrings configSource="connectionStrings.config" />
  <!-- SMTP Settings for ASP.NET 2.0 Mail classes. -->
  <system.net>
    <mailSettings>
      <smtp deliveryMethod="PickupDirectoryFromIis" />
      <!-- 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 from="localhost" deliveryMethod="Network">
                <network host="localhost" port="25" userName="" password="" defaultCredentials="false" />
      </smtp>-->
    </mailSettings>
  </system.net>
  <system.web>
    <roleManager enabled="true" cacheRolesInCookie="true" defaultProvider="WindowsRoleProvider">
      <providers>
        <clear />
        <add provider1="SqlServerRoleProvider" provider2="WindowsRoleProvider" providerMap1="SqlServermembershipProvider" providerMap2="WindowsMembershipProvider" name="MultiplexingRoleProvider" type="EPiServer.Security.MultiplexingRoleProvider, EPiServer" />
        <add applicationName="EPiServerSample" name="WindowsRoleProvider" type="EPiServer.Security.WindowsRoleProvider, EPiServer" />
        <add connectionStringName="EPiServerDB" applicationName="EPiServerSample" name="SqlServerRoleProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
        <add applicationName="EPiServerCommonApplication" name="EPiServerCommonRoleProvider" type="EPiServer.Common.Web.Authorization.RoleProvider, EPiServer.Common.Web.Authorization" />
      </providers>
    </roleManager>
    <membership defaultProvider="WindowsMembershipProvider" userIsOnlineTimeWindow="10">
      <providers>
        <clear />
        <add provider1="SqlServerMembershipProvider" provider2="WindowsMembershipProvider" name="MultiplexingMembershipProvider" type="EPiServer.Security.MultiplexingMembershipProvider, EPiServer" />
        <add deletePrefix="BUILTIN\" searchByEmail="true" name="WindowsMembershipProvider" type="EPiServer.Security.WindowsMembershipProvider, EPiServer" />
        <add connectionStringName="EPiServerDB" requiresQuestionAndAnswer="false" applicationName="EPiServerSample" requiresUniqueEmail="true" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression="" name="SqlServerMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
        <add applicationName="EPiServerCommonApplication" name="EPiServerCommonMembershipProvider" type="EPiServer.Common.Web.Authorization.MembershipProvider, EPiServer.Common.Web.Authorization" />
        <add applicationName="EPiServerCommonApplication" provider="WindowsMembershipProvider" roleToSynchronize1="*" name="EPiServerCommonIntegrationMembershipProvider" type="EPiServer.Common.Web.Authorization.IntegrationMembershipProvider, EPiServer.Common.Web.Authorization" />
      </providers>
    </membership>
    <profile enabled="true" defaultProvider="SqlProfile" automaticSaveEnabled="true">
      <properties>
        <add name="Address" type="System.String" />
        <add name="ZipCode" type="System.String" />
        <add name="Locality" type="System.String" />
        <add name="Email" type="System.String" />
        <add name="FirstName" type="System.String" />
        <add name="LastName" type="System.String" />
        <add name="Language" type="System.String" />
        <add name="Country" type="System.String" />
        <add name="Company" type="System.String" />
        <add name="Title" type="System.String" />
        <add name="SubscriptionInfo" type="EPiServer.Personalization.SubscriptionInfo, EPiServer" />
        <add name="CustomExplorerTreePanel" type="System.String" />
        <add name="FileManagerFavourites" type="System.Collections.Generic.List`1[System.String]" />
        <add name="EditTreeSettings" type="EPiServer.Personalization.GuiSettings, EPiServer" />
        <add name="ClientToolsActivationKey" type="System.String" />
        <add name="FrameworkName" type="System.String" />
      </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" />
      </providers>
    </profile>
    <httpModules>
      <add name="InitializationModule" 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="EPiServerCommon" type="EPiServer.Common.Web.HttpModule, EPiServer.Common.Web" />
      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="EPiServerCommunity" type="EPiServer.Community.Web.Administration.CommunityModule, EPiServer.Community.Web.Administration" />
      <add name="EPiServerCommunityCmsIntegration" type="EPiServer.Community.Web.CmsIntegration.HttpModule, EPiServer.Community.Web.CmsIntegration" />
      <add name="EPiServerMail" type="EPiServer.Mail.Core.Web.MailModule, EPiServer.Mail.Core.Web" />
      <add name="RelatePlusCmsIntegrationModule" type="EPiServer.Templates.RelatePlus.HttpModules.CmsIntegrationModule, EPiServer.Templates.RelatePlus" />
      <add name="Autologin" type="EPiServer.Common.Web.Authorization.IntegrationHttpModule, EPiServer.Common.Web.Authorization " />
      <add name="ImageVault" type="ImageStoreNET.PluginStartup, ImageVault.EPiServer5" />
      <add name="IIS5XWildCardExtensionFix" type="ImageStoreNET.Classes.IIS5XWildCardExtensionFix, ImageStoreNET" />
    </httpModules>
    <httpHandlers>
      <remove verb="*" path="*.asmx" />
      <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 verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      <add verb="GET" path="VideoPostSignature.ashx" type="EPiServer.Community.VideoGallery.VideoPostSignatureHandler, EPiServer.Community.VideoGallery" />
      <add verb="GET" path="cachedimageservice.axd" type="ComponentArt.Charting.CachedImageService,ComponentArt.Charting.WebChart" />
      <!--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" verb="GET,HEAD" type="EPiServer.Web.StaticFileHandler, EPiServer" />
      <add path="*.jpg" verb="GET,HEAD" type="EPiServer.Web.StaticFileHandler, EPiServer" />
      <add path="*.jpeg" verb="GET,HEAD" type="EPiServer.Web.StaticFileHandler, EPiServer" />
      <add path="*.css" verb="GET,HEAD" type="EPiServer.Web.StaticFileHandler, EPiServer" />
      <add path="*.js" verb="GET,HEAD" type="EPiServer.Web.StaticFileHandler, EPiServer" />
      <add path="*.gif" verb="GET,HEAD" type="EPiServer.Web.StaticFileHandler, EPiServer" />
      <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 verb="*" path="Embed.aspx" type="Se.MeridiumKalmar.Web.EmbeddedHandler, ImageVault.Core" />
      <add verb="*" path="ImageVaultHandler.aspx" type="ImageStoreNET.Classes.Handlers.ImageHandler, ImageStoreNET" />
      <add verb="*" path="UploadHandler.ashx" type="ImageStoreNET.Classes.Handlers.UploadHandler, ImageStoreNET" />
    </httpHandlers>
    <!-- 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="false" />
    <!-- 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="RemoteOnly" />
    <!-- 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" />
    </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" />
    <!-- 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" />
    <!-- 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" />
    <pages validateRequest="false" enableEventValidation="false">
      <controls>
        <add tagPrefix="EPiServer" namespace="EPiServer.WebControls" assembly="EPiServer" />
        <add tagPrefix="EPiServer" namespace="EPiServer.Web.WebControls" assembly="EPiServer" />
        <add tagPrefix="EPiServer" namespace="EPiServer.Web.WebControls" assembly="EPiServer.Web.WebControls" />
        <add tagPrefix="XForms" namespace="EPiServer.XForms.WebControls" assembly="EPiServer.XForms" />
        <add tagPrefix="WebParts" namespace="EPiServer.WebParts.WebControls" assembly="EPiServer" />
        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add tagPrefix="ajaxToolkit" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" />
        <add tagPrefix="RelatePlus" namespace="EPiServer.Templates.RelatePlus.WebControls" assembly="EPiServer.Templates.RelatePlus" />
      </controls>
    </pages>
    <!-- Uncomment this section to enable webpart support on the site -->
    <!--<webParts>
            <personalization defaultProvider="EPiServerPersonalizationProvider">
                <providers>
                    <add name="EPiServerPersonalizationProvider" type="EPiServer.WebParts.Core.EPiServerPersonalizationProvider" connectionStringName="EPiServerDB" />
                </providers>
                <authorization>
                    <allow verbs="enterSharedScope" roles="WebAdmins, WebEditors, Administrators" />
                </authorization>
            </personalization>
    </webParts>-->
    <machineKey validationKey="DA94CD9D3E6A32FE4598928F0E1AECEE46B567B94103ECBA22911464BECD067F596EBAF15C194F87D9A7B4B7F7062624CCD3BF0046A3B257C272B694F12F36D7" decryptionKey="1876263987D7945ACAB27EBB45C9BE8F2BF2519E68307198" validation="SHA1" />
  </system.web>
  <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 name="WarnAsError" value="false" />
      </compiler>
    </compilers>
  </system.codedom>
  <microsoft.web.services3>
    <messaging>
      <transports>
        <add scheme="soap.tcp">
          <defaultPort value="8082" />
        </add>
      </transports>
    </messaging>
  </microsoft.web.services3>
  <location path="PageFiles">
    <system.web>
      <!-- Make sure that the WebResource loader of ASP.NET is initialized correctly -->
      <!-- Setup the StaticFileHandler for the wildcard mapping to work in IIS6 -->
      <httpHandlers>
        <add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="true" />
        <add path="*" verb="*" type="EPiServer.Web.StaticFileHandler, EPiServer" validate="true" />
      </httpHandlers>
    </system.web>
    <staticFile expirationTime="-1.0:0:0" />
  </location>
  <location path="Documents">
    <system.web>
      <!-- Setup the StaticFileHandler for the wildcard mapping to work in IIS6 -->
      <httpHandlers>
        <add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="true" />
        <add path="*" verb="*" type="EPiServer.Web.StaticFileHandler, EPiServer" validate="true" />
      </httpHandlers>
    </system.web>
    <staticFile expirationTime="-1.0:0:0" />
  </location>
  <location path="Global">
    <system.web>
      <!-- Setup the StaticFileHandler for the wildcard mapping to work in IIS6 -->
      <httpHandlers>
        <add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="true" />
        <add path="*" verb="*" type="EPiServer.Web.StaticFileHandler, EPiServer" validate="true" />
      </httpHandlers>
    </system.web>
    <staticFile expirationTime="-1.0:0:0" />
  </location>
  <location path="administration">
    <system.web>
      <httpHandlers>
        <clear />
        <add verb="GET" path="cachedimageservice.axd" type="ComponentArt.Charting.CachedImageService,ComponentArt.Charting.WebChart" />
        <!-- This section is copied from root web.config -->
        <add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="true" />
        <add path="*.aspx" verb="*" type="System.Web.UI.PageHandlerFactory" validate="true" />
        <add path="*.ashx" verb="*" type="System.Web.UI.SimpleHandlerFactory" validate="true" />
        <add path="*.asmx" verb="*" type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false" />
        <add path="*.ascx" verb="*" type="System.Web.HttpForbiddenHandler" validate="true" />
        <add path="*" verb="*" type="EPiServer.Web.StaticFileHandler, EPiServer" validate="true" />
      </httpHandlers>
      <httpRuntime maxRequestLength="1000000" />
      <pages>
        <controls>
          <add tagPrefix="EPiServerUI" namespace="EPiServer.UI.WebControls" assembly="EPiServer.UI" />
          <add tagPrefix="EPiServerScript" namespace="EPiServer.ClientScript.WebControls" assembly="EPiServer" />
          <add tagPrefix="EPiServerScript" namespace="EPiServer.UI.ClientScript.WebControls" assembly="EPiServer.UI" />
        </controls>
      </pages>
      <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
      <authorization>
        <allow roles="WebEditors, WebAdmins, Administrators" />
        <deny users="*" />
      </authorization>
    </system.web>
  </location>
  <location path="administration/admin">
    <system.web>
      <authorization>
        <allow roles="WebAdmins, Administrators" />
        <deny users="*" />
      </authorization>
    </system.web>
  </location>
  <!-- Uncomment the following section in order to enable Office integration on the application. -->
  <!--<location path="UI/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="" />
    <system.web>
      <httpRuntime maxRequestLength="1000000" />
      <authorization>
        <allow roles="WebServices,Administrators" />
        <deny users="*" />
      </authorization>
    </system.web>
  </location>
  <location path="util">
    <system.web>
      <pages>
        <controls>
          <add tagPrefix="EPiServerUI" namespace="EPiServer.UI.WebControls" assembly="EPiServer.UI" />
          <add tagPrefix="EPiServerScript" namespace="EPiServer.ClientScript.WebControls" assembly="EPiServer" />
        </controls>
      </pages>
      <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
      <httpHandlers>
        <add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="true" />
        <add path="*.aspx" verb="*" type="System.Web.UI.PageHandlerFactory" validate="true" />
        <add path="*.ashx" verb="*" type="System.Web.UI.SimpleHandlerFactory" validate="true" />
        <add path="*.asmx" verb="*" type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false" />
        <add path="*" verb="*" type="EPiServer.Web.StaticFileHandler, EPiServer" validate="true" />
      </httpHandlers>
    </system.web>
  </location>
  <location path="App_Themes/Default">
  </location>
  <system.serviceModel>
    <extensions>
      <bindingElementExtensions>
        <add name="udpTransport" type="Microsoft.ServiceModel.Samples.UdpTransportElement, EPiServer.Implementation" />
      </bindingElementExtensions>
    </extensions>
    <services>
      <!-- Before deployment, you should remove the returnFaults behavior configuration to avoid disclosing information in exception messages -->
      <service name="EPiServer.Events.Remote.EventReplication" behaviorConfiguration="DebugServiceBehaviour">
        <endpoint name="RemoteEventServiceEndPoint" contract="EPiServer.Events.ServiceModel.IEventReplication" binding="customBinding" bindingConfiguration="RemoteEventsBinding" address="soap.udp://239.255.255.19:5000/RemoteEventService" />
      </service>
    </services>
    <client>
      <endpoint name="RemoteEventServiceClientEndPoint" address="soap.udp://239.255.255.19:5000/RemoteEventService" binding="customBinding" bindingConfiguration="RemoteEventsBinding" contract="EPiServer.Events.ServiceModel.IEventReplication" />
      <!--Client configuration for the ImageEditor, the client name has to be "ImageServiceClientEndPoint"-->
      <!-- Only uncomment if the Image Service is hosted in an external application
      <endpoint
       name="ImageServiceClientEndPoint"
       address="the address of the hosting application"
       binding="the binding the hosting application is using"
       bindingConfiguration="ImageServiceBinding"
       contract="EPiServer.ImageLibrary.IImageService" />
       -->
    </client>
    <behaviors>
      <serviceBehaviors>
        <behavior name="DebugServiceBehaviour">
          <serviceDebug includeExceptionDetailInFaults="true" />
        </behavior>
      </serviceBehaviors>
    </behaviors>
    <bindings>
      <customBinding>
        <binding name="RemoteEventsBinding">
          <binaryMessageEncoding />
          <udpTransport multicast="True" />
        </binding>
      </customBinding>
      <!-- Only uncomment if the Image Service is hosted in an external application
      <binding type used by the Image Service>
        <binding name="ImageServiceBinding" maxReceivedMessageSize="20000000">
          <readerQuotas maxArrayLength="20000000" />
          <security mode="None" />
        </binding>
      </binding type used by the Image Service>
       -->
    </bindings>
  </system.serviceModel>
  <!-- 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="System.Data.OracleClient" type="WFTools.Services.Common.Ado.Oracle.OracleValueReader,EPiServer.WFTools.Services" />
      <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="System.Data.OracleClient" type="WFTools.Services.Common.Ado.Oracle.OracleResourceProvider,EPiServer.WFTools.Services" />
      <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="System.Data.SqlClient" type="WFTools.Services.Persistence.Ado.Sql.SqlPersistenceNameResolver,EPiServer.WFTools.Services" />
      <add providerName="System.Data.OracleClient" type="WFTools.Services.Persistence.Ado.Oracle.OraclePersistenceNameResolver,EPiServer.WFTools.Services" />
      <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="System.Data.OracleClient" type="WFTools.Services.Tracking.Ado.Oracle.OracleTrackingNameResolver,EPiServer.WFTools.Services" />
      <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="System.Data.OracleClient" type="WFTools.Services.Tracking.Ado.Oracle.OracleTrackingResourceAccessor,EPiServer.WFTools.Services" />
      <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>-->
  <nhibernate>
    <add key="hibernate.connection.provider" value="NHibernate.Connection.DriverConnectionProvider" />
    <add key="hibernate.dialect" value="NHibernate.Dialect.MsSql2005Dialect" />
    <add key="hibernate.connection.driver_class" value="NHibernate.Driver.SqlClientDriver" />
    <add key="hibernate.connection.connection_string" value="" />
  </nhibernate>
  <hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
    <session-factory>
      <mapping assembly="EPiServer.Common.Framework.Impl" />
      <mapping assembly="EPiServer.Community.Blog" />
      <mapping assembly="EPiServer.Community.Calendar" />
      <mapping assembly="EPiServer.Community.Club" />
      <mapping assembly="EPiServer.Community.Contact" />
      <mapping assembly="EPiServer.Community.Contest" />
      <mapping assembly="EPiServer.Community.DirectMessage" />
      <mapping assembly="EPiServer.Community.DocumentArchive" />
      <mapping assembly="EPiServer.Community.Expert" />
      <mapping assembly="EPiServer.Community.Forum" />
      <mapping assembly="EPiServer.Community.ImageGallery" />
      <mapping assembly="EPiServer.Community.VideoGallery" />
      <mapping assembly="EPiServer.Community.MyPage" />
      <mapping assembly="EPiServer.Community.Poll" />
      <mapping assembly="EPiServer.Community.StarViral" />
    </session-factory>
  </hibernate-configuration>
  <episerver.common>
    <siteHosts>
      <add name="Default" hostUrl="*" connectionStringName="EPiServerCommon" />
    </siteHosts>
    <sites>
      <site hostName="Default">
        <cache defaultProvider="EPiServerCacheExpirationProvider">
          <providers>
            <add name="EPiServerCacheExpirationProvider" type="EPiServer.Common.Cache.CacheExpirationProvider, EPiServer.Common.Cache" />
          </providers>
        </cache>
        <security defaultPasswordProvider="CleartextPasswordProvider">
          <passwordProviders>
            <add name="CleartextPasswordProvider" type="EPiServer.Common.Security.CleartextPasswordProvider, EPiServer.Common.Security" />
            <add name="HMACMD5PasswordProvider" type="EPiServer.Common.Security.HMACMD5PasswordProvider, EPiServer.Common.Security" />
            <add name="HMACPasswordProvider" type="EPiServer.Common.Security.HMACPasswordProvider, EPiServer.Common.Security" />
            <add name="HMACSHA256PasswordProvider" type="EPiServer.Common.Security.HMACSHA256PasswordProvider, EPiServer.Common.Security" />
          </passwordProviders>
        </security>
        <replication>
          <subscriber serverName="myWebServer1" siteName="mySite" port="0" alternatePort="0" broadcastAddress="192.168.0.255" />
        </replication>
        <integration>
          <session sessionTimeout="00:20:00" timeoutCheckInterval="00:01:00" />
        </integration>
        <entity>
          <providers />
          <supportedTypes />
        </entity>
        <framework>
          <rating maxRating="10" />
          <tag>
            <archiving interval="23:59:59" maxRelatedTags="5" />
            <tagCloud noiseLevel="100" cacheExpiration="00:00:01" minItemWeight="1" maxItemWeight="10" defaultItemCount="150" />
          </tag>
          <activityLog logLevel="Custom">
            <loggedTypes>
              <add type="EPiServer.Common.Security.IUser, EPiServer.Common.Framework" />
              <add type="EPiServer.Community.Blog.EntryComment, EPiServer.Community.Blog" />
              <add type="EPiServer.Community.Blog.Entry, EPiServer.Community.Blog" />
              <add type="EPiServer.Community.Blog.Blog, EPiServer.Community.Blog" />
              <add type="EPiServer.Community.Calendar.Calendar, EPiServer.Community.Calendar" />
              <add type="EPiServer.Community.Calendar.Event, EPiServer.Community.Calendar" />
              <add type="EPiServer.Community.Calendar.Invite, EPiServer.Community.Calendar" />
              <add type="EPiServer.Community.Calendar.Registration, EPiServer.Community.Calendar" />
              <add type="EPiServer.Community.Club.Club, EPiServer.Community.Club" />
              <add type="EPiServer.Community.Club.Ad, EPiServer.Community.Club" />
              <add type="EPiServer.Community.Contest.Contest, EPiServer.Community.Contest" />
              <add type="EPiServer.Community.Contest.Question, EPiServer.Community.Contest" />
              <add type="EPiServer.Community.Contest.TextAnswer, EPiServer.Community.Contest" />
              <add type="EPiServer.Community.DirectMessage.Message, EPiServer.Community.DirectMessage" />
              <add type="EPiServer.Community.DocumentArchive.Content, EPiServer.Community.DocumentArchive" />
              <add type="EPiServer.Community.Expert.Question, EPiServer.Community.Expert" />
              <add type="EPiServer.Community.Expert.Answer, EPiServer.Community.Expert" />
              <add type="EPiServer.Community.Forum.Room, EPiServer.Community.Forum" />
              <add type="EPiServer.Community.Forum.RoomBase, EPiServer.Community.Forum" />
              <add type="EPiServer.Community.Forum.Message, EPiServer.Community.Forum" />
              <add type="EPiServer.Community.Forum.Topic, EPiServer.Community.Forum" />
              <add type="EPiServer.Community.Forum.Reply, EPiServer.Community.Forum" />
              <add type="EPiServer.Community.ImageGallery.Image, EPiServer.Community.ImageGallery" />
              <add type="EPiServer.Community.MyPage.MyPage, EPiServer.Community.MyPage" />
              <add type="EPiServer.Community.Poll.Poll, EPiServer.Community.Poll" />
              <add type="EPiServer.Community.Poll.Choice, EPiServer.Community.Poll" />
              <add type="EPiServer.Community.StarViral.Campaign, EPiServer.Community.StarViral" />
              <add type="EPiServer.Community.StarViral.Referral, EPiServer.Community.StarViral" />
              <add type="EPiServer.Community.VideoGallery.Video, EPiServer.Community.VideoGallery" />
            </loggedTypes>
          </activityLog>
        </framework>
      </site>
    </sites>
  </episerver.common>
  <episerver.community>
    <sites>
      <site hostName="Default">
        <contact reverseAdd="true" reverseRemove="true" />
        <expert autoPublish="true" questionRelationSymmetric="false" assignmentRecommendedMaxDays="14" />
        <moblog msIsdnAttributeName="msisdn" />
        <administration>
          <administrableTypes>
            <add type="EPiServer.Common.Security.IUser, EPiServer.Common.Framework" addUrl="ControlWrapper.aspx?control=Modules/MyPage/EditUser.ascx&amp;userId={0}" updateUrl="ControlWrapper.aspx?control=Modules/MyPage/EditUser.ascx&amp;userId={0}" windowWidth="820" windowHeight="600" />
            <add type="EPiServer.Community.Forum.RoomBase, EPiServer.Community.Forum" addUrl="Modules/Forum/ForumFrameWrapper.aspx?roomId={0}" updateUrl="Modules/Forum/ForumFrameWrapper.aspx?roomId={0}" windowWidth="900" windowHeight="600" />
            <add type="EPiServer.Community.Forum.Topic, EPiServer.Community.Forum" addUrl="ControlWrapper.aspx?control=Modules/Forum/RoomControl.ascx&amp;topicId={0}" updateUrl="ControlWrapper.aspx?control=Modules/Forum/RoomControl.ascx&amp;topicId={0}" windowWidth="900" windowHeight="600" />
            <add type="EPiServer.Community.Forum.Reply, EPiServer.Community.Forum" addUrl="ControlWrapper.aspx?control=Modules/Forum/RoomControl.ascx&amp;replyId={0}" updateUrl="ControlWrapper.aspx?control=Modules/Forum/RoomControl.ascx&amp;replyId={0}" windowWidth="900" windowHeight="600" />
            <add type="EPiServer.Community.Blog.Blog, EPiServer.Community.Blog" addUrl="ControlWrapper.aspx?control=Modules/Blog/BlogWrapper.ascx&amp;blogId={0}" updateUrl="ControlWrapper.aspx?control=Modules/Blog/BlogWrapper.ascx&amp;blogId={0}" windowWidth="820" windowHeight="600" />
            <add type="EPiServer.Community.Blog.Entry, EPiServer.Community.Blog" addUrl="ControlWrapper.aspx?control=Modules/Blog/EditBlogEntryControl.ascx&amp;entryId={0}" updateUrl="ControlWrapper.aspx?control=Modules/Blog/EditBlogEntryControl.ascx&amp;entryId={0}" windowWidth="820" windowHeight="600" />
            <add type="EPiServer.Community.Blog.EntryComment, EPiServer.Community.Blog" addUrl="ControlWrapper.aspx?control=Modules/Blog/EditBlogEntryControl.ascx&amp;entryCommentId={0}" updateUrl="ControlWrapper.aspx?control=Modules/Blog/EditBlogEntryControl.ascx&amp;entryCommentId={0}" windowWidth="820" windowHeight="600" />
            <add type="EPiServer.Community.ImageGallery.ImageGallery, EPiServer.Community.ImageGallery" addUrl="ControlWrapper.aspx?control=Modules/ImageGallery/ImageGalleryWrapper.ascx&amp;imageGalleryId={0}" updateUrl="ControlWrapper.aspx?control=Modules/ImageGallery/ImageGalleryWrapper.ascx&amp;imageGalleryId={0}" windowWidth="800" windowHeight="600" />
            <add type="EPiServer.Community.ImageGallery.Image, EPiServer.Community.ImageGallery" addUrl="ControlWrapper.aspx?control=Modules/ImageGallery/ImageInfoControl.ascx&amp;imageId={0}" updateUrl="ControlWrapper.aspx?control=Modules/ImageGallery/ImageInfoControl.ascx&amp;imageId={0}" windowWidth="570" windowHeight="520" />
            <add type="EPiServer.Community.ImageGallery.ImageComment, EPiServer.Community.ImageGallery" addUrl="ControlWrapper.aspx?control=Modules/ImageGallery/ImageInfoControl.ascx&amp;imageCommentId={0}" updateUrl="ControlWrapper.aspx?control=Modules/ImageGallery/ImageInfoControl.ascx&amp;imageCommentId={0}" windowWidth="550" windowHeight="500" />
            <add type="EPiServer.Community.Club.Club, EPiServer.Community.Club" addUrl="ControlWrapper.aspx?control=Modules/Club/ClubInfoControl.ascx&amp;clubId={0}" updateUrl="ControlWrapper.aspx?control=Modules/Club/ClubInfoControl.ascx&amp;clubId={0}" windowWidth="850" windowHeight="800" />
            <add type="EPiServer.Community.Club.Ad, EPiServer.Community.Club" addUrl="ControlWrapper.aspx?control=Modules/Club/ClubInfoControl.ascx&amp;clubAdId={0}" updateUrl="ControlWrapper.aspx?control=Modules/Club/ClubInfoControl.ascx&amp;clubAdId={0}" windowWidth="850" windowHeight="800" />
            <add type="EPiServer.Community.Calendar.Calendar, EPiServer.Community.Calendar" addUrl="ControlWrapper.aspx?control=Modules/Calendar/CalendarControlWrapper.ascx&amp;calendarId={0}" updateUrl="ControlWrapper.aspx?control=Modules/Calendar/CalendarControlWrapper.ascx&amp;calendarId={0}" windowWidth="830" windowHeight="745" />
            <add type="EPiServer.Community.Calendar.Event, EPiServer.Community.Calendar" addUrl="ControlWrapper.aspx?control=Modules/Calendar/CalendarEventInfoControl.ascx&amp;eventId={0}" updateUrl="ControlWrapper.aspx?control=Modules/Calendar/CalendarEventInfoControl.ascx&amp;eventId={0}" windowWidth="820" windowHeight="840" />
            <add type="EPiServer.Community.Expert.ExpertBase, EPiServer.Community.Expert" addUrl="ControlWrapper.aspx?control=Modules/Expert/ExpertInfoControl.ascx&amp;expertId={0}" updateUrl="ControlWrapper.aspx?control=Modules/Expert/ExpertInfoControl.ascx&amp;expertId={0}" windowWidth="820" windowHeight="700" />
            <add type="EPiServer.Community.Expert.Question, EPiServer.Community.Expert" addUrl="ControlWrapper.aspx?control=Modules/Expert/QuestionInfoControl.ascx&amp;questionId={0}" updateUrl="ControlWrapper.aspx?control=Modules/Expert/QuestionInfoControl.ascx&amp;questionId={0}" windowWidth="820" windowHeight="600" />
            <add type="EPiServer.Community.Expert.Answer, EPiServer.Community.Expert" addUrl="ControlWrapper.aspx?control=Modules/Expert/AnswerInfoControl.ascx&amp;answerId={0}" updateUrl="ControlWrapper.aspx?control=Modules/Expert/AnswerInfoControl.ascx&amp;answerId={0}" windowWidth="820" windowHeight="600" />
            <add type="EPiServer.Community.Contest.Contest, EPiServer.Community.Contest" addUrl="ControlWrapper.aspx?control=Modules/Contest/ContestInfoControl.ascx&amp;contestId={0}" updateUrl="ControlWrapper.aspx?control=Modules/Contest/ContestInfoControl.ascx&amp;contestId={0}" windowWidth="880" windowHeight="600" />
            <add type="EPiServer.Community.Contest.Question, EPiServer.Community.Contest" addUrl="ControlWrapper.aspx?control=Modules/Contest/QuestionControlWrapper.ascx&amp;questionId={0}" updateUrl="ControlWrapper.aspx?control=Modules/Contest/QuestionControlWrapper.ascx&amp;questionId={0}" windowWidth="600" windowHeight="400" />
            <add type="EPiServer.Community.Poll.Poll, EPiServer.Community.Poll" addUrl="ControlWrapper.aspx?control=Modules/Poll/PollInfoControl.ascx&amp;clubId=-1&amp;myPageId=-1&amp;pollId={0}" updateUrl="ControlWrapper.aspx?control=Modules/Poll/PollInfoControl.ascx&amp;clubId=-1&amp;myPageId=-1&amp;pollId={0}" windowWidth="800" windowHeight="700" />
            <add type="EPiServer.Community.DirectMessage.MessageBase, EPiServer.Community.DirectMessage" addUrl="ControlWrapper.aspx?control=Modules/DirectMessage/ReadMessageControl.ascx&amp;messageId={0}" updateUrl="ControlWrapper.aspx?control=Modules/DirectMessage/ReadMessageControl.ascx&amp;messageId={0}" windowWidth="500" windowHeight="350" />
            <add type="EPiServer.Community.DocumentArchive.DocumentArchive, EPiServer.Community.DocumentArchive" addUrl="ControlWrapper.aspx?control=Modules/DocumentArchive/DocumentArchiveWrapper.ascx&amp;documentArchiveId={0}" updateUrl="ControlWrapper.aspx?control=Modules/DocumentArchive/DocumentArchiveWrapper.ascx&amp;documentArchiveId={0}" windowWidth="500" windowHeight="350" />
            <add type="EPiServer.Community.DocumentArchive.Document, EPiServer.Community.DocumentArchive" addUrl="ControlWrapper.aspx?control=Modules/DocumentArchive/DocumentArchiveWrapper.ascx&amp;documentId={0}" updateUrl="ControlWrapper.aspx?control=Modules/DocumentArchive/DocumentArchiveWrapper.ascx&amp;documentId={0}" windowWidth="500" windowHeight="350" />
            <add type="EPiServer.Community.VideoGallery.VideoGallery, EPiServer.Community.VideoGallery" addUrl="" updateUrl="ControlWrapper.aspx?control=Modules/VideoGallery/VideoGalleryControl.ascx&amp;videoGalleryId={0}" windowWidth="590" windowHeight="650" />
            <add type="EPiServer.Community.VideoGallery.Video, EPiServer.Community.VideoGallery" addUrl="" updateUrl="ControlWrapper.aspx?control=Modules/VideoGallery/VideoInfoControl.ascx&amp;videoId={0}" windowWidth="590" windowHeight="650" />
          </administrableTypes>
        </administration>
        <chat webServiceUrl="" />
        <newsfeed aggregationInterval="00:10:00" aggregationSpan="1.00:00:00" />
        <videoGallery pollingIntervalSeconds="60">
          <cdnProvider type="EPiServer.Community.VideoGallery.Cdn.InternalCdnProvider, EPiServer.Community.VideoGallery" accessKey="" secretAccessKey="" uploadUrl="http://videogallery.episerver.com/upload/" webServiceUrl="http://videogallery.episerver.com/VideoGalleryService3.asmx" contentHostUrl="http://episerver-vg.s3.amazonaws.com/" />
        </videoGallery>
        <imageGallery imageAbsoluteFilePath="C:\EPiServer\VPP\MyRelateSite\EPiServerCommunity\Modules\ImageGallery\Originals" thumbnailVirtualFilePath="~/EPiServerCommunity/Modules/ImageGallery/Thumbnails" imgExtension=".jpg" imgMaxWidth="640" imgMaxHeight="640" saveOriginal="true" maxUserImageQuota="0" imgQuality="100" />
        <connectionLink bfsMaxDepth="-1" shortestPathCacheTime="00:05:00" timeoutLock="00:00:02.000" />
        <onlineStatus loginTimeOut="00:20:00" timeOutCheckInterval="00:01:00.000" />
        <forum minNumberOfTopicRepliesToBeHot="3" timeBackForHotTopics="01:00:00" />
        <documentArchive physicalPath="C:\EPiServer\VPP\MyRelateSite\EPiServerCommunity\Modules\DocumentArchive\Files" virtualPath="/EPiServerCommunity/Modules/DocumentArchive/Files" />
        <webmail diskCachePath="C:\EPiServer\VPP\MyRelateSite\EPiServerCommunity\Modules\Webmail\diskcache" defaultPasswordProviderType="EPiServer.Common.Security.CleartextPasswordProvider, EPiServer.Common.Security" />
        <nml>
          <categories>
            <add name="general" />
            <add name="forum" />
          </categories>
          <tags>
            <add name="general_font" trigger="font" preTemplate="&lt;span style=&quot;{face}{size}&quot;&gt;" postTemplate="&lt;/span&gt;" category="general" />
            <add name="general_i" trigger="i" preTemplate="&lt;i&gt;" postTemplate="&lt;/i&gt;" category="general" />
            <add name="general_u" trigger="u" preTemplate="&lt;u&gt;" postTemplate="&lt;/u&gt;" category="general" />
            <add name="general_b" trigger="b" preTemplate="&lt;b&gt;" postTemplate="&lt;/b&gt;" category="general" />
            <add name="forum_topic" trigger="topic" preTemplate="&lt;a href=&quot;forum.aspx?topicId={id}&quot;&gt;" postTemplate="&lt;/a&gt;" category="forum" />
          </tags>
          <attributes>
            <add name="general_font_face" attributeName="face" defaultValue="verdana" template="font-family:{value};" tag="general_font" />
            <add name="general_font_size" attributeName="size" defaultValue="10" template="font-size:{value}px;" tag="general_font" />
            <add name="forum_id" attributeName="id" defaultValue="" template="" tag="forum_topic" />
          </attributes>
          <allowedPatterns>
            <add name="a" pattern="^1[0-4]$" tagAttribute="general_font_size" />
          </allowedPatterns>
          <allowedValues>
            <add name="a" value="verdana" tagAttribute="general_font_face" />
            <add name="b" value="arial" tagAttribute="general_font_face" />
            <add name="c" value="courier" tagAttribute="general_font_face" />
            <add name="d" value="18" tagAttribute="general_font_size" />
          </allowedValues>
        </nml>
      </site>
    </sites>
  </episerver.community>
  <location path="EPiServerCommunity">
    <system.web>
      <authorization>
        <deny users="?" />
      </authorization>
    </system.web>
  </location>
  <location path="EPiServerCommunity/Modules/DocumentArchive/Files">
    <system.web>
      <authorization>
        <allow users="*" />
      </authorization>
    </system.web>
  </location>
  <location path="EPiServerCommunity/Modules/ImageGallery/Thumbnails">
    <system.web>
      <authorization>
        <allow users="*" />
      </authorization>
    </system.web>
  </location>
  <location path="EPiServerCommunity/Images">
    <system.web>
      <authorization>
        <allow users="*" />
      </authorization>
    </system.web>
  </location>
  <location path="EPiServerCommunity/Js">
    <system.web>
      <authorization>
        <allow users="*" />
      </authorization>
    </system.web>
  </location>
  <location path="EPiServerCommunity/Styles">
    <system.web>
      <authorization>
        <allow users="*" />
      </authorization>
    </system.web>
  </location>
  <location path="EPiServerCommunity/Modules/VideoGallery/UploadVideo.aspx">
    <system.web>
      <authorization>
        <allow users="*" />
      </authorization>
    </system.web>
  </location>
  <episerver.mail configSource="EPiServerMail.config" />
  <location path="EPiServerMail">
    <system.web>
      <authorization>
        <deny users="?" />
      </authorization>
    </system.web>
  </location>
  <location path="EPiServerMail/Public">
    <system.web>
      <authorization>
        <allow users="*" />
      </authorization>
    </system.web>
  </location>
  <episerver.mail.communitysource>
    <sites>
      <site hostname="Default">
        <communitySource subscriptionUserAttributeName="EPiServerMailSubscriber" />
      </site>
    </sites>
  </episerver.mail.communitysource>
  <applicationSettings>
    <EPiServer.Templates.RelatePlus.Properties.Settings>
      <setting name="MaxPortraitImageSize" serializeAs="String">
        <value>5242880</value>
      </setting>
      <setting name="MyPageRootCategory" serializeAs="String">
        <value>MyPage</value>
      </setting>
      <setting name="ImageFormats" serializeAs="Xml">
        <value>
          <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
            <string roleId="jpg">jpg</string>
            <string roleId="jpeg">jpeg</string>
            <string roleId="gif">gif</string>
            <string roleId="png">png</string>
          </ArrayOfString>
        </value>
      </setting>
      <setting name="BlogRootCategory" serializeAs="String">
        <value>Blog</value>
      </setting>
      <setting name="VideoGalleryRootCategory" serializeAs="String">
        <value>VideoGallery</value>
      </setting>
      <setting name="ImageGalleryRootCategory" serializeAs="String">
        <value>ImageGallery</value>
      </setting>
      <setting name="MaxBlogImageSize" serializeAs="String">
        <value>5242880</value>
      </setting>
      <setting name="AdministratorsGroupName" serializeAs="String">
        <value>Administrators</value>
      </setting>
      <setting name="RootForumId" serializeAs="String">
        <value>1</value>
      </setting>
      <setting name="MaxImageGalleryImageSize" serializeAs="String">
        <value>5242880</value>
      </setting>
      <setting name="CommunityMembersGroupName" serializeAs="String">
        <value>CommunityMembers</value>
      </setting>
      <setting name="ClubRootCategory" serializeAs="String">
        <value>Club</value>
      </setting>
      <setting name="MaxClubImageSize" serializeAs="String">
        <value>5242880</value>
      </setting>
      <setting name="MinimumVotesRequired" serializeAs="String">
        <value>1</value>
      </setting>
      <setting name="ActionWallEntry" serializeAs="String">
        <value>actionWallEntry</value>
      </setting>
      <setting name="ActionFriendship" serializeAs="String">
        <value>actionFriendship</value>
      </setting>
      <setting name="ActionBlogEntry" serializeAs="String">
        <value>actionBlogEntry</value>
      </setting>
      <setting name="ActionForumTopic" serializeAs="String">
        <value>actionForumTopic</value>
      </setting>
      <setting name="ActionForumReply" serializeAs="String">
        <value>actionForumReply</value>
      </setting>
      <setting name="ActionVideoUpload" serializeAs="String">
        <value>actionVideoUpload</value>
      </setting>
      <setting name="ActionClubMembership" serializeAs="String">
        <value>actionClubMembership</value>
      </setting>
      <setting name="ActionCreateClub" serializeAs="String">
        <value>actionCreateClub</value>
      </setting>
      <setting name="ActionImageComment" serializeAs="String">
        <value>actionImageComment</value>
      </setting>
      <setting name="ActionVideoComment" serializeAs="String">
        <value>actionVideoComment</value>
      </setting>
      <setting name="ActionBlogComment" serializeAs="String">
        <value>actionBlogComment</value>
      </setting>
      <setting name="ActionImageUpload" serializeAs="String">
        <value>actionImageUpload</value>
      </setting>
      <setting name="MsnIntegrationHandlerUrl" serializeAs="String">
        <value>/Templates/RelatePlus/Pages/MsnIntegrationHandler.aspx</value>
      </setting>
      <setting name="MsnWebSignupUrl" serializeAs="String">
        <value>http://settings.messenger.live.com/applications/websignup.aspx?returnurl={0}&amp;privacyurl={1}</value>
      </setting>
      <setting name="DefaultUserBirthdate" serializeAs="String">
        <value>1900-01-01</value>
      </setting>
      <setting name="ActionClubWallEntry" serializeAs="String">
        <value>actionClubWallEntry</value>
      </setting>
    </EPiServer.Templates.RelatePlus.Properties.Settings>
  </applicationSettings>
  <system.webServer>
    <modules runAllManagedModulesForAllRequests="true">
      <add name="ImageVault" type="ImageStoreNET.PluginStartup, ImageVault.EPiServer5" />
      <add name="IIS5XWildCardExtensionFix" type="ImageStoreNET.Classes.IIS5XWildCardExtensionFix, ImageStoreNET" />
    </modules>
    <handlers>
      <clear />
      <add name="ImageVaultHandler.aspx_*" path="ImageVaultHandler.aspx" verb="*" type="ImageStoreNET.Classes.Handlers.ImageHandler, ImageStoreNET" preCondition="integratedMode,runtimeVersionv2.0" />
      <add name="UploadHandler.ashx_*" path="UploadHandler.ashx" verb="*" type="ImageStoreNET.Classes.Handlers.UploadHandler, ImageStoreNET" preCondition="integratedMode,runtimeVersionv2.0" />
      <add name="Embed.aspx_*" path="Embed.aspx" verb="*" type="Se.MeridiumKalmar.Web.EmbeddedHandler, ImageVault.Core" preCondition="integratedMode,runtimeVersionv2.0" />
      <add name="ScriptResource.axd_GET,HEAD" path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv2.0" />
      <add name="*_AppService.axd_*" path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv2.0" />
      <add name="*.asmx_*" path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv2.0" />
    </handlers>
    <validation validateIntegratedModeConfiguration="false" />
  </system.webServer>
  <se.meridium.epiServer.extensions>
    <imageVault ImagePathOriginal="E:\EPiServer\Sites\EEM\EEM.Verksamhetsportal.Web\ImageStoreNET\Data\ImageDB" ShoppingOrderPath="E:\EPiServer\Sites\EEM\EEM.Verksamhetsportal.Web\ImageStoreNET\Data\Orders" AdminGroups="Administrators" EditorGroups="Administrators" ImageVaultConnStr="Server=hugin\hugin2008;Database=EEMVP_ImageVault;UID=xxx;password=xxx;" />
    <!---->
  </se.meridium.epiServer.extensions>
  <location path="ImageStoreNET/WS/ExternDataService.asmx">
    <system.web>
      <authorization>
        <deny users="?" />
      </authorization>
    </system.web>
  </location>
  <location path="ImageStoreNET/WS/Ajax">
    <system.web>
      <customErrors mode="Off" />
      <authorization>
        <allow users="?" />
      </authorization>
    </system.web>
  </location>
  <location path="ImageStoreNET/WS">
    <system.web>
      <authorization>
        <allow users="?" />
      </authorization>
    </system.web>
  </location>
  <location path="ImageStoreNET">
    <system.web>
      <authorization>
        <deny users="?" />
      </authorization>
    </system.web>
  </location>
</configuration>

#34991
Nov 23, 2009 15:31
Vote:
 

One last question: Do you use IIS 5.1/6 or IIS7/7.5?

#34992
Nov 23, 2009 15:53
Vote:
 

IIS 6, win2003

#34994
Nov 23, 2009 15:59
Vote:
 

Hi

Tested everything on a new related+ installation, and it worked fine without any modifications. The problem is either somewhere in your web.config file or that the actual asmx service is not at that location.

What I would do:

  1. Install a clean new installation of Relate+
  2. Download BeyondCompare, or a similar tool
  3. Do a compare between the two web.config files to see what's different
  4. create a new .asmx in your root folder and try accessing it
#35001
Nov 23, 2009 19:23
Vote:
 

I installed a new relate+ installation,

Created a webservice, visited the .asmx file and clicked on the available method on the web interface(clicked on the invoke button) But I recieved again an 404.  :/

#35007
Nov 24, 2009 9:27
Vote:
 

Okay so the URL worked fine now to the .asmx? But the method returned an 404 error?

#35043
Nov 25, 2009 9:48
Vote:
 

The url to the webservice has always worked, but if I typed the webservice/mymethod, then I would recieve the 404.

Anyways I managed to solve the problem by adding the isapi filter in the iis for the file extension .asmx.

And btw, I appreciate that you took your time to answer the my posts. Thanks

#35045
Nov 25, 2009 9:53
* 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.