This topic is locked

Troubles with thumbnails and resizing images

1/28/2009 6:21:36 AM
ASPRunnerPro General questions
L
lnemer author

Sergey,
I have been unsuccessful at creating thumbnails on the fly and resizing images. Using ASPRunner Pro 6.0 on a Win2003 Server. AspJpeg is installed on the server.
The settings are set to Create thumbnails on the fly and to Resize images after upload. Display thumbnail with prefix as well as use iBox to display images are all checked. The application renames the image upon upload and adds the "th" prefix and date/time to the filename, yet the file size remains huge.
Help!
Thanks in advance!

J
Jane 1/28/2009

Hi,
AspJpeg is not installed on your web server if created file with thumbnail prefix is not resized.

I recommend you to contact your hosting admin with this problem.

L
lnemer author 1/28/2009

Hi Jane,
I do have AspJpeg installed on my server. I am the one who installed it. IIS is configured to allow AspJpeg as a Web Service Extension.
Is there additional configuration that it needs after executing the installation file? I placed a copy of AspJpeg.dll file in the plugins sub directory and the bin directory. Still nothing.
Another note: it is the trial version of AspJpeg. I wanted to try it before buying it. But that should not make a difference.
Any other thoughts as to what the issue may be?
L.

L
lnemer author 1/28/2009

I figured out what the issue was and the fix. I am posting it here in case someone else encounters the same issue with AspJpeg installing on Windows Server 2003.
Problem:

Server.CreateObject Failed

Invalid class string / Invalid ProgID error
Solution:

This error means that either the component has not been registered on the server or the ProgID passed to the Server.CreateObject method is misspelled. On Windows 2003 and XP, it may also mean a permission problem on a system registry key.

Make sure the component DLL is present on the server. The exact physical location of the DLL is not important. To register the component on the server, open MS DOS prompt and type
regsvr32 c:\path\aspjpeg.dll
NOW HERE IS THE REAL FIX:

On Windows 2003 and XP, this error may also mean the component's ProgID key in the system registry has been assigned insufficient permissions. Run regedt32, open the key HKEY_CLASSES_ROOT\ProgID, select Permissions from the Edit menu, and grant the "Everyone" account Full Control over the key. See the table in the link below for the correct ProgID
http://support.persits.com/show.asp?code=PS01032622
Works like a charm now!