{"id":1493,"date":"2013-07-18T14:30:23","date_gmt":"2013-07-18T13:30:23","guid":{"rendered":"http:\/\/www.stuartroberts.net\/?p=1493"},"modified":"2013-07-18T14:30:23","modified_gmt":"2013-07-18T13:30:23","slug":"cannot-access-disposed-object-modelstore","status":"publish","type":"post","link":"http:\/\/www.stuartroberts.net\/index.php\/2013\/07\/18\/cannot-access-disposed-object-modelstore\/","title":{"rendered":"Cannot Access a Disposed Object &#8211; ModelStore"},"content":{"rendered":"<p>If you use the database schema compare tool in Visual Studio 2012 you may see the following error when trying to compare the database with the source:<\/p>\n<p><em>Cannot access a disposed object. Object name: &#8216;ModelStore&#8217;<\/em><\/p>\n<p>For me, this was arose after installing the June 2013 update 3 for Visual Studio 2012.<\/p>\n<p>I resolved the error by running <em>Clean Solution<\/em> and rebooting my machine.<\/p>\n<p>Hopefully this helps someone, as the error isn&#8217;t exactly helpful \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you use the database schema compare tool in Visual Studio 2012 you may see the following error when trying to compare the database with the source: Cannot access a disposed object. Object name: &#8216;ModelStore&#8217; For me, this was arose &hellip; <a href=\"http:\/\/www.stuartroberts.net\/index.php\/2013\/07\/18\/cannot-access-disposed-object-modelstore\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"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":[90],"tags":[62,5],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/plx2I-o5","_links":{"self":[{"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/posts\/1493"}],"collection":[{"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/comments?post=1493"}],"version-history":[{"count":4,"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/posts\/1493\/revisions"}],"predecessor-version":[{"id":1502,"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/posts\/1493\/revisions\/1502"}],"wp:attachment":[{"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/media?parent=1493"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/categories?post=1493"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/tags?post=1493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}