none
Object reference not set to an instance of an object RRS feed

  • Question

  • Hi,

     

    I saw a video about ObjectDataSource in web services.  I follow the demo, when I try to add a DataSet to App_Code by click on Add New Item..., I getting the error message below

     

    "Object reference not set to an instance of an object."

     

    It did add a .xsd file.  When I try to view it in the designer, it also display the same error message.

    Is anyone know the solution to this error?

     

    Thanks in advance

     

     

    Sunday, June 3, 2007 6:03 PM

All replies

  • Hello Hong861482,

     

    This error message is quite generic and refers to any object that are still set to NULL in your code. Make sure that any object you are using are properly assigned.

     

    To help you further, I will need more details, like code snippets or source file.

     

    Thanks,

     

    -Chris

    Wednesday, June 13, 2007 9:22 PM