+1-888-365-2779
Try Now
More in this section

Forums / 3.x Pre-release forums (retired) / Configuration Error outside of VS

Configuration Error outside of VS

5 posts, 0 answered
  1. bnye
    bnye avatar
    332 posts
    Registered:
    22 Sep 2005
    23 Dec 2006
    Link to this post

    I'm getting this error whenever I try to run the ProjectManager or the SampleSite outside of Visual Studio. This leads me to believe that this is Permissions issue in IIS. Does anyone have an insight into this. I am not sure if the error is actually applicable or just generic.

    Sincerely,

    Ben
    --------------------------------------------------------------------------------------------------------

    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 105:			</eventMappings>
    Line 106:			<providers>
    Line 107:				<add name="Simple Web Event Provider" type="Telerik.Utilities.TextFileWebEventProvider,Telerik.Framework" logFileName="~/App_Data/sitefinity.log"/>
    Line 108:				<add name="Simple Web Buffered Event Provider" type="Telerik.Utilities.BufferedTextFileWebEventProvider,Telerik.Framework" bufferMode="Notification" logFileName="~/App_Data/sitefinity.log"/>
    Line 109:			</providers>

    Source File: C:\Program Files\telerik\Sitefinity Sites\NEOWebsite\web.config    Line: 107

    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].
    
  2. bnye
    bnye avatar
    332 posts
    Registered:
    22 Sep 2005
    24 Dec 2006
    Link to this post
    After enabling logging in the registry, the following log appeared when trying to run the ProjectManager from the local IIS outside of VS.

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

    === Pre-bind state information ===
    LOG: User = BNYE\ASPNET
    LOG: DisplayName = Telerik.Framework
     (Partial)
    LOG: Appbase = file:///C:/Program Files/telerik/Sitefinity3.0/ProjectManager/
    LOG: Initial PrivatePath = C:\Program Files\telerik\Sitefinity3.0\ProjectManager\bin
    Calling assembly : (Unknown).
    ===
    LOG: This bind starts in default load context.
    LOG: Using application configuration file: C:\Program Files\telerik\Sitefinity3.0\ProjectManager\web.config
    LOG: Using host configuration file: c:\windows\microsoft.net\framework\v2.0.50727\aspnet.config
    LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
    LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/projectmanager/4bc0b6f8/c2945ba7/Telerik.Framework.DLL.
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/projectmanager/4bc0b6f8/c2945ba7/Telerik.Framework/Telerik.Framework.DLL.
    LOG: Attempting download of new URL file:///C:/Program Files/telerik/Sitefinity3.0/ProjectManager/bin/Telerik.Framework.DLL.
    LOG: Attempting download of new URL file:///C:/Program Files/telerik/Sitefinity3.0/ProjectManager/bin/Telerik.Framework/Telerik.Framework.DLL.
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/projectmanager/4bc0b6f8/c2945ba7/Telerik.Framework.EXE.
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/projectmanager/4bc0b6f8/c2945ba7/Telerik.Framework/Telerik.Framework.EXE.
    LOG: Attempting download of new URL file:///C:/Program Files/telerik/Sitefinity3.0/ProjectManager/bin/Telerik.Framework.EXE.
    LOG: Attempting download of new URL file:///C:/Program Files/telerik/Sitefinity3.0/ProjectManager/bin/Telerik.Framework/Telerik.Framework.EXE.
    

    When trying to run the SampleSite from the local IIS outside of VS, I get the following error:

    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: Section or group name 'nolics' is already defined. Updates to this may only occur at the configuration level where it is defined.

    Source Error:

    Line 13: 			<section name="cmsEngine" type="Telerik.Cms.Engine.Configuration.SectionHandler, Telerik.Cms.Engine" requirePermission="false"/>
    Line 14: 			<section name="security" type="Telerik.Security.SecuritySectionHandler, Telerik.Security" requirePermission="false"/>
    Line 15: 			<section name="nolics" type="Telerik.DataAccess.ConnectionSectionHandler, Telerik.DataAccess" requirePermission="false"/>
    Line 16: 			<section name="workflow" type="Telerik.Workflow.WorkflowSectionHandler, Telerik.Workflow" requirePermission="false"/>
    Line 17: 			<section name="articles" type="Telerik.Articles.ArticlesSectionHandler, Telerik.Articles" requirePermission="false"/>

    Source File: C:\Program Files\telerik\Sitefinity3.0\SampleSite\web.config    Line: 15

    This is strange because it is not defined more than once. At any rate has anyone had a similar issue? Or am I all alone on this one?

    Sincerely,

    Ben
  3. Hrisi
    Hrisi avatar
    34 posts
    Registered:
    02 Dec 2016
    27 Dec 2006
    Link to this post
    Hi Ben,

    First of all enabling logging is not required, because we have provided logging facility in Sitefinity trough the HelthMonitoring section in web.config. Default log file is App_Data\sitefinity.log

    For the first error we suppose that the access rights for ASPNET were not set correctly during the installation, or there are old assemblies from a previous installation. To clear up the possible reason, please uninstall Sitefinity beta3, delete all folders under the Sitefinity3.0 directory and reinstall it by leaving all settings unchanged. Please check the following after installation:
    1. You should have administrative privileges on your local machine
    2. Directory Program Files\Common Files\telerik\web should not contain any config files
    3. Account <yourmachine>\ASPNET have full access rights for Program Files\Common Files\telerik\Sitefinity3.0

    Please, let us know how it goes.

    Sincerely yours,

    Hrisi

    the telerik team

  4. bnye
    bnye avatar
    332 posts
    Registered:
    22 Sep 2005
    27 Dec 2006
    Link to this post

    There was no Program Files\Common Files\telerik\Sitefinity3.0.

    I was able to get it to install by removing RAD Controls, Sitefinity2.7, Telerik virtual directories, common files, program files...installing and then adding ASP.NET user to the common files/telerik folder.

    Thanks for your help.

    Sincerely,

    Ben

  5. Bogdana Ivanova
    Bogdana Ivanova avatar
    66 posts
    Registered:
    24 Sep 2012
    28 Dec 2006
    Link to this post
    Hi Ben,

    We are glad to hear that you manage to run Sitefinity 3.0 Beta. Enjoy your work with the new beta of our CMS. Your feedback will be highly appreciated and useful for us.

    Regards,
    Bogdana Ivanova
    the telerik team
Register for webinar
5 posts, 0 answered