This is a multipart message in MIME format.
--=_alternative 002509DD48256B7D_
Content-Type: text/plain; charset="us-ascii"
If machines are part of a domain or different domains, make sure your CLR
runs under DomainName\User account and not under MachineName\User account
(by default .Net runs under MachineName\ASPNet user name). Then assign
permission on Machine C to domain user under which CLR is running.
You can change the process identity in machine.config file's processModel
section (usually located at c:\winnt\Microsoft.Net\Framework\<Version
Number>\Config)
Regards,
IS_
charles.lam@g...
03/15/2002 11:46 AM
Please respond to "ASPX_Professional"
To: "ASPX_Professional" <aspx_professional@p...>
cc:
Subject: [aspx_professional] File Upload
Hi All !
I have some reason have to do file uploading from Machine A -> B -> C
I am calling a aspx page from Machine B and uploading a file from Machine
A to Machine B's Q: drive... Since Q: drive is mapped to Machine C...
Q: drive is the mapped drive for Machine C (which is c:\temp and share
name is "temp" too) in Machine B
so that I can uploading a file from A -> C through the middle point
Machine B
Again, I have Installed .Net SDK for all of the Machine A,B,C.
{machineB}\ASPNET account has already added into Machine C and set the
full access control for that folders c:\temp.
but I still have receive the following error:
Access to the path "Q:\abc.txt" 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
"q:\abc.txt" 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.
Regards,
Charles.
This e-mail (and any attachment (s)) is confidential and for use only by
intended recipient (s). Access by others is unauthorised. Its content
should not be relied upon and no liability or responsibility is accepted
by
us, without our subsequent written confirmation of its content. If you are
not an intended recipient, please notify us promptly and delete all copies
and note that any disclosure, copying, distribution or any action taken or
omitted to be taken in reliance on the information it contains is
prohibited and may be unlawful. Further information on Guoco Group is
available from http://www.guoco.com
This e-mail (and any attachment (s)) is confidential and for use only by
intended recipient (s). Access by others is unauthorised. Its content
should not be relied upon and no liability or responsibility is accepted by
us, without our subsequent written confirmation of its content. If you are
not an intended recipient, please notify us promptly and delete all copies
and note that any disclosure, copying, distribution or any action taken or
omitted to be taken in reliance on the information it contains is
prohibited and may be unlawful. Further information on Guoco Group is
available from http://www.guoco.com