Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am trying to make use of a .NET DLL I created from an older ASP application. When I run the Server.CreateObject I get nothing. I have re written this DLL from an old VB6 dll. I tested the DLL with a .net app and it does work so it is not the dll. i set all the interop stuff up on the build and dit the regasm on the server.

 

The asp clasic seems to not even try to access the dll, no errors no signs of life whatsoever. The asp page stll loads but returns none of the data the dll is designed to retrieve.

 

Is it possible to do what I am trying to do or is this a fools venture.

Posted

1 - Genderate key file using sn -k

2 - Compile .cs file with keyfile option from command prompt

csc /t:library myassembly.cs /keyfile: mykeyfile.snk

 

3 - add dll to gac

gacutil /i myassembly.dll

 

4 - run regasm

regasm myassembly.dll /tlb:myassembly.tlb

 

-lp

Posted
You may want to make the DLL a .NET Web Service, they are easily accessable through classic (3.0) asp. and you need only parse some simple XML to retrieve your data, and set querystring variables to send values to the function(s)

~Nate�

___________________________________________

Please use the [vb]/[cs] tags on posted code.

Please post solutions you find somewhere else.

Follow me on Twitter here.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...