Code Coverage by Clover.NET

using NLOG COM interop with non .NET ASP

View: New views
1 Messages — Rating Filter:   Alert me  

using NLOG COM interop with non .NET ASP

by Minh Au :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi All,

 

I am trying to use NLOG in ASP non .NET. I have downloaded all the NLog dll files and registered the NLog.ComInterop.dll using

 

Regasm NLog.ComInterop.dll /tlb: NLog.ComInterop.tlb
 
The type library is exported correctly and I see progIDs NLog.Logger and NLog.LogManager inside of the registry. 
 
I created an ASP page with the script
 
Set Obj = Server.CreateObject("NLog.Logger")
 
When I load the ASP page I get the error 
Error Type:
Server object, ASP 0177 (0x80070002)
80070002
For that particular line
 
How do I setup NLog correctly to work with old ASP pages?

 

 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Nlog-list mailing list
Nlog-list@...
https://lists.sourceforge.net/lists/listinfo/nlog-list
LightInTheBox - Buy quality products at wholesale price