473,467 Members | 1,497 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Calling a .net component via a CCW in classic ASP

2 New Member
Hi,

I've got to the Hello World stage of wrapping a .net component with a CCW and calling it from wscript.exe. By placing the .tlb and .dll in the same folder as wscript I get this to work (I realise I have to do GAC stuff to get it recognised when not in the same folder).

My problem is calling my new component from classic ASP. I just can't get this to work. I don't get an ActiveX can't create object error but I do get an error 0x80070002, which appears to be a file not found type of error.

Any hints anyone can give to get to Hello World when calling a CCW from classic ASP? Thanks in advance.

TC
Feb 28 '08 #1
1 1748
tristanpc
2 New Member
I put the component in the GAC and that fixed it. I love the fact that files can be simply dragged and dropped into the GAC!
Feb 29 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Johan Lachonius | last post by:
Hi, I'm using a "classic" asp-page and a .net-component which I want to call passing a Recordset as a parameter. I have a reference to ADODB in the .net component which should supply a COM...
3
by: Yitzhak | last post by:
I am having "Permission denied" error while calling LogEvent method of WScript.Shell component. Basically, ASP page calls Windows Script Host Shell component to log events to the OS Application...
3
by: Ben O via DotNetMonster.com | last post by:
Hi Gang, I've created a C# .NET component which transforms a .TIF file into a .JPEG file. I have a classic ASP website in which I wish to call this C# component from my classic ASP. Can...
4
by: Rudy Mark | last post by:
I want to use HEX function of VB.Net in Visual Basic program. How to call VB.Net application from VB application. Is ther any way I can use this(HEX function) ? Thanks
12
by: Ron | last post by:
Greetings, I am trying to understand the rational for Raising Events instead of just calling a sub. Could someone explain the difference between the following 2 scenarios? Why would I want to...
1
by: AnRonMor | last post by:
Currently I use the MS Soap Toolkit to expose some 20 or so com objects for use by classic asp pages, this has to be replaced as support is ending. I have found two proposed solutions below and...
4
by: Michael Kujawa | last post by:
Hi all, If anyone has experience with Dynu FTP object maybe you could help me out. Hopefully it is a simple solution. I "have" referred to the component documentation and I am still having...
4
by: Rafeek Basheer | last post by:
Hi All, I am converting a VB6 to .NET 2.0 C# code which is called by a 'Classic ASP' page. Below are the lines which I am finding it difficult to get a C# equivalent. Dim arr() As String Dim...
1
by: wanaruk | last post by:
Hi all. I am working on a legacy application written in Classic ASP with VB6 COM+ components running on Windows 2003 Adv Server (32bit). There is one page in the app that uses Secure FTP to send...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.