Hi,
I'm trying to call a function written in a dll file, from ASP.NET 1.1 web application.
Part of code in global.asax:
<%@ Import namespace="WPPS YSTEMDLLLib" %>
Sub Application_OnS tart()
Dim Value As Object
Application("WP PSystem") = new WPPSystem() <-- the name of the class
Res = Application("Wp pSystem").INISt rGet("WPP", "StartPage" , "", Value, "c:\wpp.ini ", 0)
I get the following error:
System.NullRefe renceException: Object reference not set to an instance of an object
Application("WP PSystem") is not null. It does get the instance of object.
Any idea whats wrong?
Thanks a lot,
zvikorn
I'm trying to call a function written in a dll file, from ASP.NET 1.1 web application.
Part of code in global.asax:
<%@ Import namespace="WPPS YSTEMDLLLib" %>
Sub Application_OnS tart()
Dim Value As Object
Application("WP PSystem") = new WPPSystem() <-- the name of the class
Res = Application("Wp pSystem").INISt rGet("WPP", "StartPage" , "", Value, "c:\wpp.ini ", 0)
I get the following error:
System.NullRefe renceException: Object reference not set to an instance of an object
Application("WP PSystem") is not null. It does get the instance of object.
Any idea whats wrong?
Thanks a lot,
zvikorn
Comment