• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2128
  • Last Modified:

How do I set AspAllowOutOfProcComponents = true in IIS7?


I get the following error with a classic ASP web page running on IIS7 (x64):

"Server object error 'ASP 0196 : 80040154'

Cannot launch out of process component

/admin/includes/image_classes.asp, line 196

Only InProc server components should be used. If you want to use LocalServer components, you must set the AspAllowOutOfProcComponents metabase setting. Please consult the help file for important considerations. "

The component on line 196 is:
Set Img = Server.CreateObject ("ImageMagickObject.MagickImage.1")

I have IIS6 compatibility components installed but I'm not sure how to set the website or apppool to use them or if i need to. Do I need to add a line in the applicationHosts.config file?

1 Solution
j055Author Commented:
It turns out that I had installed the 64bit version of ImageMagick but was running the website in 32bit. I uninstalled ImageMagick 64bit and installed the 32bit. This solved the problem.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now