{"id":2219,"date":"2014-03-06T11:38:04","date_gmt":"2014-03-05T23:38:04","guid":{"rendered":"https:\/\/www.deltics.co.nz\/blog\/?p=2219"},"modified":"2014-03-06T11:38:23","modified_gmt":"2014-03-05T23:38:23","slug":"the-operation-could-not-be-completed-solved","status":"publish","type":"post","link":"https:\/\/www.deltics.co.nz\/blog\/posts\/2219\/","title":{"rendered":"&#8220;The Operation Could Not Be Completed&#8221; &#8211; Solved!"},"content":{"rendered":"<span class=\"rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">[Estimated Reading Time: <\/span> <span class=\"rt-time\">2<\/span> <span class=\"rt-label rt-postfix\">minutes]<\/span><\/span><p>For a while now I had been frustrated by <strong>Visual Studio<\/strong>&#8216;s sudden decision to be un-cooperative when saving new projects, but have finally solved the problem!  Or at least, that manifestation of the problem that was afflicting me.<br \/>\n<!--more--><\/p>\n<p>The issue I was experiencing was baffling.  Following these steps:<\/p>\n<ol>\n<li>Create new project from template project<\/li>\n<li>Save solution<\/li>\n<\/ol>\n<p><strong>Visual Studio<\/strong> would stubbornly and unhelpfully complain that &#8220;<em>The operation could not be completed<\/em>&#8220;.  Upon checking the desired save location I would find that a solution directory had been created, but that was it.  There were no other project or solutions files or folders.<\/p>\n<p>As far as error information went, that was it.  No further information was forthcoming.  Even attaching another instance of <strong>Visual Studio<\/strong> debugger to the IDE process shed no light, with no apparent exceptions or other output to indicate why <strong>Visual Studio<\/strong> would be having any difficulty with what should be a simple operation.<\/p>\n<p><strong>Windows Event Viewer<\/strong> was similarly bereft of useful information.<\/p>\n<p>&#8220;<a href=\"http:\/\/www.youtube.com\/watch?v=NYklvrt-rNM\" title=\"Computer Says 'No'\" target=\"_blank\">Computer says &#8216;No&#8217;<\/a>&#8221; would have been about as useful.<\/p>\n<p>At first it only seemed to affect certain project types and I was able to work around that by working in other project types or on existing projects.<\/p>\n<p>Googling the issue was an exercise in frustration in itself.<\/p>\n<p>The variety of circumstances (and versions!) in which <strong>Visual Studio<\/strong> has exhibited this sort of stubborn refusal to complete an operation were manifold, and none of those scenarios or the proposed resolutions applied to my simple case (and unsurprisingly did not resolve my problem when I tried them out of sheer desperation).<\/p>\n<p>But I made a breakthrough today!<\/p>\n<p>I finally stumbled upon <a href=\"http:\/\/www.pertell.com\/sqlservings\/archive\/2012\/07\/error-when-saving-tabular-project-in-visual-studio-2010\/\" target=\"_blank\">someone who had experienced apparently the same problem, but with a different specific project type<\/a>.<\/p>\n<p>It was also in an older version of <strong>Visual Studio<\/strong> (<strong>2010<\/strong>) than the one I was using (<strong>2012<\/strong>), but fortune favours the bold, and the suggested solution was trivial so I thought why not give it a try&#8230;<\/p>\n<p>The solution being: <em>Ensure that &#8220;<strong>Save new project when created<\/strong>&#8221; is enabled in Visual Studio settings<\/em>.<\/p>\n<p>And would you believe it, it worked!<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">[Estimated Reading Time: <\/span> <span class=\"rt-time\">2<\/span> <span class=\"rt-label rt-postfix\">minutes]<\/span><\/span> For a while now I had been frustrated by Visual Studio&#8216;s sudden decision to be un-cooperative when saving new projects, but have finally solved the problem! Or at least, that manifestation of the problem that was afflicting me.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":[]},"categories":[4],"tags":[266],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1TKYv-zN","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2393,"url":"https:\/\/www.deltics.co.nz\/blog\/posts\/2393\/","url_meta":{"origin":2219,"position":0},"title":"Come on Baby, Light My Fire","date":"25 Apr 2016","format":false,"excerpt":"Earlier this year, the Fire IDE for Elements was officially released after a fairly extensive beta. I have previously stuck with Visual Studio for the [relatively little] Elements work I have been doing but problems with my VM solution on a recently acquired MacBook Pro gave me the impetus to\u2026","rel":"","context":"In &quot;Delphi&quot;","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.deltics.co.nz\/blog\/wp-content\/uploads\/Fire-Initial-Project-300x214.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2433,"url":"https:\/\/www.deltics.co.nz\/blog\/posts\/2433\/","url_meta":{"origin":2219,"position":1},"title":"Fire, Walk With Me","date":"21 May 2016","format":false,"excerpt":"This final post in the mini-series re-creating a random number app for OS X, Android and .NET has taken a while not because it's complicated but because I've been distracted by a far more significant cross-platform project and some significant and exciting developments in the world of Fire and Elements.\u2026","rel":"","context":"In &quot;Delphi&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1910,"url":"https:\/\/www.deltics.co.nz\/blog\/posts\/1910\/","url_meta":{"origin":2219,"position":2},"title":"What&#8217;s In a Number .. ?","date":"16 Oct 2013","format":false,"excerpt":"Last week I picked up a Nokia 520 Windows Phone for what I consider to be an absolute bargain price (well under the NZ$299 RRP) specifically as a development handset to allow me to explore the Windows Phone support offered by Oxygene. I've only just started down this road but\u2026","rel":"","context":"In &quot;Delphi&quot;","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.deltics.co.nz\/blog\/wp-content\/uploads\/Screen-Shot-2013-10-15-at-14.38.41.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2327,"url":"https:\/\/www.deltics.co.nz\/blog\/posts\/2327\/","url_meta":{"origin":2219,"position":3},"title":"On The Shoulders of Giants&#8230;","date":"18 Dec 2014","format":false,"excerpt":"When discussing mobile device application development using Oxygene or other RemObjects Elements technologies, the question of user interface designers doesn't usually take long to come up (particularly with Delphi developers). Up to now the answer has always been Xcode Interface Builder for iOS\/OS X, Visual Studio WinForms\/WPF Designers for .Net\u2026","rel":"","context":"In &quot;Android&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2262,"url":"https:\/\/www.deltics.co.nz\/blog\/posts\/2262\/","url_meta":{"origin":2219,"position":4},"title":"Visual Studio Pro for Just $45 !!","date":"20 Aug 2014","format":false,"excerpt":"It's true. Visual Studio Professional can be had for as little as $45, though it can take a little digging to find this option. And there is a catch (or two). It's available at this price through Visual Studio Online. And the first catch is... it's a subscription. That $45\u2026","rel":"","context":"In &quot;Delphi&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2296,"url":"https:\/\/www.deltics.co.nz\/blog\/posts\/2296\/","url_meta":{"origin":2219,"position":5},"title":"Sign Here Please&#8230; (Using This Specific Pen)","date":"01 Sep 2014","format":false,"excerpt":"My original Android version of TXT-2-PARK has been in the Google Play Store for a little over a week now. But it was only on Saturday that I decided to install the release version onto my phone from the store itself, and found a problem. The application would download just\u2026","rel":"","context":"In &quot;Android&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/posts\/2219"}],"collection":[{"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/comments?post=2219"}],"version-history":[{"count":3,"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/posts\/2219\/revisions"}],"predecessor-version":[{"id":2222,"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/posts\/2219\/revisions\/2222"}],"wp:attachment":[{"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/media?parent=2219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/categories?post=2219"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.deltics.co.nz\/blog\/wp-json\/wp\/v2\/tags?post=2219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}