PC Review


Reply
Thread Tools Rate Thread

Can't upload file

 
 
Ian Hills
Guest
Posts: n/a
 
      2nd Jun 2005
On trying to upload a file, I get the error message below, even though I've
allowed uploads to the _private directory in FrontPage.

However I can't select the security tab in Explorer properties (as suggested
below) because there isn't one. Any ideas on how I can enable write access
gratefully received.

I'm using XP Professional on a standalone PC.


Exception Details: System.UnauthorizedAccessException: Access to the path
"c:\inetpub\wwwroot\demo\_private\j0239185.wmf" is denied.

The ASP.NET process is not authorized to access the requested resource. For
security reasons the default ASP.NET process identity is
'{machinename}\ASPNET', which has limited privileges. Consider granting
access rights to the resource to the ASP.NET process identity.

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.



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.784 / Virus Database: 530 - Release Date: 27/10/2004


 
Reply With Quote
 
 
 
 
Thomas A. Rowe
Guest
Posts: n/a
 
      2nd Jun 2005
Don't use the _private folder as the FP extensions control the permissions on it. Create another
folder and then assign whatever permissions you need via NTFS, etc.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WebMaster Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

"Ian Hills" <(E-Mail Removed)> wrote in message news:d7npm1$ipo$(E-Mail Removed)...
> On trying to upload a file, I get the error message below, even though I've
> allowed uploads to the _private directory in FrontPage.
>
> However I can't select the security tab in Explorer properties (as suggested
> below) because there isn't one. Any ideas on how I can enable write access
> gratefully received.
>
> I'm using XP Professional on a standalone PC.
>
>
> Exception Details: System.UnauthorizedAccessException: Access to the path
> "c:\inetpub\wwwroot\demo\_private\j0239185.wmf" is denied.
>
> The ASP.NET process is not authorized to access the requested resource. For
> security reasons the default ASP.NET process identity is
> '{machinename}\ASPNET', which has limited privileges. Consider granting
> access rights to the resource to the ASP.NET process identity.
>
> 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.
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.784 / Virus Database: 530 - Release Date: 27/10/2004
>
>



 
Reply With Quote
 
Kyle Peterson
Guest
Posts: n/a
 
      3rd Jun 2005
articles on permissions that may help

http://www.powerasp.com/content/new/...ermissions.asp

"Thomas A. Rowe" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Don't use the _private folder as the FP extensions control the permissions
> on it. Create another folder and then assign whatever permissions you need
> via NTFS, etc.
>
> --
> ==============================================
> Thomas A. Rowe (Microsoft MVP - FrontPage)
> WebMaster Resources(tm)
> http://www.ycoln-resources.com
> FrontPage Resources, WebCircle, MS KB Quick Links, etc.
> ==============================================
> If you feel your current issue is a results of installing
> a Service Pack or security update, please contact
> Microsoft Product Support Services:
> http://support.microsoft.com
> If the problem can be shown to have been caused by a
> security update, then there is usually no charge for the call.
> ==============================================
>
> "Ian Hills" <(E-Mail Removed)> wrote in message
> news:d7npm1$ipo$(E-Mail Removed)...
>> On trying to upload a file, I get the error message below, even though
>> I've
>> allowed uploads to the _private directory in FrontPage.
>>
>> However I can't select the security tab in Explorer properties (as
>> suggested
>> below) because there isn't one. Any ideas on how I can enable write
>> access
>> gratefully received.
>>
>> I'm using XP Professional on a standalone PC.
>>
>>
>> Exception Details: System.UnauthorizedAccessException: Access to the path
>> "c:\inetpub\wwwroot\demo\_private\j0239185.wmf" is denied.
>>
>> The ASP.NET process is not authorized to access the requested resource.
>> For
>> security reasons the default ASP.NET process identity is
>> '{machinename}\ASPNET', which has limited privileges. Consider granting
>> access rights to the resource to the ASP.NET process identity.
>>
>> 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.
>>
>>
>>
>> ---
>> Outgoing mail is certified Virus Free.
>> Checked by AVG anti-virus system (http://www.grisoft.com).
>> Version: 6.0.784 / Virus Database: 530 - Release Date: 27/10/2004
>>
>>

>
>



 
Reply With Quote
 
Kyle Peterson
Guest
Posts: n/a
 
      3rd Jun 2005
and

http://www.powerasp.com/content/new/...ermissions.asp




"Kyle Peterson" <(E-Mail Removed)> wrote in message
news:v0Pne.12820$zb.9252@trndny01...
> articles on permissions that may help
>
> http://www.powerasp.com/content/new/...ermissions.asp
>
> "Thomas A. Rowe" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Don't use the _private folder as the FP extensions control the
>> permissions on it. Create another folder and then assign whatever
>> permissions you need via NTFS, etc.
>>
>> --
>> ==============================================
>> Thomas A. Rowe (Microsoft MVP - FrontPage)
>> WebMaster Resources(tm)
>> http://www.ycoln-resources.com
>> FrontPage Resources, WebCircle, MS KB Quick Links, etc.
>> ==============================================
>> If you feel your current issue is a results of installing
>> a Service Pack or security update, please contact
>> Microsoft Product Support Services:
>> http://support.microsoft.com
>> If the problem can be shown to have been caused by a
>> security update, then there is usually no charge for the call.
>> ==============================================
>>
>> "Ian Hills" <(E-Mail Removed)> wrote in message
>> news:d7npm1$ipo$(E-Mail Removed)...
>>> On trying to upload a file, I get the error message below, even though
>>> I've
>>> allowed uploads to the _private directory in FrontPage.
>>>
>>> However I can't select the security tab in Explorer properties (as
>>> suggested
>>> below) because there isn't one. Any ideas on how I can enable write
>>> access
>>> gratefully received.
>>>
>>> I'm using XP Professional on a standalone PC.
>>>
>>>
>>> Exception Details: System.UnauthorizedAccessException: Access to the
>>> path
>>> "c:\inetpub\wwwroot\demo\_private\j0239185.wmf" is denied.
>>>
>>> The ASP.NET process is not authorized to access the requested resource.
>>> For
>>> security reasons the default ASP.NET process identity is
>>> '{machinename}\ASPNET', which has limited privileges. Consider granting
>>> access rights to the resource to the ASP.NET process identity.
>>>
>>> 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.
>>>
>>>
>>>
>>> ---
>>> Outgoing mail is certified Virus Free.
>>> Checked by AVG anti-virus system (http://www.grisoft.com).
>>> Version: 6.0.784 / Virus Database: 530 - Release Date: 27/10/2004
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to delegate IIS's FTP File Upload and Upload Failure Events from C#? ABC Microsoft C# .NET 0 24th Jan 2007 09:17 AM
Upload a file without file Upload control - ASP.Net =?Utf-8?B?U2FyYXY=?= Microsoft ASP .NET 3 3rd Aug 2005 02:09 AM
How to disable the upload file input field after success upload cschang Microsoft ADO .NET 0 14th Jan 2005 04:50 AM
File Upload FP2002 - upload works but email and confirm don't rmc Microsoft Frontpage 1 24th Mar 2004 03:58 PM
File Upload (Email) and catching the Upload size of 4mb BTHOMASinOHIO Microsoft Dot NET 1 25th Nov 2003 03:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:04 PM.