1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice

Simple aspx documents dont work !

Discussion in 'Plesk for Windows - 8.x and Older' started by emsol, Aug 26, 2004.

  1. emsol

    emsol Guest

    0
     
    Simple .aspx document brings up the following error...

    Access denied to 'C:\Inetpub\vhosts\domain.com\domain.com'. Failed to start monitoring file changes.
    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.Web.HttpException: Access denied to 'C:\Inetpub\vhosts\domain.com\domain.com'. Failed to start monitoring file changes.

    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:


    [HttpException (0x80070005): Access denied to 'C:\Inetpub\vhosts\domain.com\domain.com'. Failed to start monitoring file changes.]
    System.Web.DirectoryMonitor.AddFileMonitor(String file) +381
    System.Web.DirectoryMonitor.StartMonitoringFile(String file, FileChangeEventHandler callback, String alias) +76
    System.Web.FileChangesMonitor.StartMonitoringPath(String alias, FileChangeEventHandler callback) +495
    System.Web.Caching.CacheDependency.Init(Boolean isPublic, Boolean isSensitive, String[] filenamesArg, String[] cachekeysArg, CacheDependency dependency, DateTime utcStart) +1535
    System.Web.Caching.CacheDependency..ctor(Boolean isSensitive, String[] filenames, DateTime utcStart) +50
    System.Web.Configuration.HttpConfigurationSystem.GetCacheDependencies(Hashtable cachedeps, DateTime utcStart) +151
    System.Web.Configuration.HttpConfigurationSystem.ComposeConfig(String reqPath, IHttpMapPath configmap) +697
    System.Web.HttpContext.GetCompleteConfigRecord(String reqpath, IHttpMapPath configmap) +434
    System.Web.HttpContext.GetCompleteConfig() +49
    System.Web.HttpContext.GetConfig(String name) +195
    System.Web.CustomErrors.GetSettings(HttpContext context, Boolean canThrow) +20
    System.Web.HttpResponse.ReportRuntimeError(Exception e, Boolean canThrow) +39
    System.Web.HttpRuntime.FinishRequest(HttpWorkerRequest wr, HttpContext context, Exception e) +486

    Desperate for some help here.
     
  2. emsol

    emsol Guest

    0
     
    Cant run ANY asp.net on the server at all.

    Get the following message in a browser. The message in the above post appears in a browser on the server itself

    Server Error in '/' Application.
    --------------------------------------------------------------------------------

    Runtime Error
    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

    Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


    <!-- Web.Config Configuration File -->

    <configuration>
    <system.web>
    <customErrors mode="Off"/>
    </system.web>
    </configuration>


    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


    <!-- Web.Config Configuration File -->

    <configuration>
    <system.web>
    <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
    </configuration>
     
  3. emsol

    emsol Guest

    0
     
    I'll share the answer...

    By default the ASPNET account doesnt have permissions on the c:\inetpub\vhosts\username\blah\blah folders and it needs to in order to run scripts in the users sites.

    Gave it read and execute - seems to be fine now.
     
  4. jahsh420

    jahsh420 Guest

    0
     
    was this just the aspnet user for the server? we are running into the same problem and getting this error:

    server error in '/' application
     
  5. visupport

    visupport Guest

    0
     
    Access denied to 'C:\Inetpub\vhosts\domain.com\domain.com' just denotes that there is no domain.com folder inside %plesk_vhosts%/vhosts/domain.com folder.
    Change script path to C:\Inetpub\vhosts\domain.com\httpdocs and it should work.:)
     
  6. ebabjohn

    ebabjohn Guest

    0
     
    Newbie Help

    Hello Friends,

    I'm a newbie....pls how do I give the permission to asp.net so that asp pages can work on my server....

    Thanks
    ebabjohn
     
  7. Traged1

    Traged1 Guest

    0
     
    So you are saying that if we want to allow ASP.NET 2 on a domain we need to manaully edit the permissions each time? WTF? We have over 600+ accounts on two PLESK windows server, how can we go abount adjusting every one of them manually? Isn't PLESK support to setup the permissions for these accounts?
     
Loading...