473,386 Members | 1,795 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

c# component, classic asp page

I have read a zillion and one posts on this exact same problem, but
none of them has suggested anything that works for me. So...

I am using .Net Framework Version 1.1.4322

I have:
1. Created a C# Class Library project and tested it. It generates the
correct output when I use it from a tester class from another project
in the same solution
2. Generated a key and inserted the correct key information into the
AssemblyInfo.cs file as follows:
[assembly: AssemblyKeyFile("..\\..\\key.snk")]
3. Successfully registered the assembly in the GAC using gacutil (at
least, it tells me I successfully registered it...)
4. Used regasm to (again, it tells me) successfully register the
wrapper. I can see the .tlb in the same directory as the .dll

I have also created other, new projects in different locations with
slightly different results. Following the most excellent summary
provided in a post dated 2002-08-11, by Aleksy Nudelman, I tried first
creating the key, then creating a new project and inserting the key
information. Then, I registered it in the GAC using gacutil and
regasm. This time, I don't even have a .tlb file...

No matter what I do, I cannot instantiate the object in a classic ASP
page using Server.CreateObject("namespace.class"). The actual call to
Server.CreateObject does not generate any errors, but I get an "Object
Required" error the first time I try to access it.

(I even tried using the numeric GUID in the Servicer.CreateObject
call, but it REALLY didn't like that - "Invalid ProgId)

I would really like to get this to work, because a) I need it to do
what I wrote it to do, and b) it's my first real live .NET project for
production other than some ASP.NET pages to pull info out of our
Active Directory for an internal phone list.

As an aside, is there an easy way to tell if someone has answered a
post (mine, of course <g>) without searching through the entire list
for it?
Jul 19 '05 #1
0 2083

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Larry Woods | last post by:
Looking for an example of a multi-threaded component that is being used in ASP. Anyone??? TIA, Larry Woods
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...
3
by: msuk | last post by:
All, I have a classic ASP 3.0 page that calls a C# component via a COM Callable wrapper. Does anyone know how I can catch the call from the ASP page and step through the c# code? Thanks msuk
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...
0
by: Gregory Gadow | last post by:
I am moving a classic ASP website on a 32 bit server to an ASP.NET 2.0 website on a 64 bit server. I very much need to port the Adobe Acrobat FDF sdk to the new site, but I've run in to the dreaded...
3
by: SuzyQ | last post by:
I need to write a page that allows users to schedule conference rooms. This page will have multiple conference rooms across the top of the page. I am seeking information on how to write this...
1
by: tristanpc | last post by:
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...
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...
1
by: jdub33 | last post by:
I have a web project that used a vb6 class library. The asp page would call a createobject() to access the class library. I recently updated the vb6 class library to .net2005. I unregistered the...
0
skeptics
by: skeptics | last post by:
Trying to pass a SafeArray that i get form Request.BinaryRead Method in classic asp to a c# com interop component. In this thread i found a solution to pass and cast a normal asp safearray in to a c#...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...

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.