Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 857
  • Last Modified:

IIS7 ActiveX component not working with 64bit Classic ASP Web Application

Hi,

We are currently running our web application on IIS7 (Microsoft Windows 2008 Server) in 64bit mode.

However we are having issues with any file downloads (e.g. pdf, etc) using Active X via our web application written in Classic ASP, they do not download and we get this error:

"ActiveX component cant create object"

It works fine in 32 bit mode however we can not use that as we also use a 3rd party application called ABCpdf 9.0 which needs to be run in 64bit mode.

Can anyone help in solving this issue?
0
Sevron
Asked:
Sevron
  • 2
  • 2
2 Solutions
 
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
which component are you using that's giving you issues?
0
 
Randy PooleCommented:
Try editing the application pool associated with your site, go into advanced settings and make sure under General, Enable 32-bit Applications is set to True
0
 
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
could be because you're running your application pool in 64 bit mode:

http://weblog.west-wind.com/posts/2011/Jun/19/ActiveX-component-cant-create-Object-Error-Check-64-bit-Status
0
 
SevronAuthor Commented:
Experts,

This is the line of code we are having issues on:
Set oMyObject = Server.CreateObject("ReadFile.BinRead")

We can not enable 32-bit application to true, because we have ABCpdf installed and can only work with 64-bit version. We believe running a secondary application pool in 32-bit version would resolve the issue, from what we have researched on Google. How do we go about doing this?
0
 
SevronAuthor Commented:
This was a big help. Thank you. A++
0

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.

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