navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Free FrontPage Templates

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Permission denied

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Microsoft FrontPage Help >> Permission denied
Page: [1]
 
Ruff

 

Posts: 132
Joined: 2/12/2004
From: Malta
Status: offline

 
Permission denied - 11/24/2007 7:13:43   
I am using this script to move files from one folder to another with WinXP Pro, IIS, FrontPage 2000


<%
dim fs,f
set fs=Server.CreateObject("Scripting.FileSystemObject")
Set f=fs.GetFile("C:\test.txt")
f.Move("C:\test\test.txt") ' <--- line 14
set f=nothing
set fs=nothing
%>

and i keep getting "Permission denied" on line 14

This looked like a Windows security issue to me. I have full access on all drives and yet......

When I click on the hard disk or folder properties all I have is the general, Sharing, Web Sharing and Customize tabs

Any ideas?


_____________________________

Tell me and I will forget. Involve me and I will understand.
William Lee

 

Posts: 1179
Joined: 1/25/2002
From: Singapore
Status: offline

 
RE: Permission denied - 11/24/2007 7:42:33   
Try change to:


<%
dim fs
set fs=Server.CreateObject("Scripting.FileSystemObject")
fs.MoveFile "C:\test.txt", "C:\test\test.txt"
set fs=nothing
%>



_____________________________

William Lee

pǝssǝɟoɹd-ɟ1ǝs ʎɥʇɹoʍʇsnɹʇ ʇsoɯ ɹnoʎ
nɹnb ǝsɐqɐʇɐp & dsɐ ,ʍɹp ,ǝbɐdʇuoɹɟ





(in reply to Ruff)
Ruff

 

Posts: 132
Joined: 2/12/2004
From: Malta
Status: offline

 
RE: Permission denied - 11/24/2007 11:04:28   
Same problem :(

_____________________________

Tell me and I will forget. Involve me and I will understand.

(in reply to William Lee)
William Lee

 

Posts: 1179
Joined: 1/25/2002
From: Singapore
Status: offline

 
RE: Permission denied - 11/24/2007 22:47:19   
quote:

ORIGINAL: Ruff


This looked like a Windows security issue to me. I have full access on all drives and yet......

When I click on the hard disk or folder properties all I have is the general, Sharing, Web Sharing and Customize tabs

Any ideas?



Strange isn't it. You should be having the Security tab as well.

In WinXP Pro, open Windows Explorer, go to Tools, Folder Options, View and uncheck Use Simple File Sharing. That should show the security tab and you can then configure permissions for the Internet user IUSER


_____________________________

William Lee

pǝssǝɟoɹd-ɟ1ǝs ʎɥʇɹoʍʇsnɹʇ ʇsoɯ ɹnoʎ
nɹnb ǝsɐqɐʇɐp & dsɐ ,ʍɹp ,ǝbɐdʇuoɹɟ





(in reply to Ruff)
Ruff

 

Posts: 132
Joined: 2/12/2004
From: Malta
Status: offline

 
RE: Permission denied - 11/25/2007 4:28:19   
PERFECT - IT WORKS :)

That was the problem - IUSR was not in the permission list!!!

Thanks!!!!

_____________________________

Tell me and I will forget. Involve me and I will understand.

(in reply to William Lee)
Page:   [1]

All Forums >> Web Development >> Microsoft FrontPage Help >> Permission denied
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts