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

Forums / Developing with Sitefinity / Access to the path 'TIUSite_v3.2' is denied

Access to the path 'TIUSite_v3.2' is denied

6 posts, 0 answered
  1. Stefan
    Stefan avatar
    2 posts
    Registered:
    25 Mar 2008
    05 Jun 2008
    Link to this post
    After installation I have started the Project Manager and selected
    "Explore Sample Site".

    Then the following page appeared :

    Server Error in '/telerik/Sitefinity3.2.Community' Application.
    --------------------------------------------------------------------------------

    Access to the path 'TIUSite_v3.2' is denied.
    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.UnauthorizedAccessException: Access to the path 'TIUSite_v3.2' is denied.

    ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

    To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

    Source Error:


    Line 29:     void createSample_Click(object sender, EventArgs e)
    Line 30:     {
    Line 31:         Manager.CreateSampleSite();
    Line 32:         Response.Redirect("/telerik/TIUSite_v3.2");
    Line 33:     }
     

    Source File: c:\Programme\telerik\Sitefinity3.2 Community\ProjectManager\Default.aspx.cs    Line: 31

    Stack Trace:


    [UnauthorizedAccessException: Access to the path 'TIUSite_v3.2' is denied.]
       System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +2014035
       System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity) +2710032
       System.IO.DirectoryInfo.Create() +15
       Xceed.FileSystem.DiskFolder.DoCreate(FileSystemEventsSession session) +60

    [FileSystemException: The physical folder represented by the item could not be created.
    Type: Xceed.FileSystem.DiskFolder
    FullName: C:\Programme\telerik\Sitefinity3.2 Community\WebSites\TIUSite_v3.2\]
       Xceed.FileSystem.AbstractFolder.CopyFilesTo(FileSystemEvents events, Object userData, AbstractFolder destinationFolder, Boolean recursive, Boolean replaceExistingFiles, Object[] filters) +242
       Xceed.Zip.QuickZip.Unzip(String zipFileName, String destinationFolder, String decryptionPassword, Boolean replaceExistingFiles, Boolean recursive, Boolean preservePaths, DiskRequiredCallback diskRequiredCallback, ByteProgressionCallback byteProgressionCallback, ItemProgressionCallback itemProgressionCallback, Object userParams, String[] filesToUnzip) +756

    [QuickZipException: An error occurred while extracting files from the zip file.]
       Xceed.Zip.QuickZip.Unzip(String zipFileName, String destinationFolder, String decryptionPassword, Boolean replaceExistingFiles, Boolean recursive, Boolean preservePaths, DiskRequiredCallback diskRequiredCallback, ByteProgressionCallback byteProgressionCallback, ItemProgressionCallback itemProgressionCallback, Object userParams, String[] filesToUnzip) +997
       Xceed.Zip.QuickZip.Unzip(String zipFileName, String destinationFolder, Boolean replaceExistingFiles, Boolean recursive, Boolean preservePaths, String[] filesToUnzip) +41
       Telerik.Cms.ProjectManager.Manager.CreateSampleSite() in c:\BuildScripts\Sitefinity\Builds\Sitefinity3.2\Telerik.Cms.ProjectManager\Manager.cs:286
       _DefaultPage.createSample_Click(Object sender, EventArgs e) in c:\Programme\telerik\Sitefinity3.2 Community\ProjectManager\Default.aspx.cs:31
       System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +105
       System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +107
       System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +174
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102

     


    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42


    Thanks in advance for your help.
  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    31 Jan 2017
    06 Jun 2008
    Link to this post
    Hello Stefan,

    This error can be caused by the following:
    • The user, with which you are logging in, does not impersonate to an existing windows account. Make sure that Integrated Windows Authentication is enabled and Anonymous access is selected for the Sitefinity3.2 virtual directory in the IIS.
    • The windows account, to which the user is impersonated, has no rights to create virtual directories. Could you set up virtual directories under IIS manually?
    Do let us know if you need any further assistance.

    Regards,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Stefan
    Stefan avatar
    2 posts
    Registered:
    25 Mar 2008
    06 Jun 2008
    Link to this post
    Dear Pepi.

    Thank you for your comments.

    All points are set as you mentioned.
    I can manually create virtual directories without problems.
    Current user account is of administrators group (do not beat me for this,
    I know it is wrong).

    Any more possibilities ?

    Thanks,
    Stefan
  4. Pepi
    Pepi avatar
    981 posts
    Registered:
    31 Jan 2017
    06 Jun 2008
    Link to this post
    Hi Stefan,

    Can you create new web sites through the Project Manager?

    Also, check if the current user is impersonated when you start the Project Manager. Please, look at the attachment for more information.

    Best wishes,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Some french developper
    Some french developper avatar
    1 posts
    Registered:
    10 Jul 2009
    13 Jul 2009
    Link to this post
    Hello,

    I have the exact same problem than Stefan.

    Also I have tried to create my own project, but I can't browse it...

    I have spend the whole day following step by step the Bullet Proof Guide on a fresh Windows Webserver 2008 x64.

    I finally manage to reach the step 9 : "Project Startup / Setup new Sitefinity Website".

    My first difficulty was I couldn't browse the Project Manager (error 404.17). I fixed this by enabling 32 bit application in IIS "Classic .NET AppPool".

    But as I said, now when I browse my newly created project, I have a basic 404 error.

    All I've been able to find out is LocalSystem seems unable to access "C:\Program Files (x86)\telerik\Sitefinity3.6\WebSites\TestCarrousel"???

    Here is the error in IIS (in french, sorry...) :
    "Le serveur est configuré pour utiliser l'authentification directe avec un compte intégré pour accéder au chemin d'accès physique spécifié. Cependant, le Gestionnaire des services Internet ne peut pas vérifier si le compte intégré dispose d'un accès. Vérifiez que l'identité du pool d'applications possède l'accès en lecture au chemin d'accès physique. Si ce serveur est joint à un domaine, et que l'identité du pool d'applications est NetworkService ou LocalSystem, assurez-vous que <domaine>\<nom_ordinateur>$ dispose d'un accès en lecture au chemin d'accès physique. Puis, testez à nouveau les paramètres."

    Thanks for your help.
  6. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    13 Jul 2009
    Link to this post
    Hi Some french developper,

    Thank you for using our services.

    From reading your post I can presume that you have set up the permissions for the database (described in step 8 in the Bullet Proof Guide). Is that right? Can you also check the permissions for the ~/App_Data/ folder of your project? ASPNET worker process must have full control to that folder. Also you can grant access to telerik folder, where your project resides, so that it will be accessible. Make sure that your IIS virtual directory is accessibles.

    To check the permissions over App_Data folder you should follow the steps below:

    1) Right-click the App_Data folder in your web-site.
    2) Select Edit Permissions,  in the newly opened window go to the Security tab.
    3) In the list for Group or user names check if you have the ASP.NET Machine Account, and if it has full control to the folder.
    4) If it does not, Click Edit and provide the ASP.NET worker process with full permissions to the App_Data folder.

    I hope that this will help you. Please feel free to contact us if you have more issues setting up your project.

    Regards,
    Rado
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Register for webinar
6 posts, 0 answered