Page 1 of 1

ImageMagickObject.dll OnStartPage error

Posted: 2008-07-23T07:38:47-07:00
by cmcfarling
I'm using the ImageMagick COM component (v6.3.7) from an ASP page. For troubeshooting purposes I want to isolate the component into a separate process per the instructions here:

How to Isolate a DLL into a Separate Process By Using Component Services
http://support.microsoft.com/kb/281335/EN-US/

After setting this up, the following error is returned when when instanciating the object:

Code: Select all

Server object error 'ASP 0193 : 800706be' 
OnStartPage Failed 
/imagefunctions.asp, line 275 
An error occurred in the OnStartPage method of an external object.
Any ideas as to why this is happening? I've done the same procedure with other 3rd party COM components and have had no problems.

I've had read that the OnStartPage and OnEndPage methods for a component are deprecated as of Windows 2000. Does the latest version of the ImageMagickObject.dll still use these methods or has it not been updated much sinc 6.3.7? Is the ImageMagickObject.dll still being actively delevolped and maintained even?

Re: ImageMagickObject.dll OnStartPage error

Posted: 2008-07-23T07:50:54-07:00
by cmcfarling
Here's some more info from the event viewer regarding the error:

Code: Select all

EventID: 4194
Category: SVC
Source: COM+

The system has called a custom component and that component has failed and generated an exception. This indicates a problem with the custom component. Notify the developer of this component that a failure has occurred and provide them with the information below. 
Component Prog ID: 
Server Application ID: {9F34F0D0-81B5-4332-A6AA-9F844170CB92}
Server Application Name: ImageMagickObject
The serious nature of this error has caused the process to terminate.
Exception: C0000005
Address: 0x00000000
Call Stack: ??ìÛ

Code: Select all

EventID: 4097
Category: SVC
Source: COM+

The run-time environment has detected an inconsistency in its internal state. Please contact Microsoft Product Support Services to report this error.  *** Error in __FILE__(926): Application image dump failed. C:\WINNT\system32\com\dmp\{9F34F0D0-81B5-4332-A6AA-9F844170CB92}_2008_07_23_10_32_14.dmp