all groups > inetserver asp components > february 2007 >
You're in the

inetserver asp components

group:

DLL Issue With Classic Asp


DLL Issue With Classic Asp George Thompson
2/27/2007 1:36:59 PM
inetserver asp components:
Hi everyone,

Not sure if this is the right newsgroup for this, but I think it is.

I've been having trouble finding any good info on the following
process:

Create a DLL in .NET (using C# or VB)
Install the DLL to my asp server
Access The DLL From my asp page. (note: it's asp, NOT asp .net)

I've tried w/o success to get a hello world type dll going. (ASP Error
was that it failed to create the object because it couldn't be
found ...)

Just wondering if anyone can link me to a good tutorial (would love t
osee a step by step tutorial if any exist), or shed some insight on
the issue?

Thanks!
Re: DLL Issue With Classic Asp Anthony Jones
2/27/2007 10:35:08 PM

[quoted text, click to view]

Did you create a COM interop wrapper for the .NET assembly? Script in ASP
cannot access .NET assemblies directly.

Re: DLL Issue With Classic Asp George Thompson
2/28/2007 10:44:22 AM
This is new territory for me...not sure of what needed to be done, but
here's what i did do:

I followed some directions I got from a few sites.

i made a new class library in c#.
i made a little hello world class
take the dll created when building and install it to the server
?????????
Call dll from asp

need help w/ the ?????????? part. Also, are there any special
settings required to be set in visualStudio on build?

Not familiar with the process for doing this:
"Create a COM interop wrapper for the .NET assembly"

Does anyone have a link to some info or ideally a tutorial?

Thanks!



1st step was to Build a Class Library
[quoted text, click to view]

AddThis Social Bookmark Button