» Quick Links
You can make money on these forums
We Share profits with you
Google
Google Adsense
Google Adwords
YPN
Yahoo
MSN Search
Web Directories
Web Hosting
Web Hosting Offers
Hosting News
Suggestions
Link Building
Domain Names
PHP Forums
MySQL Forums
» More Links
OSP News
Reseller Hosting
Shared Hosting
Dedicated Servers
Google Adsense
Search Engine Marketing
Link Development
Affiliate Marketing


» Advertising
Multiple DC PR Check

Free SEO Tools


Go Back   Webmaster Forums > Website Developement / Programming > ASP forums and Tips

ASP forums and Tips Talk about ASP Scripting. .net and Cold Fusion as well.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-17-2006, 01:50 PM
edgy edgy is offline
Junior Member
 
Join Date: Aug 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
edgy is on a distinguished road
Question "Microsoft VBScript runtime (0x800A0046) Permission denied"

Hi everybody

I am getting "Microsoft VBScript runtime (0x800A0046) Permission denied" error at

Code:

set file = fs.OpenTextFile(fileName, openMethod, true)
I have given permission IUSR_<computername> user to read/modify the directory by adding it to the security tab. I have even given permission to Everyone but still I am getting the same error.

What gives........
Thanx -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Revenue Sharing Ads ( ?):
  #2  
Old 08-17-2006, 01:53 PM
Timon Timon is offline
OSP Starters
 
Join Date: Jul 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Timon is on a distinguished road
Default

Hi

Tell me what open method are you using?

The options are ForReading and ForAppending.

You also might want to verify the file has received the correct IUSR permissions from the directory.

Cheers -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  #3  
Old 08-17-2006, 01:56 PM
bestguy bestguy is offline
OSP Starters
 
Join Date: Jul 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
bestguy is on a distinguished road
Talking

Good advice timon, i'm thinking your second suggestion is probably hitting the nail on the head. Edgy, if you change your permissions on a directory in the security tab, you will also need to click the "advanced" button and choose the option to "allow permissions from this object to propegate to objects within this directory" or some other similarly worded microsoft-ese jargon. Sometimes just changing the permissions of a directory will leave the current file permissions intact on files contained within the folder.

Have a nice day' -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Reply


Thread Tools
Display Modes

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VBScript runtime error bond ASP forums and Tips 1 08-26-2006 02:26 PM
Microsoft VBScript runtime error (0x800A0009) johny ASP forums and Tips 1 12-08-2005 06:57 AM


All times are GMT. The time now is 02:45 AM.