{"id":18,"date":"2010-10-26T06:28:25","date_gmt":"2010-10-26T06:28:25","guid":{"rendered":"http:\/\/aceplaza.com\/?p=18"},"modified":"2011-07-12T00:26:02","modified_gmt":"2011-07-12T00:26:02","slug":"i-dont-like-microsoft-access","status":"publish","type":"post","link":"https:\/\/blog.aceplaza.com\/?p=18","title":{"rendered":"I Don&#8217;t Like Microsoft Access"},"content":{"rendered":"<p>I had to help out with trying to automate a process that updates an Access file unattended.<!--more--><\/p>\n<p>I get my geek hat on and try to automate this using a SSIS package. That didn&#8217;t work out as expected so I then write a little C# program to do the same thing. In both cases, I had to install the Microsoft Office Primary Interop Assemblies (PIAs). With the SSIS package, I tried implementing this with a Script Task. When that failed, I wrote the console application to do the same thing.<\/p>\n<p>This console application worked. Then I did further testing and realized that I don&#8217;t think I&#8217;ll ever get this working like I want it to work. At the end of my testing I came to the conclusion that to automate this, the account used needs some permission (account I used had administrative privileges) and needs an interactive session. Further research shows that Microsoft didn&#8217;t create Access with server-side automation in mind (see <a title=\"http:\/\/support.microsoft.com\/kb\/257757\" href=\"http:\/\/support.microsoft.com\/kb\/257757\" target=\"_blank\">here<\/a> (until the link dies) if you don&#8217;t believe me).<\/p>\n<p>This is upsetting but until I find a workaround, I&#8217;ll shelve this task too.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had to help out with trying to automate a process that updates an Access file unattended.<\/p>\n","protected":false},"author":721,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,7,3],"tags":[25,24,20],"class_list":["post-18","post","type-post","status-publish","format-standard","hentry","category-access","category-c","category-sql","tag-access","tag-c","tag-sql"],"_links":{"self":[{"href":"https:\/\/blog.aceplaza.com\/index.php?rest_route=\/wp\/v2\/posts\/18","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.aceplaza.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.aceplaza.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.aceplaza.com\/index.php?rest_route=\/wp\/v2\/users\/721"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.aceplaza.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=18"}],"version-history":[{"count":3,"href":"https:\/\/blog.aceplaza.com\/index.php?rest_route=\/wp\/v2\/posts\/18\/revisions"}],"predecessor-version":[{"id":109,"href":"https:\/\/blog.aceplaza.com\/index.php?rest_route=\/wp\/v2\/posts\/18\/revisions\/109"}],"wp:attachment":[{"href":"https:\/\/blog.aceplaza.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=18"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.aceplaza.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=18"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.aceplaza.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}