Skip to content

Amixa Technical Blog

Permission denied error dealing with Classic ASP loadpicture

To solve the following error, which is generated by the loadpicture object

Microsoft VBScript runtime error ‘800a0046’
Permission denied: ‘loadpicture’

set myImg = loadpicture(“C:\aaa\asdf.jpg”)

==

The solution is to simply add this permission as full control

servername\IUSR

to the directory in which this object is going to work…

Leave a Comment

Your email address will not be published. Required fields are marked *

Comments are reviewed before publication.

Protected by Cloudflare Turnstile. All comments are reviewed before publication.