ImageResizer as COM application - permissions issue

80 views Asked by At

Permissions have been an issue for other users, and I've attempted several possible solutions.

Windows server 2008r2.

In classic ASP the line:Set c = CreateObject("ImageResizer.Configuration.Config")

Results in: Microsoft VBScript runtime error '800a0046' - Permission denied: 'CreateObject'

So I tried the classic permissions fix: I have set permissions on C:\Program Files\ImageResizingNet\v3 for Everyone to Read & Execute... but no joy.

Seeing that the dll's were "blocked", I a) uninstalled, b) unblocked the .zip, c)installed (as admin), d)gave permissions to Everyone again on the v3 directory. No joy.

Further research had me checking Component Services... and there I find no reference to ImageResizer. (But not sure if it should be there - I'm slightly out of my depth at that point.)

Other research on the exact ASP error code suggests a registration error, so I tried to run: : regsvr32 "C:\Program Files\ImageResizingNet\v3\ImageResizer.dll" *I get: "The module C:\Program Files\ImageResizingNet\v3\ImageResizer.dll was loaded but the entry-point DllRegisterServer was not found."

This may be a red herring, as the log from the install shows that regasm had no problems with ImageResizer.dll:

_Copying and registering .\AForge.dll_  
_Copying and registering .\AForge.Imaging.dll_  
_Copying and registering .\AForge.Math.dll_  
_Copying and registering .\AWSSDK.dll_  
_Copying and registering .\FreeImageNET.dll_  
_Copying and registering .\ImageResizer.dll_  
_Types registered successfully_  
_Types registered successfully_  
_Copying and registering .\ImageResizer.Mvc.dll_  
_Types registered successfully_  
_Types registered successfully_  

Any thoughts?

0

There are 0 answers