<br />
<b>Deprecated</b>:  YoastSEO_Vendor\Symfony\Component\DependencyInjection\Container::__construct(): Implicitly marking parameter $parameterBag as nullable is deprecated, the explicit nullable type must be used instead in <b>/home/nubelus/sharedove/adisjugo/wp-content/plugins/wordpress-seo/vendor_prefixed/symfony/dependency-injection/Container.php</b> on line <b>60</b><br />
<br />
<b>Deprecated</b>:  YoastSEO_Vendor\League\OAuth2\Client\Provider\AbstractProvider::authorize(): Implicitly marking parameter $redirectHandler as nullable is deprecated, the explicit nullable type must be used instead in <b>/home/nubelus/sharedove/adisjugo/wp-content/plugins/wordpress-seo/vendor_prefixed/league/oauth2-client/src/Provider/AbstractProvider.php</b> on line <b>416</b><br />
<br />
<b>Deprecated</b>:  YoastSEO_Vendor\GuzzleHttp\Client::getConfig(): Implicitly marking parameter $option as nullable is deprecated, the explicit nullable type must be used instead in <b>/home/nubelus/sharedove/adisjugo/wp-content/plugins/wordpress-seo/vendor_prefixed/guzzlehttp/guzzle/src/Client.php</b> on line <b>181</b><br />
<br />
<b>Deprecated</b>:  YoastSEO_Vendor\GuzzleHttp\ClientInterface::getConfig(): Implicitly marking parameter $option as nullable is deprecated, the explicit nullable type must be used instead in <b>/home/nubelus/sharedove/adisjugo/wp-content/plugins/wordpress-seo/vendor_prefixed/guzzlehttp/guzzle/src/ClientInterface.php</b> on line <b>77</b><br />
{"id":960,"date":"2012-06-14T17:23:11","date_gmt":"2012-06-14T15:23:11","guid":{"rendered":"https:\/\/blog.sharedove.com\/adisjugo\/?p=960"},"modified":"2012-06-14T17:23:11","modified_gmt":"2012-06-14T15:23:11","slug":"cannot-complete-this-action-please-try-again-when-trying-to-access-the-taxonomy-data","status":"publish","type":"post","link":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/06\/14\/cannot-complete-this-action-please-try-again-when-trying-to-access-the-taxonomy-data\/","title":{"rendered":"\u201cCannot complete this action. Please try again.\u201d when trying to access the taxonomy data"},"content":{"rendered":"<p>In my article on <a href=\"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/06\/09\/required-impersonation-level-was-not-provided-exception-on-opening-an-spsite-when-using-wcf\/\">accessing SharePoint data from a WCF service<\/a>, I have described necessary configuration of the service, which is needed to impersonate right user, and access SharePoint sites, lists and list items under impersonated user\u2019s credentials.<\/p>\n<p>It was all working as a charm, until I have tried to access the taxonomy data (to create new terms) from that very same service \u2013 and got a really strange Exception:<\/p>\n<blockquote><p>Der Vorgang kann nicht erfolgreich beendet werden. Bitte versuchen Sie es erneut.<\/p><\/blockquote>\n<p><!--more--><\/p>\n<p><a href=\"https:\/\/blog.sharedove.com\/adisjugo\/wp-content\/uploads\/2012\/06\/impersonation-scenario.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px\" title=\"impersonation-scenario\" border=\"0\" alt=\"impersonation-scenario\" src=\"https:\/\/blog.sharedove.com\/adisjugo\/wp-content\/uploads\/2012\/06\/impersonation-scenario_thumb.png\" width=\"438\" height=\"362\" \/><\/a><\/p>\n<p>OK, just for the record: I have an English SharePoint installation, with German language pack installed, and my default language is set to English. So what the heck is an exception in German doing here? Especially when German is not the only LIP I have installed (Bosnian and French are also present). I still didn\u2019t figure out that one\u2026 But, anyway, I speak German, so I knew that the exception is actually:<\/p>\n<blockquote><p>Cannot complete this action. Please try again.<\/p><\/blockquote>\n<p>There it is. My favorite SharePoint exception. Long time no see, I kind of missed you. <\/p>\n<p>Since this is a generic SharePoint exception which could mean anything and nothing, more info has came from the ULS:<\/p>\n<blockquote><p>ERROR: Failed to OpenThreadToken, LastError=1008<\/p><\/blockquote>\n<p>OK, there we are, this is more like it. Impersonation. Or better, lack of it. Even if you manage to get the SPContext under the right credentials, it doesn\u2019t mean that you have full ASP.NET impersonation in place.<\/p>\n<p>Quick look at the web.config of my service, Asp.Net Impersonation has been turned on\u2026? Crap, no, it hasn\u2019t. That was the problem.<\/p>\n<p>Go to IIS and enable the ASP.NET Impersonation on your Web Service:<\/p>\n<p><a href=\"https:\/\/blog.sharedove.com\/adisjugo\/wp-content\/uploads\/2012\/06\/05.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px\" title=\"05\" border=\"0\" alt=\"05\" src=\"https:\/\/blog.sharedove.com\/adisjugo\/wp-content\/uploads\/2012\/06\/05_thumb.png\" width=\"444\" height=\"287\" \/><\/a><\/p>\n<p>In the service\u2019s web.config, you should see following in the &lt;system.web&gt; node:<\/p>\n<pre class=\"brush: xml; title: Code sample:; notranslate\" title=\"Code sample:\">\n&lt;system.web&gt;\n  ...\n  &lt;identity impersonate=&quot;true&quot; \/&gt;\n&lt;\/system.web&gt;\n<\/pre>\n<p>IISRESET, another try, and everything works, my new Term is stored properly:<\/p>\n<p><a href=\"https:\/\/blog.sharedove.com\/adisjugo\/wp-content\/uploads\/2012\/06\/TERM.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px\" title=\"TERM\" border=\"0\" alt=\"TERM\" src=\"https:\/\/blog.sharedove.com\/adisjugo\/wp-content\/uploads\/2012\/06\/TERM_thumb.png\" width=\"448\" height=\"277\" \/><\/a><\/p>\n<p>So, when you try to access SharePoint 2010 Taxonomy data from a web service, and you get a message \u201cCannot complete this action. Please try again\u201d (in German!), it is a clear sign that you have forgot to set ASP.NET impersonation, right? <\/p>\n<p>That\u2019s why we love SharePoint.<\/p>\n<p>PS. It\u2019s not only taxonomy, this error could haunt you in other scenarios, too, like creating programmatically site collections from web service, etc..<\/p>\n<div class=\"fb-background-color\">\n\t\t\t  <div \n\t\t\t  \tclass = \"fb-comments\" \n\t\t\t  \tdata-href = \"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/06\/14\/cannot-complete-this-action-please-try-again-when-trying-to-access-the-taxonomy-data\/\"\n\t\t\t  \tdata-numposts = \"59\"\n\t\t\t  \tdata-lazy = \"true\"\n\t\t\t\tdata-colorscheme = \"light\"\n\t\t\t\tdata-order-by = \"time\"\n\t\t\t\tdata-mobile=true>\n\t\t\t  <\/div><\/div>\n\t\t  <style>\n\t\t    .fb-background-color {\n\t\t\t\tbackground:  !important;\n\t\t\t}\n\t\t\t.fb_iframe_widget_fluid_desktop iframe {\n\t\t\t    width: 100% !important;\n\t\t\t}\n\t\t  <\/style>\n\t\t  ","protected":false},"excerpt":{"rendered":"<p>In my article on accessing SharePoint data from a WCF service, I have described necessary configuration of the service, which is needed to impersonate right user, and access SharePoint sites, lists and list items under impersonated user\u2019s credentials. It was all working as a charm, until I have tried to access the taxonomy data (to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[11],"tags":[54,55,66,67],"class_list":["post-960","post","type-post","status-publish","format-standard","hentry","category-development","tag-server-object-model","tag-sharepoint","tag-taxonomy","tag-wcf"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u201cCannot complete this action. Please try again.\u201d when trying to access the taxonomy data - Adis Jugo blog<\/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:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/06\/14\/cannot-complete-this-action-please-try-again-when-trying-to-access-the-taxonomy-data\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u201cCannot complete this action. Please try again.\u201d when trying to access the taxonomy data - Adis Jugo blog\" \/>\n<meta property=\"og:description\" content=\"In my article on accessing SharePoint data from a WCF service, I have described necessary configuration of the service, which is needed to impersonate right user, and access SharePoint sites, lists and list items under impersonated user\u2019s credentials. It was all working as a charm, until I have tried to access the taxonomy data (to [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/06\/14\/cannot-complete-this-action-please-try-again-when-trying-to-access-the-taxonomy-data\/\" \/>\n<meta property=\"og:site_name\" content=\"Adis Jugo blog\" \/>\n<meta property=\"article:published_time\" content=\"2012-06-14T15:23:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.sharedove.com\/adisjugo\/wp-content\/uploads\/2012\/06\/impersonation-scenario_thumb.png\" \/>\n<meta name=\"author\" content=\"adis.jugo\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"adis.jugo\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/06\/14\/cannot-complete-this-action-please-try-again-when-trying-to-access-the-taxonomy-data\/\",\"url\":\"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/06\/14\/cannot-complete-this-action-please-try-again-when-trying-to-access-the-taxonomy-data\/\",\"name\":\"\u201cCannot complete this action. Please try again.\u201d when trying to access the taxonomy data - Adis Jugo blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.sharedove.com\/adisjugo\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/06\/14\/cannot-complete-this-action-please-try-again-when-trying-to-access-the-taxonomy-data\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/06\/14\/cannot-complete-this-action-please-try-again-when-trying-to-access-the-taxonomy-data\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/blog.sharedove.com\/adisjugo\/wp-content\/uploads\/2012\/06\/impersonation-scenario_thumb.png\",\"datePublished\":\"2012-06-14T15:23:11+00:00\",\"author\":{\"@id\":\"https:\/\/blog.sharedove.com\/adisjugo\/#\/schema\/person\/a5ca63552094ce9d5a0440f3a1ac9a4c\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/06\/14\/cannot-complete-this-action-please-try-again-when-trying-to-access-the-taxonomy-data\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/06\/14\/cannot-complete-this-action-please-try-again-when-trying-to-access-the-taxonomy-data\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/06\/14\/cannot-complete-this-action-please-try-again-when-trying-to-access-the-taxonomy-data\/#primaryimage\",\"url\":\"https:\/\/blog.sharedove.com\/adisjugo\/wp-content\/uploads\/2012\/06\/impersonation-scenario_thumb.png\",\"contentUrl\":\"https:\/\/blog.sharedove.com\/adisjugo\/wp-content\/uploads\/2012\/06\/impersonation-scenario_thumb.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/06\/14\/cannot-complete-this-action-please-try-again-when-trying-to-access-the-taxonomy-data\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.sharedove.com\/adisjugo\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u201cCannot complete this action. Please try again.\u201d when trying to access the taxonomy data\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.sharedove.com\/adisjugo\/#website\",\"url\":\"https:\/\/blog.sharedove.com\/adisjugo\/\",\"name\":\"Adis Jugo blog\",\"description\":\"The Southern Side\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.sharedove.com\/adisjugo\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.sharedove.com\/adisjugo\/#\/schema\/person\/a5ca63552094ce9d5a0440f3a1ac9a4c\",\"name\":\"adis.jugo\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.sharedove.com\/adisjugo\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cc5a23cf1bd0b9d8401c9dd65c6c141041ec0c6e37eedbb511779e4a40a198fd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cc5a23cf1bd0b9d8401c9dd65c6c141041ec0c6e37eedbb511779e4a40a198fd?s=96&d=mm&r=g\",\"caption\":\"adis.jugo\"},\"url\":\"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/author\/adisjugo\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u201cCannot complete this action. Please try again.\u201d when trying to access the taxonomy data - Adis Jugo blog","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:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/06\/14\/cannot-complete-this-action-please-try-again-when-trying-to-access-the-taxonomy-data\/","og_locale":"en_US","og_type":"article","og_title":"\u201cCannot complete this action. Please try again.\u201d when trying to access the taxonomy data - Adis Jugo blog","og_description":"In my article on accessing SharePoint data from a WCF service, I have described necessary configuration of the service, which is needed to impersonate right user, and access SharePoint sites, lists and list items under impersonated user\u2019s credentials. It was all working as a charm, until I have tried to access the taxonomy data (to [&hellip;]","og_url":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/06\/14\/cannot-complete-this-action-please-try-again-when-trying-to-access-the-taxonomy-data\/","og_site_name":"Adis Jugo blog","article_published_time":"2012-06-14T15:23:11+00:00","og_image":[{"url":"https:\/\/blog.sharedove.com\/adisjugo\/wp-content\/uploads\/2012\/06\/impersonation-scenario_thumb.png","type":"","width":"","height":""}],"author":"adis.jugo","twitter_card":"summary_large_image","twitter_misc":{"Written by":"adis.jugo","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/06\/14\/cannot-complete-this-action-please-try-again-when-trying-to-access-the-taxonomy-data\/","url":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/06\/14\/cannot-complete-this-action-please-try-again-when-trying-to-access-the-taxonomy-data\/","name":"\u201cCannot complete this action. Please try again.\u201d when trying to access the taxonomy data - Adis Jugo blog","isPartOf":{"@id":"https:\/\/blog.sharedove.com\/adisjugo\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/06\/14\/cannot-complete-this-action-please-try-again-when-trying-to-access-the-taxonomy-data\/#primaryimage"},"image":{"@id":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/06\/14\/cannot-complete-this-action-please-try-again-when-trying-to-access-the-taxonomy-data\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.sharedove.com\/adisjugo\/wp-content\/uploads\/2012\/06\/impersonation-scenario_thumb.png","datePublished":"2012-06-14T15:23:11+00:00","author":{"@id":"https:\/\/blog.sharedove.com\/adisjugo\/#\/schema\/person\/a5ca63552094ce9d5a0440f3a1ac9a4c"},"breadcrumb":{"@id":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/06\/14\/cannot-complete-this-action-please-try-again-when-trying-to-access-the-taxonomy-data\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/06\/14\/cannot-complete-this-action-please-try-again-when-trying-to-access-the-taxonomy-data\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/06\/14\/cannot-complete-this-action-please-try-again-when-trying-to-access-the-taxonomy-data\/#primaryimage","url":"https:\/\/blog.sharedove.com\/adisjugo\/wp-content\/uploads\/2012\/06\/impersonation-scenario_thumb.png","contentUrl":"https:\/\/blog.sharedove.com\/adisjugo\/wp-content\/uploads\/2012\/06\/impersonation-scenario_thumb.png"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/2012\/06\/14\/cannot-complete-this-action-please-try-again-when-trying-to-access-the-taxonomy-data\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.sharedove.com\/adisjugo\/"},{"@type":"ListItem","position":2,"name":"\u201cCannot complete this action. Please try again.\u201d when trying to access the taxonomy data"}]},{"@type":"WebSite","@id":"https:\/\/blog.sharedove.com\/adisjugo\/#website","url":"https:\/\/blog.sharedove.com\/adisjugo\/","name":"Adis Jugo blog","description":"The Southern Side","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.sharedove.com\/adisjugo\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blog.sharedove.com\/adisjugo\/#\/schema\/person\/a5ca63552094ce9d5a0440f3a1ac9a4c","name":"adis.jugo","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.sharedove.com\/adisjugo\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cc5a23cf1bd0b9d8401c9dd65c6c141041ec0c6e37eedbb511779e4a40a198fd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cc5a23cf1bd0b9d8401c9dd65c6c141041ec0c6e37eedbb511779e4a40a198fd?s=96&d=mm&r=g","caption":"adis.jugo"},"url":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/author\/adisjugo\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/wp-json\/wp\/v2\/posts\/960","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/wp-json\/wp\/v2\/comments?post=960"}],"version-history":[{"count":0,"href":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/wp-json\/wp\/v2\/posts\/960\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/wp-json\/wp\/v2\/media?parent=960"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/wp-json\/wp\/v2\/categories?post=960"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.sharedove.com\/adisjugo\/index.php\/wp-json\/wp\/v2\/tags?post=960"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}