Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: ASP.Net and MTS


Message #1 by "matthew young" <matthew_young@l...> on Thu, 16 Jan 2003 12:24:01
I have an MTS component deployed on a remote machine. When I try and use 
this component from my web server using asp it works fine. When I try and 
use ASP.NET e.g.
     Dim objX = Server.CreateObject("Project1.clsNew)
     objX.RunMethod

I get the following error:
"Exception Details: System.NullReferenceException: Object reference not 
set to an instance of an object."

This error occurs on the RunMethod line, not the CreateObject and if I do 
an IsNothing(objX) i get false, so it seems the object is created!

Any help would be gratefully received.

Matt

  Return to Index