{"id":243,"date":"2013-05-13T23:10:07","date_gmt":"2013-05-13T23:10:07","guid":{"rendered":"http:\/\/elbsolutions.com\/projects\/?p=243"},"modified":"2022-02-03T11:25:05","modified_gmt":"2022-02-03T17:25:05","slug":"changing-the-server-name-or-location-of-a-linked-table-in-ms-access","status":"publish","type":"post","link":"https:\/\/elbsolutions.com\/projects\/changing-the-server-name-or-location-of-a-linked-table-in-ms-access\/","title":{"rendered":"Changing the server name or location of a linked Table in MS Access"},"content":{"rendered":"<p>Why is this so confusing? It isn&#8217;t but it is quite convoluded on how to get this done. I had to do this because the connections to my SQL Express database had to have the port name in the connection.<\/p>\n<p>So on my local machine, I could open up the MS Access file with tables linked to the computer named CDC-EBLEY2-7\\SQLEXPRESS, but if you were to open the file from someone else&#8217;s computer, an Connection failed: SQL\u00a0State: &#8216;01000&#8217; SQL Server Error 67\u00a0SQL Server Error: 17 (blah blah\u00a0blah)\u00a0resulted. Why? Because I enabled my server to be connected to via TCP\/IP over port 1433 &#8211; which are the defaults, but it has to be explicitly set in the connection string of every table. What I needed was to connect to CDC-EBLEY2-7,1433\\SQLEXPRESS so others could open the MS Access file and NOT get errors. This is strange, because 1433 is the default port any way &#8211; but it works.<\/p>\n<p>Each one of my tables is not through an ODBC setup but each table has it&#8217;s own string which needs to be updated<\/p>\n<p>Lets get some info first. Open notepad and get ready to copy the DESCRIPTION of the linked table&#8217;s construction. Here&#8217;s how<\/p>\n<ol>\n<li>Open MS Access<\/li>\n<li>Right mouse click on a table that used to work or you are sure does work and choose &#8220;Design View&#8221;. This does not make sense for a linked table, but bear with me.<\/li>\n<li>Select Yes on the warning screen to continue<\/li>\n<li>If, on the right, there is no properties window for the table, on the Ribbon (Access 2010) click Property Sheet<\/li>\n<li>This reveals a Description property &#8211; copy all that it is in that\u00a0property\u00a0it and paste it into Notepad or somewhere for later.<\/li>\n<li>Click the External Data in the ribbon and choose &#8216;Linked Table Manager&#8217;\n<ol>\n<li>CLick the Always prompt for a new location check box &#8211; this is a complicated way to ask the user if (s)he wasts to change the connection info<\/li>\n<li>Click Select All button or choose the tables you wish to update with check marks<\/li>\n<li>Click OK<\/li>\n<\/ol>\n<\/li>\n<li>A dialog comes up. Click New\n<ol>\n<li>Choose SQL Server as your driver<\/li>\n<li>CLick the Advanced Button<\/li>\n<li>Paste all that stuff in Notepad\n<ol>\n<li>EXCEPT REMOVE the TABLE=&#8230; stuff up to the next semicolon.<\/li>\n<li>change the server name to be CDC-EBLEY2-7,1433 where 1433 in my example is the port n<\/li>\n<li>Click OK<\/li>\n<\/ol>\n<\/li>\n<li>It then prompts you to save all this into a file for later. Chooose a spot in My Documents in a connections folder &#8211; or better yet on a network location for other&#8217;s to use later<\/li>\n<li>Click OK a couple of times<\/li>\n<li>Now Access will replace all your tables with the new DSN (connection details) string.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Why is this so confusing? It isn&#8217;t but it is quite convoluded on how to get this done. I had to do this because the connections to my SQL Express database had to have the port name in the connection. So on my local machine, I could open up the MS Access file with tables [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-243","post","type-post","status-publish","format-standard","hentry","category-general"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Changing the server name or location of a linked Table in MS Access - ELB Solutions.com Inc.<\/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:\/\/elbsolutions.com\/projects\/changing-the-server-name-or-location-of-a-linked-table-in-ms-access\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Changing the server name or location of a linked Table in MS Access - ELB Solutions.com Inc.\" \/>\n<meta property=\"og:description\" content=\"Why is this so confusing? It isn&#8217;t but it is quite convoluded on how to get this done. I had to do this because the connections to my SQL Express database had to have the port name in the connection. So on my local machine, I could open up the MS Access file with tables [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/elbsolutions.com\/projects\/changing-the-server-name-or-location-of-a-linked-table-in-ms-access\/\" \/>\n<meta property=\"og:site_name\" content=\"ELB Solutions.com Inc.\" \/>\n<meta property=\"article:published_time\" content=\"2013-05-13T23:10:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-03T17:25:05+00:00\" \/>\n<meta name=\"author\" content=\"Etienne Bley\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Etienne Bley\" \/>\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\":\"Article\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/changing-the-server-name-or-location-of-a-linked-table-in-ms-access\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/changing-the-server-name-or-location-of-a-linked-table-in-ms-access\\\/\"},\"author\":{\"name\":\"Etienne Bley\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\"},\"headline\":\"Changing the server name or location of a linked Table in MS Access\",\"datePublished\":\"2013-05-13T23:10:07+00:00\",\"dateModified\":\"2022-02-03T17:25:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/changing-the-server-name-or-location-of-a-linked-table-in-ms-access\\\/\"},\"wordCount\":475,\"articleSection\":[\"General\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/changing-the-server-name-or-location-of-a-linked-table-in-ms-access\\\/\",\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/changing-the-server-name-or-location-of-a-linked-table-in-ms-access\\\/\",\"name\":\"Changing the server name or location of a linked Table in MS Access - ELB Solutions.com Inc.\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#website\"},\"datePublished\":\"2013-05-13T23:10:07+00:00\",\"dateModified\":\"2022-02-03T17:25:05+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/changing-the-server-name-or-location-of-a-linked-table-in-ms-access\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/changing-the-server-name-or-location-of-a-linked-table-in-ms-access\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/changing-the-server-name-or-location-of-a-linked-table-in-ms-access\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Changing the server name or location of a linked Table in MS Access\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#website\",\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/\",\"name\":\"ELB Solutions.com Inc.\",\"description\":\"Bringing all your IT Pieces together\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\",\"name\":\"Etienne Bley\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"caption\":\"Etienne Bley\"},\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/author\\\/etienne-bley\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Changing the server name or location of a linked Table in MS Access - ELB Solutions.com Inc.","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:\/\/elbsolutions.com\/projects\/changing-the-server-name-or-location-of-a-linked-table-in-ms-access\/","og_locale":"en_US","og_type":"article","og_title":"Changing the server name or location of a linked Table in MS Access - ELB Solutions.com Inc.","og_description":"Why is this so confusing? It isn&#8217;t but it is quite convoluded on how to get this done. I had to do this because the connections to my SQL Express database had to have the port name in the connection. So on my local machine, I could open up the MS Access file with tables [&hellip;]","og_url":"https:\/\/elbsolutions.com\/projects\/changing-the-server-name-or-location-of-a-linked-table-in-ms-access\/","og_site_name":"ELB Solutions.com Inc.","article_published_time":"2013-05-13T23:10:07+00:00","article_modified_time":"2022-02-03T17:25:05+00:00","author":"Etienne Bley","twitter_misc":{"Written by":"Etienne Bley","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/elbsolutions.com\/projects\/changing-the-server-name-or-location-of-a-linked-table-in-ms-access\/#article","isPartOf":{"@id":"https:\/\/elbsolutions.com\/projects\/changing-the-server-name-or-location-of-a-linked-table-in-ms-access\/"},"author":{"name":"Etienne Bley","@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39"},"headline":"Changing the server name or location of a linked Table in MS Access","datePublished":"2013-05-13T23:10:07+00:00","dateModified":"2022-02-03T17:25:05+00:00","mainEntityOfPage":{"@id":"https:\/\/elbsolutions.com\/projects\/changing-the-server-name-or-location-of-a-linked-table-in-ms-access\/"},"wordCount":475,"articleSection":["General"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/elbsolutions.com\/projects\/changing-the-server-name-or-location-of-a-linked-table-in-ms-access\/","url":"https:\/\/elbsolutions.com\/projects\/changing-the-server-name-or-location-of-a-linked-table-in-ms-access\/","name":"Changing the server name or location of a linked Table in MS Access - ELB Solutions.com Inc.","isPartOf":{"@id":"https:\/\/elbsolutions.com\/projects\/#website"},"datePublished":"2013-05-13T23:10:07+00:00","dateModified":"2022-02-03T17:25:05+00:00","author":{"@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39"},"breadcrumb":{"@id":"https:\/\/elbsolutions.com\/projects\/changing-the-server-name-or-location-of-a-linked-table-in-ms-access\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/elbsolutions.com\/projects\/changing-the-server-name-or-location-of-a-linked-table-in-ms-access\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/elbsolutions.com\/projects\/changing-the-server-name-or-location-of-a-linked-table-in-ms-access\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/elbsolutions.com\/projects\/"},{"@type":"ListItem","position":2,"name":"Changing the server name or location of a linked Table in MS Access"}]},{"@type":"WebSite","@id":"https:\/\/elbsolutions.com\/projects\/#website","url":"https:\/\/elbsolutions.com\/projects\/","name":"ELB Solutions.com Inc.","description":"Bringing all your IT Pieces together","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/elbsolutions.com\/projects\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39","name":"Etienne Bley","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","caption":"Etienne Bley"},"url":"https:\/\/elbsolutions.com\/projects\/author\/etienne-bley\/"}]}},"_links":{"self":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/243","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/comments?post=243"}],"version-history":[{"count":2,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/243\/revisions"}],"predecessor-version":[{"id":2861,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/243\/revisions\/2861"}],"wp:attachment":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/media?parent=243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/categories?post=243"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/tags?post=243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}