Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

fso.CreateTextFile error 800a0046

Status
Not open for further replies.

bjzielinski

IS-IT--Management
Nov 8, 2001
93
US
I know this is a file permission problem, but I cannot see the file permissions myself. I only have FrontPage access to the remote host. I can have the administrator look at it, but I'd like to tell him exactly what to do. Basically I have a script that creates a temp file for vcard downloading. When I run the script, I get

Microsoft VBScript runtime error '800a0046'
Permission denied
/vcard.asp, line 44

vcard.asp contents:
42: whichFN=server.mappath("/vcards/test.vcf")
43: Set fstemp = server.CreateObject("Scripting.FileSystemObject")
44: Set filetemp = fstemp.CreateTextFile(whichFN, true)

The file does exist (same error even if it doesn't).
Is it possible for me to see the file permissions, and if not, what does the IUSR permission need? Thanks.

Bill Zielinski
bzielinski@co.midland.mi.us
County of Midland, Michigan
 
Start the Windows 2000 Help from the Start Menu. Select the Index tab in the navigation pane at the left. For "keyword to find" enter:

file permissions

Select the subtopic:

associated special permissions (list)

This should take you to a nice table showing the file permissions and what each gets you.

My guess is your IUSR... user only needs read and write permissions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top