|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
File System Object Error
Hi all
i am looking into using the File System object on an intranet through ASP so as the user can move files from there local drive onto the server drive. i have got the code working moving files from one local drive to another but a problem arrises when i transfer from a local drive to a mapped network drive (the server). the errror is: Permission Denied the mapped network drive has full read and write access. any ideas as to why this is happening, or is there a better way? |
|
#2
|
|||
|
|||
|
Does it have full read/write access even for the IIS user? Usually asp applications are run by a user called IIS_USERNAME. This user will most likely not be logged into the server domain, and thus not have access to the server. Say the computer that is running the webserver is called "WEB" then you would need to specificially give access to \\WEB\IIS_WEBUSER (websuser is just the name that the service runs under, you can check this in your IIS control Panel). Or you can see the User that is running the asp application by doing a
request.serverVariables("AUTH_USER") |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > File System Object Error |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|