App not running when deployed to web server

  • Thread starter Thread starter Mark
  • Start date Start date
M

Mark

Hi - I have my app running quite happily on a local machine - when I
port to the live server (which I have full access to - and has .net1.1
installed), I get the following when I click on any button on the web
form that posts back:


[NullReferenceException: Object reference not set to an instance of an
object.]

clearscreen.call_monitor.calcRunningScore()

clearscreen.call_monitor.Page_Load(Object sender, EventArgs e)

System.Web.UI.Control.OnLoad(EventArgs e) +67

System.Web.UI.Control.LoadRecursive() +35

System.Web.UI.Page.ProcessRequestMain() +731




The error is: Exception Details: System.NullReferenceException: Object
reference not set to an instance of an object.

I'd appreciate any help, thanks,
 
It's obviously something in the calcRunningScore function. Since you didn't
provide that code, there is no way to tell.
 
Hey Mark,
you will need to declare a new instance of an object before you use it.

hope this helps,
Landi
 
Back
Top