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

Forums / Set-up & Installation / New Installation Configuration Error

New Installation Configuration Error

7 posts, 0 answered
  1. Preston
    Preston avatar
    7 posts
    Registered:
    14 Aug 2008
    15 Aug 2008
    Link to this post
    I just downloaded the Community Edition Blank Project and uploaded it to the subdomain which the site will be running.  I've ran other apps in this subdomain, so I'm sure there's not an issue there.  The error occurse right after step 1 of the installation where I enter the database information.  I'm running SQL Server 2000 and created the database and a user for the database with the appropriate db_owner permissions.  After I enter the information in the step 1 form I get the following error:

    Server Error in '/' 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: An error occurred loading a configuration file: Access to the path 'C:\Inetpub\vhosts\prestonjones.com\subdomains\onestopgi\httpdocs\pzin-u8r.tmp' is denied.

    Source Error:

    [No relevant source lines]

    Source File: C:\Inetpub\vhosts\prestonjones.com\subdomains\onestopgi\httpdocs\web.config    Line: 0


    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433


    I checked the permissions on the httpdocs folder and added the ASPNET user to have full permissions and I'm still getting the same error.  Any thoughts or ideas?  Help would be greatly appreciated as I really like what I see in this application and would hate to get stalled right off the bat.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    15 Aug 2008
    Link to this post
    Hi Preston,

    Thank you for your question.

    It seems that there is a problem with your IIS permissions. As I have noticed, the error message shows that the user doesn't have permissions to the needed path. Here are some suggestions that should help:

    • Ensure that the user that you are using has full permissions to all files in the folder. Sometimes the subfolders don't inherit permissions of their parent folders.
    • Impersonate the ASPNET account to a domain user with an access to the database
    <identity impersonate="true" userName="<domain>\<user>" password="<password>" /> 

    If the problem persists, please write back to us. Any additional information will be helpful in determining the problem


    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Preston
    Preston avatar
    7 posts
    Registered:
    14 Aug 2008
    15 Aug 2008
    Link to this post
    Well, I added the impersonate property and set it up to use the administrator account on the machine (not the safest thing to do, I know) and it worked.  I entered the database information, clicked next, entered information for the admin account for the CMS, clicked next, and got just a blank white page.  I waited a couple minutes but nothing was happening.  The loading bar for the page showed it was done and there didn't seem to be any activity going on.  I closed the browser window, opened a new one to the site and now I'm getting this error:

    Server Error in '/' Application.

    An item with the same key has already been added.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.ArgumentException: An item with the same key has already been added.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [ArgumentException: An item with the same key has already been added.]
    System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) +48
    System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +2668392
    Telerik.Framework.ServiceHost.Initialize() +280
    Telerik.Cms.Web.CmsHttpModule.Init(HttpApplication context) +115
    System.Web.HttpApplication.InitModulesCommon() +66
    System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +1006
    System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +259
    System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +114
    System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +350


    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

    Again, any thoughts or ideas?
  4. Preston
    Preston avatar
    7 posts
    Registered:
    14 Aug 2008
    15 Aug 2008
    Link to this post
    Well, I don't know what just happened, but I waited a few minutes and tried the site again.  Now it comes up with the "under construction" page.  I went to the admin section and it's working as well.  What could have caused that last error I posted?  Oh well.  Thanks for the help.  I'll try not to be a problem user.  =)
  5. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    18 Aug 2008
    Link to this post
    Hello Preston,

    You couldn't be a problem user :) We are glad you no longer experience the issue. The error message notified you that you had the same key in your <appSettings> section of your web.confing file. The second site request has updated the file and the key value in the memory.

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. james
    james avatar
    6 posts
    Registered:
    27 Apr 2009
    11 Apr 2010
    Link to this post
    i'm having this issue with domain.com

    they do not allow me to set the user to have access to have write permissions to the wwwroot folder. is there a way to change which folder that these tmp files get written to???

    thanks!
  7. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    11 Apr 2010
    Link to this post
    Hi james,

    You should grant the ASP.NET user to have permissions to write at least in the web.config and App_Data folder, otherwise you cannot get the website to work properly.

    Kind regards,
    Ivan Dimitrov
    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.
Register for webinar
7 posts, 0 answered