IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 18th, 2006, 01:41 PM
Vomster's Avatar
Vomster Vomster is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 158 Vomster User rank is Lance Corporal (50 - 100 Reputation Level)Vomster User rank is Lance Corporal (50 - 100 Reputation Level)Vomster User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 3 Days 2 h 35 m 58 sec
Reputation Power: 4
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

Reply With Quote
  #2  
Old July 18th, 2006, 01:50 PM
Jeethu Jeethu is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2006
Location: Banglore India
Posts: 22 Jeethu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 44 m 34 sec
Reputation Power: 0
Send a message via Yahoo to Jeethu
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

Reply With Quote
  #3  
Old July 20th, 2006, 02:20 PM
Tekken Tekken is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Location: Texas
Posts: 98 Tekken User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 10 h 1 m 56 sec
Reputation Power: 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.

Reply With Quote
  #4  
Old July 20th, 2006, 02:59 PM
Jeethu Jeethu is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2006
Location: Banglore India
Posts: 22 Jeethu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 44 m 34 sec
Reputation Power: 0
Send a message via Yahoo to Jeethu
Server where you wanna copy your file.Give Read and Write permission.

Jeethu Joseph
IIS/Asp.Net Engineer Microsoft.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > IIS permission denied error


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT