« Previous Next »

Thread: Error: Object reference not set to an instance of an object

Last post 07-08-2008 5:43 AM by Zhao Ji Ma - MSFT. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 07-05-2008, 5:13 PM

    Error: Object reference not set to an instance of an object

     

    Hi, I'm from Argentina, I'll try to explain the problem I'm having in my best english I can.

    I'm running a ASP.NET 2.0 Service Application that delivers e-mails to registered users. I am not a programmer I'm just the owner of the web application. When an error occurs on the service, an e-mail is sent to a mailbox giving details of the problem. In this case, I'm receiving the error "Object reference not set to an instance of an object".

    I've just set up the server and I'm using SQL Server 2005. The solution have 4 proyects (one is the Service App.) and does not give any error when building it with VS.

    I think this has something to do with IIS missconfiguration and/or SQL permissions. The web site works fine, the problem is just that Service.

    Any ideas?? Thanks !!

     

  • 07-08-2008, 5:43 AM In reply to

    Re: Error: Object reference not set to an instance of an object

    Hi,

    Martin Carreras:
    I'm receiving the error "Object reference not set to an instance of an object".
     

    ASP.NET shows this error message when there is an attempt to reference a null object. This could happen when the object failed during Initialization, you might receive this error if the code try to reference this object later. If this error happens every time, please check your configuration especially SQL Server related settings in web.config. If this an occasional issue, you'd better contact the coder to help you.

    Zhao Ji Ma
    Sincerely,
    Microsoft Online Community Support

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
Page 1 of 1 (2 items)
Microsoft Communities