locked
Object reference not set to an instance of an object at Service.GetSchema RRS feed

  • Question

  • Hi.

     

    i need some help .

    Code Snippet

    System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object.
       at Service.GetSchema(Collection`1 tableNames, SyncSession syncSession)
       --- End of inner exception stack trace ---

     

     

    can any good guy tell me what is this error message mean?

    i can success connect the web services but when go to get schema. i get that message.

     

    • Moved by Hengzhe Li Friday, April 22, 2011 6:37 AM (From:SyncFx - Microsoft Sync Framework Database Providers [ReadOnly])
    Wednesday, November 5, 2008 11:22 AM

Answers

  • This means that one of the parameters of Service.GetSchema was not initialized (either tableNames or syncSession are NULL).

     

    Maria del Mar Alvarez Rohena - MSFT

    Tuesday, November 11, 2008 7:42 PM

All replies

  • This means that one of the parameters of Service.GetSchema was not initialized (either tableNames or syncSession are NULL).

     

    Maria del Mar Alvarez Rohena - MSFT

    Tuesday, November 11, 2008 7:42 PM
  • One possibility that you are forget to configured your server database connection. I face same problem in past and in my code i forget to define connection string of database in Web Service Configuration file
    Tuesday, January 6, 2009 1:08 PM