Signup · Login
Stardeveloper.com  
Home · Tutorials · Forums · ASP.NET Newsletter Application · Web Hosting Plans · Faisal Khan's Blog · Contact
Forums : ASP : ASP 3.0 : Errors using IIS in Windows 2000 Professional Signup · Login
Author Thread
Errors using IIS in Windows 2000 Professional
Posted in tutorial: Working with Drives, Folders and Files in ASP
·  macrostarrphish
User
Joined: 7 Dec 2002
Total Posts: 1

Errors using IIS in Windows 2000 Professional

Posted: 7 Dec 2002
When simply copying and pasting your code sample I get this errror:

Microsoft VBScript runtime (0x800A0046)
Permission denied
/pictures.asp, line 125

When trying to use your code in a page I wrote I get this error:

Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied
/pictures_BK2.asp, line 187

I assume it is the same line:

Response.Write "<td>" & FormatNumber((folder.Size/1000),0) & " KB</td>"

Can you help me? Do I have to open permissions up on my default web folder? How do I do that?

Thanks!
·  Faisal Khan
AdminAdminAdminAdmin
Joined: 24 Sep 2002
Total Posts: 595
Re: Errors using IIS in Windows 2000 Professional
Posted: 12 Dec 2002
You are getting this error because the folder this script is trying to read doesn't have READ permission for IUSR_MACHINENAME ( where MACHINENAME is the name of your computer ).

You'll have to give that folder READ permission for IUSR_MACHINENAME if you want your script to read it's contents. You can right-click folder name -> Properties -> Security tab -> Add permission for IUSR_MACHINENAME.

Faisal Khan.
Stardeveloper.com
Read Blog | Follow on Facebook, Twitter
Want to leave a comment? Login or Register for free!

Users Who Have Visited This Thread In Last 24 Hours
1 Visitor

Login to post a comment or start a new thread
UserName Or Email Address:       Password:       Auto-Login:    
· Create New User Account
· Send Forgotten Password by Email
 
© 1999 - 2010 Stardeveloper.com, All Rights Reserved.