|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
IIS permission denied error
I'm trying to copy a file from the web server to another server located on the same network. I get permission denied and I'm not sure where to adjust the settings in IIS to allow this.
The code I'm using is ASP and the code is below. Code:
dim fs,f
set fs=Server.CreateObject("Scripting.FileSystemObject")
If (fs.FileExists("d:\1337\Operations\test\test.txt"))=true Then
response.write("its here")
set f=fs.GetFile("d:\1337\Operations\test\test.txt")
f.Copy "\\bat01\bat01-d\operations\tags\test.txt",false
else
response.write("not here")
end if
set f=nothing
set fs=nothing
|
|
#2
|
|||
|
|||
|
Hi
,I dont know your configuration of IIS nor the Account handling the IIS process. Give permissions in the specific folder which you write for the IUSR_COMP Account, that might help. Jeethu Joseph IIS/Asp.Net Engineer Microsoft |
|
#3
|
|||
|
|||
|
Is the web server having problems executing the ASP page, or is the destination not allowing the file copy?
Also, check out FileMon from http://sysinternals.com/ . It might help you out. |
|
#4
|
|||
|
|||
|
Server where you wanna copy your file.Give Read and Write permission.
Jeethu Joseph IIS/Asp.Net Engineer Microsoft. |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > IIS permission denied error |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|