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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top