Link to home
Start Free TrialLog in
Avatar of GeneBe
GeneBeFlag for United States of America

asked on

{"Object reference not set to an instance of an object."} error when c# prog exec

I cannot see the issue in the code below.

            XmlDocument response1 =
               dataAccess.DBConnectors.Calls.FindCorrespondence(
                  new DataLayer.DBConnectors.Requests.FindCorrespondenceRequest()
                  {
                      maxRows = "20",
                      correspondenceSearchCriteria = new DataLayer.DBConnectors.Requests.FindCorrespondenceRequest.CorrespondenceSearchCriteria()
                      {
                          startDate = "2000-01-01"
                      }
                  }
               );

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of GeneBe

ASKER

thank you. I will look further where the issue is.