{"id":4954,"date":"2007-07-03T14:59:00","date_gmt":"2007-07-03T14:59:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/webdev\/2007\/07\/03\/hotfix-update-for-index-was-outside-the-bounds-of-the-array-error-when-publishing-a-website\/"},"modified":"2007-07-03T14:59:00","modified_gmt":"2007-07-03T14:59:00","slug":"hotfix-update-for-index-was-outside-the-bounds-of-the-array-error-when-publishing-a-website","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/hotfix-update-for-index-was-outside-the-bounds-of-the-array-error-when-publishing-a-website\/","title":{"rendered":"Hotfix Update for \u201cIndex was outside the bounds of the array.\u201d Error when Publishing a Website"},"content":{"rendered":"<p><P class=\"MsoNormal\"><FONT face=\"Times New Roman\" size=\"3\">I am glad to announce that an updated version of a Publish Website hotfix for VS 2005 SP1 is now available for <\/FONT><A href=\"https:\/\/connect.microsoft.com\/VisualStudio\/Downloads\/DownloadDetails.aspx?DownloadID=6178&amp;wa=wsignin1.0\"><FONT face=\"Times New Roman\" size=\"3\">download<\/FONT><\/A><FONT face=\"Times New Roman\" size=\"3\"> and includes Vista support.<\/FONT><\/P>\n<P class=\"MsoNormal\"><FONT face=\"Times New Roman\" size=\"3\">&nbsp;<\/FONT><\/P>\n<P class=\"MsoNormal\"><FONT face=\"Times New Roman\" size=\"3\">In April we released a hotfix to address an \u201cIndex was outside the bounds of the array\u201d error that prevented a website to be published.<SPAN>&nbsp; <\/SPAN>You see this issue in VS 2005 SP1 when you execute the Publish Website command for a website that was configured to use \u201c\/\u201d as the Virtual Path. <SPAN>&nbsp;<\/SPAN>This Virtual Path property was introduced in SP1 to allow running a website in the root folder of the built-in ASP.NET Web Server. There are some previous posts <\/FONT><A href=\"http:\/\/weblogs.asp.net\/scottgu\/archive\/2007\/04\/23\/public-hotfix-patch-for-vs-index-was-outside-the-bounds-of-the-array-publish-website-issue.aspx\"><FONT face=\"Times New Roman\" size=\"3\">here<\/FONT><\/A><FONT face=\"Times New Roman\" size=\"3\"> and <\/FONT><A href=\"http:\/\/blogs.msdn.com\/webdevtools\/archive\/2007\/04\/23\/hotfix-publish-command-fails-when-publishing-to-root-folder.aspx\"><FONT face=\"Times New Roman\" size=\"3\">here<\/FONT><\/A><FONT face=\"Times New Roman\" size=\"3\"> that give more details about the patch.<\/FONT><\/P>\n<P class=\"MsoNormal\">&nbsp;<\/P>\n<P class=\"MsoNormal\"><FONT face=\"Times New Roman\" size=\"3\"><IMG height=\"154\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/MSDNBlogsFS\/prod.evol.blogs.msdn.com\/CommunityServer.Components.PostAttachments\/00\/03\/67\/45\/42\/PublishError.JPG\" width=\"558\"><\/FONT><\/P>\n<P class=\"MsoNormal\">&nbsp;<\/P>\n<P class=\"MsoNormal\"><FONT face=\"Times New Roman\" size=\"3\">In the comments for the previous posts, people asked about this fix not working if you have the VS 2005 SP1 update for Vista installed.<SPAN>&nbsp; <\/SPAN>We have confirmed the issue, and this <\/FONT><A href=\"https:\/\/connect.microsoft.com\/VisualStudio\/Downloads\/DownloadDetails.aspx?DownloadID=6178&amp;wa=wsignin1.0\"><FONT face=\"Times New Roman\" size=\"3\">patch<\/FONT><\/A><FONT face=\"Times New Roman\" size=\"3\"> has been updated now to also work with the VS 2005 <\/FONT><A href=\"http:\/\/www.microsoft.com\/downloads\/details.aspx?FamilyID=90e2942d-3ad1-4873-a2ee-4acc0aace5b6&amp;displaylang=en\"><FONT face=\"Times New Roman\" size=\"3\">Update for Vista<\/FONT><\/A><FONT face=\"Times New Roman\" size=\"3\">.<\/FONT><\/P>\n<P class=\"MsoNormal\"><FONT face=\"Times New Roman\" size=\"3\">&nbsp;<\/FONT><\/P>\n<P class=\"MsoNormal\"><FONT face=\"Times New Roman\" size=\"3\">Hope this helps!<\/FONT><\/P>\n<P class=\"MsoNormal\"><FONT face=\"Times New Roman\" size=\"3\">&nbsp;<\/FONT><\/P>\n<P class=\"MsoNormal\"><FONT face=\"Times New Roman\" size=\"3\">-Alison Lu<\/FONT><\/P>\n<P class=\"MsoNormal\"><FONT face=\"Times New Roman\" size=\"3\">Visual Studio Web Tools<\/FONT><\/P>\n<P class=\"MsoNormal\">&nbsp;<\/P><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am glad to announce that an updated version of a Publish Website hotfix for VS 2005 SP1 is now available for download and includes Vista support. &nbsp; In April we released a hotfix to address an \u201cIndex was outside the bounds of the array\u201d error that prevented a website to be published.&nbsp; You see [&hellip;]<\/p>\n","protected":false},"author":404,"featured_media":58792,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[197],"tags":[4,7265,31,7262,7266,147,7268],"class_list":["post-4954","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aspnet","tag-net","tag-announcements","tag-asp-net","tag-development","tag-vista","tag-visual-studio","tag-web"],"acf":[],"blog_post_summary":"<p>I am glad to announce that an updated version of a Publish Website hotfix for VS 2005 SP1 is now available for download and includes Vista support. &nbsp; In April we released a hotfix to address an \u201cIndex was outside the bounds of the array\u201d error that prevented a website to be published.&nbsp; You see [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/4954","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/users\/404"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/comments?post=4954"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/4954\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media\/58792"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media?parent=4954"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=4954"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=4954"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}