Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old July 18th, 2006, 02:38 AM
Registered User
 
Join Date: Jul 2006
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default cannot create activex component - help please

Hi everyone, I am having trouble with embedding an already written activex object into my web page for almost 2 weeks!! So any help will be appreciated.

The problem is when I create it as:
Santral = New VOXAREPOPUPAXLib.VoxarePopupAX
It gives no error but when I try to assign a value to a public property of it, like Santral.ModuleID = 6, I get the error: System.Runtime.InteropServices.COMException: Catastrophic failure

On the other hand when I use: Santral = Server.CreateObject("VOXAREPOPUPAXLib.VoxarePopupA X"), this time I get the error:
System.Web.HttpException: Could not create an object of type 'VOXAREPOPUPAXLib.VoxarePopupAX'.

I have looked everywhere on google, and no solution!

By the way, I want to run my activex component at the server, so it does not work for me to create it in the html code by using the OBJECT tags.


I will be greatful for any single help...
  #2 (permalink)  
Old September 14th, 2006, 08:40 PM
Authorized User
Points: 136, Level: 2
Points: 136, Level: 2 Points: 136, Level: 2 Points: 136, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2006
Location: London Town, , United Kingdom.
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Don't think you need the "Server." if you're running the code on the server..

Hasta Luego..
KingRoon

DogFightClothing. No dogs. No fighting.
http://www.dogfightclothing.com


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot create ActiveX component problem cdukes77@bellsouth.net VS.NET 2002/2003 27 February 27th, 2008 07:09 PM
ActiveX Component cannot create Object Madhivanan VB How-To 5 December 23rd, 2006 02:33 AM
ActiveX Component can't create an object lihar Access VBA 1 December 20th, 2006 07:52 AM
Cannot create ActiveX Component Ron Howerton Pro VB.NET 2002/2003 0 July 18th, 2006 10:33 AM
ActiveX component can't create object lameneural Classic ASP Components 0 July 4th, 2006 12:14 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.