.NET DLL running in ASP
From: Scott Manning (smanning_at_newsgroup.nospam)
Date: 10/14/04
- Previous message: bsmalik: "Server.CreateObject("MSWC.Tools") fails in Windows 2003 server?"
- Next in thread: [MSFT]: "RE: .NET DLL running in ASP"
- Reply: [MSFT]: "RE: .NET DLL running in ASP"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 14 Oct 2004 09:44:11 -0400
We have the following test VB.NET class file
Public Class create_cls
Public Function multiple(ByVal x As Int16, ByVal y As Int16) As
Int16
multiple = x * y
End Function
End Class
That was compiled to a DLL. In trying to call the control from an ASP
page we get an invalid progid or classid error message
<%
set otest = Server.CreateObject("createtest.create_cls")
n = otest.multiple(4,5)
response.write n
%>
I have read some other messages that indicate that we have to sign the
dll and run the gacutil against the DLL and register the control using
regasm.
The question that I have, is it possible to call the VB.NET DLL
directly without goinging through all of the steps to change the DLL?
I am looking for a method that I can create the object from within ASP
using something like createobject or some other means.
I am just trying to avoid altering the DLL if possible.
Thank you for any help
Scott
- Previous message: bsmalik: "Server.CreateObject("MSWC.Tools") fails in Windows 2003 server?"
- Next in thread: [MSFT]: "RE: .NET DLL running in ASP"
- Reply: [MSFT]: "RE: .NET DLL running in ASP"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|