{"id":137,"date":"2016-07-13T10:10:15","date_gmt":"2016-07-13T09:10:15","guid":{"rendered":"http:\/\/www.kneefel-ict.nl\/?post_type=kbe_knowledgebase&#038;p=137"},"modified":"2016-10-07T14:31:39","modified_gmt":"2016-10-07T13:31:39","slug":"error-object-reference-not-set-to-an-instance-of-an-object","status":"publish","type":"kbe_knowledgebase","link":"https:\/\/kneefel-ict.nl\/en\/knowledgebase\/error-object-reference-not-set-to-an-instance-of-an-object\/","title":{"rendered":"SharePoint: Error Object reference not set to an instance of an object"},"content":{"rendered":"<p>When creating a webapplication in SharePoint you get the error Object reference not set to an instance of an object<br \/>\nMake sure the Microsoft SharePoint Foundation Web Application Service is running.<\/p>\n<p>In my case the service had the status upgrading.<\/p>\n<p>Enter the following powershell commands:<\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\r\n$service = $(Get-SPServiceInstance |where {$_.TypeName -match \u201cMicrosoft SharePoint Foundation Web Application\u201d } |where {$_.Server -match \u201cSPServer Name=yourservername\u201d})\r\n$service.Status = &quot;Online&quot;\r\n$service.Update()\r\n<\/pre>\n<p>After an IISReset I was able to create webapplications again<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When creating a webapplication in SharePoint you get the error Object reference not set to an instance of an object Make sure the Microsoft SharePoint Foundation Web Application Service is running. In my case the service had the status upgrading. Enter the following powershell commands: $service = $(Get-SPServiceInstance |where {$_.TypeName -match \u201cMicrosoft SharePoint Foundation Web &hellip; <a href=\"https:\/\/kneefel-ict.nl\/en\/knowledgebase\/error-object-reference-not-set-to-an-instance-of-an-object\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;SharePoint: Error Object reference not set to an instance of an object&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","kbe_taxonomy":[5],"kbe_tags":[13,10,11],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SharePoint: Error Object reference not set to an instance of an object - Kneefel ICT B.V.<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.kneefel-ict.nl\/knowledgebase\/error-object-reference-not-set-to-an-instance-of-an-object\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SharePoint: Error Object reference not set to an instance of an object - Kneefel ICT B.V.\" \/>\n<meta property=\"og:description\" content=\"When creating a webapplication in SharePoint you get the error Object reference not set to an instance of an object Make sure the Microsoft SharePoint Foundation Web Application Service is running. In my case the service had the status upgrading. Enter the following powershell commands: $service = $(Get-SPServiceInstance |where {$_.TypeName -match \u201cMicrosoft SharePoint Foundation Web &hellip; Continue reading &quot;SharePoint: Error Object reference not set to an instance of an object&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.kneefel-ict.nl\/knowledgebase\/error-object-reference-not-set-to-an-instance-of-an-object\/\" \/>\n<meta property=\"og:site_name\" content=\"Kneefel ICT B.V.\" \/>\n<meta property=\"article:modified_time\" content=\"2016-10-07T13:31:39+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.kneefel-ict.nl\/knowledgebase\/error-object-reference-not-set-to-an-instance-of-an-object\/\",\"url\":\"https:\/\/www.kneefel-ict.nl\/knowledgebase\/error-object-reference-not-set-to-an-instance-of-an-object\/\",\"name\":\"SharePoint: Error Object reference not set to an instance of an object - Kneefel ICT B.V.\",\"isPartOf\":{\"@id\":\"https:\/\/kneefel-ict.nl\/#website\"},\"datePublished\":\"2016-07-13T09:10:15+00:00\",\"dateModified\":\"2016-10-07T13:31:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.kneefel-ict.nl\/knowledgebase\/error-object-reference-not-set-to-an-instance-of-an-object\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.kneefel-ict.nl\/knowledgebase\/error-object-reference-not-set-to-an-instance-of-an-object\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.kneefel-ict.nl\/knowledgebase\/error-object-reference-not-set-to-an-instance-of-an-object\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/kneefel-ict.nl\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Knowledgebase\",\"item\":\"https:\/\/kneefel-ict.nl\/en\/knowledgebase\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"SharePoint: Error Object reference not set to an instance of an object\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kneefel-ict.nl\/#website\",\"url\":\"https:\/\/kneefel-ict.nl\/\",\"name\":\"Kneefel ICT B.V.\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/kneefel-ict.nl\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kneefel-ict.nl\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kneefel-ict.nl\/#organization\",\"name\":\"Kneefel ICT B.V.\",\"url\":\"https:\/\/kneefel-ict.nl\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kneefel-ict.nl\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i1.wp.com\/www.kneefel-ict.nl\/wp-content\/uploads\/2016\/01\/logo_kneefel-ict-1200x280dpi.jpg?fit=1200%2C280&ssl=1\",\"contentUrl\":\"https:\/\/i1.wp.com\/www.kneefel-ict.nl\/wp-content\/uploads\/2016\/01\/logo_kneefel-ict-1200x280dpi.jpg?fit=1200%2C280&ssl=1\",\"width\":1200,\"height\":280,\"caption\":\"Kneefel ICT B.V.\"},\"image\":{\"@id\":\"https:\/\/kneefel-ict.nl\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SharePoint: Error Object reference not set to an instance of an object - Kneefel ICT B.V.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.kneefel-ict.nl\/knowledgebase\/error-object-reference-not-set-to-an-instance-of-an-object\/","og_locale":"en_US","og_type":"article","og_title":"SharePoint: Error Object reference not set to an instance of an object - Kneefel ICT B.V.","og_description":"When creating a webapplication in SharePoint you get the error Object reference not set to an instance of an object Make sure the Microsoft SharePoint Foundation Web Application Service is running. In my case the service had the status upgrading. Enter the following powershell commands: $service = $(Get-SPServiceInstance |where {$_.TypeName -match \u201cMicrosoft SharePoint Foundation Web &hellip; Continue reading \"SharePoint: Error Object reference not set to an instance of an object\"","og_url":"https:\/\/www.kneefel-ict.nl\/knowledgebase\/error-object-reference-not-set-to-an-instance-of-an-object\/","og_site_name":"Kneefel ICT B.V.","article_modified_time":"2016-10-07T13:31:39+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.kneefel-ict.nl\/knowledgebase\/error-object-reference-not-set-to-an-instance-of-an-object\/","url":"https:\/\/www.kneefel-ict.nl\/knowledgebase\/error-object-reference-not-set-to-an-instance-of-an-object\/","name":"SharePoint: Error Object reference not set to an instance of an object - Kneefel ICT B.V.","isPartOf":{"@id":"https:\/\/kneefel-ict.nl\/#website"},"datePublished":"2016-07-13T09:10:15+00:00","dateModified":"2016-10-07T13:31:39+00:00","breadcrumb":{"@id":"https:\/\/www.kneefel-ict.nl\/knowledgebase\/error-object-reference-not-set-to-an-instance-of-an-object\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.kneefel-ict.nl\/knowledgebase\/error-object-reference-not-set-to-an-instance-of-an-object\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.kneefel-ict.nl\/knowledgebase\/error-object-reference-not-set-to-an-instance-of-an-object\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kneefel-ict.nl\/"},{"@type":"ListItem","position":2,"name":"Knowledgebase","item":"https:\/\/kneefel-ict.nl\/en\/knowledgebase\/"},{"@type":"ListItem","position":3,"name":"SharePoint: Error Object reference not set to an instance of an object"}]},{"@type":"WebSite","@id":"https:\/\/kneefel-ict.nl\/#website","url":"https:\/\/kneefel-ict.nl\/","name":"Kneefel ICT B.V.","description":"","publisher":{"@id":"https:\/\/kneefel-ict.nl\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kneefel-ict.nl\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/kneefel-ict.nl\/#organization","name":"Kneefel ICT B.V.","url":"https:\/\/kneefel-ict.nl\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kneefel-ict.nl\/#\/schema\/logo\/image\/","url":"https:\/\/i1.wp.com\/www.kneefel-ict.nl\/wp-content\/uploads\/2016\/01\/logo_kneefel-ict-1200x280dpi.jpg?fit=1200%2C280&ssl=1","contentUrl":"https:\/\/i1.wp.com\/www.kneefel-ict.nl\/wp-content\/uploads\/2016\/01\/logo_kneefel-ict-1200x280dpi.jpg?fit=1200%2C280&ssl=1","width":1200,"height":280,"caption":"Kneefel ICT B.V."},"image":{"@id":"https:\/\/kneefel-ict.nl\/#\/schema\/logo\/image\/"}}]}},"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/kneefel-ict.nl\/en\/wp-json\/wp\/v2\/kbe_knowledgebase\/137"}],"collection":[{"href":"https:\/\/kneefel-ict.nl\/en\/wp-json\/wp\/v2\/kbe_knowledgebase"}],"about":[{"href":"https:\/\/kneefel-ict.nl\/en\/wp-json\/wp\/v2\/types\/kbe_knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/kneefel-ict.nl\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kneefel-ict.nl\/en\/wp-json\/wp\/v2\/comments?post=137"}],"version-history":[{"count":6,"href":"https:\/\/kneefel-ict.nl\/en\/wp-json\/wp\/v2\/kbe_knowledgebase\/137\/revisions"}],"predecessor-version":[{"id":144,"href":"https:\/\/kneefel-ict.nl\/en\/wp-json\/wp\/v2\/kbe_knowledgebase\/137\/revisions\/144"}],"wp:attachment":[{"href":"https:\/\/kneefel-ict.nl\/en\/wp-json\/wp\/v2\/media?parent=137"}],"wp:term":[{"taxonomy":"kbe_taxonomy","embeddable":true,"href":"https:\/\/kneefel-ict.nl\/en\/wp-json\/wp\/v2\/kbe_taxonomy?post=137"},{"taxonomy":"kbe_tags","embeddable":true,"href":"https:\/\/kneefel-ict.nl\/en\/wp-json\/wp\/v2\/kbe_tags?post=137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}