UnauthorizedAccessException

Last post 10-22-2007, 10:03 AM by Adam. 1 replies.
Sort Posts: Previous Next
  •  10-22-2007, 1:48 AM 34466

    UnauthorizedAccessException

    When i call the cute chat test page (CuteChat/_safe_server_info_/default.aspx) in our server, it's throwing four CuteChat Kernal Exception.

    details here;

    Class Message
    UnauthorizedAccessException [ Access to the path 'C:\Documents and Settings\WEBSERVER\ASPNET\LOCALS~1\Temp\8c30316a' is denied. ]
    UnauthorizedAccessException [ Access to the path 'C:\Documents and Settings\WEBSERVER\ASPNET\LOCALS~1\Temp\8c30316a' is denied. ]
    UnauthorizedAccessException [ Access to the path 'C:\Documents and Settings\WEBSERVER\ASPNET\LOCALS~1\Temp\ec33947d' is denied. ]
    UnauthorizedAccessException [ Access to the path 'C:\Documents and Settings\WEBSERVER\ASPNET\LOCALS~1\Temp\ec33947d' is denied. ]

    how can i fix it?

  •  10-22-2007, 10:03 AM 34482 in reply to 34466

    Re: UnauthorizedAccessException

    To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the "{machinename}\ASPNET" user. Highlight the ASP.NET account, and check the Write box in the Allow column. "
     
     
    If you did the above, and you still get the error, it probably means the application is NOT running under the <machinename>_ASPNET user. Look in your web.config for <identity --- attributes and try granting read/write access to the IUSR<machinename> account and / or any other accounts (or groups) the app may be running under.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML