0

我只是尝试安装 imageresizing.net com 对象。我正在使用以下代码来创建对象。

set c = CreateObject("ImageResizer.Configuration.Config")
c.BuildImage "images\red-eye-wikipedia.jpg","test-image.jpg","width=100"

错误

Microsoft VBScript runtime error '800a0046'

Permission denied: 'CreateObject'

/resizer.asp, line 5 

我为尝试运行代码的文件夹提供了与其他文件夹相同的权限。我不知道在哪里给予适当的权限。

您的帮助将不胜感激。

4

1 回答 1

0

You must give the DLL folder Read+Execute permissions for Everyone (or each of the usernames involved in running w3wp and ASP). Recursively.

C:\Program Files\ImageResizingNet\v3\

于 2012-08-16T16:51:45.820 回答