More in this section

Forums / Developing with Sitefinity / IIS 6.0: Sitefinity as root web site

IIS 6.0: Sitefinity as root web site

3 posts, 0 answered
  1. Jason M
    Jason M avatar
    108 posts
    Registered:
    15 Jan 2007
    04 Jan 2008
    Link to this post
    By default a Sitefinity install creates the website in a virtual directory with the same name as your project, in my case its called CMS.  We'd like to maintain our current site structure, so I've pointed the root (Default Web Site) to the local path of my Sitefinity project (C:\Program Files\telerik\Sitefinity3.1\WebSites\CMS).  I've also deleted the redundant CMS virtual directory and made a few tweaks to the web.config.  Everything is working fine...except the following:
     
    1)  When I click into a Template I get a 404 error and the url looks like this:  http://cmstemp1/CBOC.template?cmspagemode=edit.  Any ideas on this?  I tried reinstalling and get this issue after moving the project to the root directory.
     
    2)  I'm also no longer able to access the Sitefinity project management page at http://localhost/telerik/Sitefinity3.1/.  I get the following error:
     

    Server Error in '/telerik/Sitefinity3.1' Application.

    Configuration Error

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: Could not load file or assembly 'Telerik.Framework' or one of its dependencies. The system cannot find the file specified.

    Source Error:

    Line 152:      </eventMappings>
    Line 153:      <providers>
    Line 154:        <add name="Simple Web Event Provider" type="Telerik.Utilities.TextFileWebEventProvider,Telerik.Framework" logFileName="~/App_Data/sitefinity.log" />
    Line 155:        <add name="Simple Web Buffered Event Provider" type="Telerik.Utilities.BufferedTextFileWebEventProvider,Telerik.Framework" bufferMode="Notification" logFileName="~/App_Data/sitefinity.log" />
    Line 156:      </providers>

    Source File: C:\Program Files\telerik\Sitefinity3.1\WebSites\CMS\web.config    Line: 154

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Framework' could not be loaded.

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
     
     
    Has anyone else done this successfully?  Any help is much appreciated.  I'll continue to tinker and will update this post.

    J
  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    31 Jan 2017
    07 Jan 2008
    Link to this post
    Hi Jason,

    1.You cannot edit templates because you don't have ISAPI mappings for .template extension on the server. ISAPI mappings tell the Internet Information Server how to direct requests for processing. In our case, we instruct that requests with file extensions “.template” and “.rss“ should be passed to ASP.NET for processing.

    Please check if both .rss and .template application mappings are set for the default web site in IIS. For more details about adding application mappings, see User Manual, chapter Configuring IIS.

    2. You are trying to configure Project Manager as a sub-application of your web site. As you know, configuration files are inherited in the application hierarchy, and settings are overridden. So we don't recommend you set the Project Manager as a sub-application of a Sitefinity site because that will cause a lot of problems related to the Project Manager web.config and authentication.

    Hope this is helpful.

    Sincerely yours,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Jason M
    Jason M avatar
    108 posts
    Registered:
    15 Jan 2007
    07 Jan 2008
    Link to this post
    Perfect...problem solved.

    Thanks!
    J
Register for webinar
3 posts, 0 answered