More in this section
Forums / Set-up & Installation / .NET 4 - AutoStart

.NET 4 - AutoStart

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Jeremy
    Jeremy avatar
    17 posts
    28 Jul 2010
    01 Dec 2010
    Link to this post
    Has anyone tried setting up Sitefinity 3.7 SP4 (targeting .NET 4) using the AutoStart feature?

    Here's the background on the .NET 4 AutoStart feature:

    I'm trying to get this running on a shared provider. They've made the changes in applicationHost.config to specify that my app should always be running and specified which serviceAutoStartProvider to use, but I think they want me to define the serviceAutoStartProvider in my web.config rather than applicationHost.config.

    I had thought I could just add

          <add name="PreWarmMyCache" type="PreWarmMyCache, MyAssembly" />

    to the <configuration> section of my web.config, but .NET throws an error saying that <system.applicationHost> is invalid. I know the default mode is to not allow that section to be overridden and I am waiting to hear back from the host whether they have changed that or not.

    Just seeing if anyone has any recommendations.

  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    01 Feb 2016
    03 Dec 2010
    Link to this post
    Hello Jeremy,

    Thank you for using our services.

    The reason you are getting this exception is because this configuration section is specific to the IIS application host config file. This section contains global settings and cannot be used in web.config. More information can be found here: <system.applicationHost>.

    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered