Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. The property or field has not been initialized.

The property or field has not been initialized.

Scheduled Pinned Locked Moved WPF
sharepointhelp
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bhavnvyas
    wrote on last edited by
    #1

    Hi I am getting this error when I am trying to call sharepoint 2010 client object model in my silverlight application.**Error:The property or field has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.
    **using (SP.ClientContext objSite = new SP.ClientContext("http://Sharepoint:80/"))
    {

                SP.CamlQuery objCaml = new SP.CamlQuery();
                objCaml.ViewXml = @"";
                SP.Web objWeb = objSite.Web;
                SP.List list = objWeb.Lists.GetByTitle("BackgroundImages");
                listItems = list.GetItems(objCaml);
                objSite.Load(objWeb);
                objSite.Load(list);
                objSite.Load(listItems);
                objSite.ExecuteQueryAsync(Succeeded, Failed);
            }
    

    Please help****

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups