Wrox Programmer Forums
|
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
 
Old May 20th, 2004, 09:55 AM
Registered User
 
Join Date: May 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default "ClassFactory cannot supply requested class"

Hello,
 I've created a VB dll that I'm trying to call from ASP. Originally I created the VB Dll on an XP machine and tested the ASP page calling it on the same machine.
 But when I copied the ASP page (along with the Global.asa) to a Win2K machine, it gave me the error:
======================================
Error Type:
(0x80040111)
ClassFactory cannot supply requested class
/VBTestConn.asp, line 25
======================================
 I copied the .cls Class file into the same folder that the VB dll resides in. I have the .lib and .exp files in the folder as well. I also did "Regsvr32 filepath.dll" to register the dll file on the new machine. I compared the registry entries on both machines. They were identical.
 It hasn't helped. What am I missing? Should I do anything with global.asa file on the new machine?
Thanks in advance


 
Old May 20th, 2004, 06:33 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

This error is most often caused because our com package was not copied to the intended directory.

check out:
http://www.cfdev.com/support/kb/inde...single/id/1031

Wind is your friend
Matt





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to supply parameter to a storedproc mallikalapati ASP.NET 2.0 Professional 4 April 10th, 2008 07:47 AM
SQL help requested mvoosten MySQL 4 March 18th, 2007 03:38 AM
Redirect to the requested page KamalRaturi ASP.NET 2.0 Professional 1 September 27th, 2006 04:32 AM
Order by more a requested variable bleutiger Classic ASP Databases 3 March 1st, 2005 12:19 PM
Tool recommendation requested pankaj_daga Oracle 1 July 11th, 2004 09:09 PM





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