DumAsp Posted November 30, 2006 Posted November 30, 2006 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. Quote
LostProgrammer Posted December 5, 2006 Posted December 5, 2006 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 Quote
Nate Bross Posted December 7, 2006 Posted December 7, 2006 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) Quote ~Nate� ___________________________________________ Please use the [vb]/[cs] tags on posted code. Please post solutions you find somewhere else. Follow me on Twitter here.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.