{"id":390,"date":"2021-01-24T17:58:55","date_gmt":"2021-01-24T17:58:55","guid":{"rendered":"https:\/\/hostandtech.com\/help\/?p=390"},"modified":"2021-11-26T20:39:20","modified_gmt":"2021-11-26T20:39:20","slug":"asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server","status":"publish","type":"post","link":"https:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/","title":{"rendered":"ASP.net Validation of Viewstate MAC Failed on Dedicated Windows Server"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"390\" class=\"elementor elementor-390\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2d18965 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2d18965\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-fd7d8b8\" data-id=\"fd7d8b8\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4628472 elementor-widget elementor-widget-text-editor\" data-id=\"4628472\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>In this article we will learn you how to solve ASP.NET Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster<\/p><p>Once you earn dedicated server with windows server and host your website applications on IIS service, you may face some general errors such as:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c6a500d elementor-widget elementor-widget-code-highlight\" data-id=\"c6a500d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash \">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1775a31 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1775a31\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-aae48be\" data-id=\"aae48be\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-52e68bd elementor-widget elementor-widget-heading\" data-id=\"52e68bd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Why I'm Seeing This Error?<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9fc4e7f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9fc4e7f\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-ae3ac21\" data-id=\"ae3ac21\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-55d424c elementor-widget elementor-widget-text-editor\" data-id=\"55d424c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>View State is the mechanism to preserve the Value of the Page and Controls between round trips. It is a Page-Level State Management technique.\u00a0<\/p><p>Normally this error happens because of aps.net worker process or by server IIS recycling the process. ASP.NET process is to encrypt the view state by using Auto generated Key when the process spins up, the problem comes when a client (browser) sends the request with a view state encrypted with the key generated by another worker process. As long as the key is different, ASP.NET will not be able to decrypt the view state and it will give the above error.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-60ed433 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"60ed433\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-710712a\" data-id=\"710712a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c4dbe94 elementor-widget elementor-widget-heading\" data-id=\"c4dbe94\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Solve ASP.NET Validation of Viewstate MAC Failed<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d18443e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d18443e\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-05d3622\" data-id=\"05d3622\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e4d19c6 elementor-widget elementor-widget-text-editor\" data-id=\"e4d19c6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Follow one of these options to solve the problem:<\/p><ul><li>Host your site on a server where the application pools never recycle! Certainly, this is impossible in Shared Hostings. You need a <a href=\"https:\/\/hostandtech.com\/help\/general-topics\/what-is-vps-server\/\" target=\"_blank\" rel=\"noopener\">VPS server<\/a> or <a href=\"https:\/\/www.hostandtech.com\/cheap-dedicated-hosting-server\/\" target=\"_blank\" rel=\"noopener\">dedicated server<\/a>, where you can configure your own settings.<\/li><li><strong>Disable<\/strong> View state Mac , just run \u201cenableViewStateMac=\u201dfalse\u201c\u201d in your web.config on Pages tag under system.web tag.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-824927b elementor-alert-danger elementor-widget elementor-widget-alert\" data-id=\"824927b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"alert.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-alert\" role=\"alert\">\n\n\t\t\t\t\t\t<span class=\"elementor-alert-title\">Warning<\/span>\n\t\t\t\n\t\t\t\t\t\t<span class=\"elementor-alert-description\">This step is not 100% secure \u201cand NOT recommended\u201d.<\/span>\n\t\t\t\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0ca461e elementor-widget elementor-widget-text-editor\" data-id=\"0ca461e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li>Configure ASP.NET to not use Auto-Generated Key but rather a predefined key.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-bfd7ddc elementor-alert-info elementor-widget elementor-widget-alert\" data-id=\"bfd7ddc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"alert.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-alert\" role=\"alert\">\n\n\t\t\t\t\t\t<span class=\"elementor-alert-title\">Note<\/span>\n\t\t\t\n\t\t\t\t\t\t<span class=\"elementor-alert-description\">We recommend this perfect and secure method.<\/span>\n\t\t\t\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-dbf0acc elementor-widget elementor-widget-text-editor\" data-id=\"dbf0acc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li>Generate your key by yourself using Windows Shell, then your web.config file should look like below:<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2ff048c elementor-widget elementor-widget-code-highlight\" data-id=\"2ff048c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-php \">\n\t\t\t\t<code readonly=\"true\" class=\"language-php\">\n\t\t\t\t\t<xmp><machineKey validationKey=\u201d08CE6B478DCE73\u2026\u2026\u2026.E566D8hjuh78D1C045BA60\u2033\r\ndecryptionKey=\u201d42578776B2268\u2026\u2026\u202667F451CE65D0F2ABE9BCD3A\u201d\r\nvalidation=\u201dSHA1\u2033>\r\n<\/machineKey><\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a6a0ad9 elementor-widget elementor-widget-elementor-faq-schema\" data-id=\"a6a0ad9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"elementor-faq-schema.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t                                    <script type=\"application\/ld+json\">\n                    {\n                        \"@context\": \"https:\/\/schema.org\",\n                        \"@type\": \"FAQPage\",\n                        \"mainEntity\": [\n                         {\n                            \"@type\": \"Question\",\n                            \"name\": \"How Do I Solve ASP.NET Validation of Viewstate MAC Failed?\",\n                            \"acceptedAnswer\": {\n                                \"@type\": \"Answer\",\n                                \"text\": \"&lt;p&gt;Follow one of these options to solve the problem:&lt;\/p&gt;&lt;ul&gt;&lt;li&gt;Host your site on a server where the application pools never recycle! Certainly, this is impossible in Shared Hostings. You need a\u00a0VPS server\u00a0or\u00a0dedicated server, where you can configure your own settings.&lt;\/li&gt;&lt;li&gt;&lt;strong&gt;Disable&lt;\/strong&gt; View state Mac , just run \u201cenableViewStateMac=\u201dfalse\u201c\u201d in your web.config on Pages tag under system.web tag.\u00a0Please note that this step is not 100% secure \u201cand\u00a0&lt;strong&gt;NOT&lt;\/strong&gt;\u00a0recommended\u201d.&lt;\/li&gt;&lt;li&gt;Configure ASP.NET to not use Auto-Generated Key but rather a predefined key.\u00a0&lt;strong&gt;This is the perfect and secure method .&lt;\/strong&gt;&lt;\/li&gt;&lt;li&gt;Generate your key by yourself using Windows Shell.&lt;\/li&gt;&lt;\/ul&gt;\"\n                            }\n                                                    }\n                    ]\n                    }\n                <\/script>\n                    \t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>In this article we will learn you how to solve ASP.NET Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster Once you earn dedicated server with windows server and host your website applications on IIS service, you may face some general errors such as: Validation of viewstate MAC [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":14990,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[261,262],"tags":[285,284,301],"class_list":["post-390","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows-server","category-windows-server-iis","tag-iis","tag-vps-server","tag-windows"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>ASP.net Validation of Viewstate MAC Failed on Dedicated Windows Server<\/title>\n<meta name=\"description\" content=\"fix ASP.net Validation of Viewstate MAC Failed On Dedicated Windows Server by configure ASP.NET to use predefined key using Windows Shell\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ASP.net Validation of Viewstate MAC Failed on Dedicated Windows Server\" \/>\n<meta property=\"og:description\" content=\"fix ASP.net Validation of Viewstate MAC Failed On Dedicated Windows Server by configure ASP.NET to use predefined key using Windows Shell\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/\" \/>\n<meta property=\"og:site_name\" content=\"STS Host and Tech Knowledge base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/stshostandtech\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-24T17:58:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-11-26T20:39:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/01\/Asp.net-validation.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"301\" \/>\n\t<meta property=\"og:image:height\" content=\"167\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Host&amp;Tech Support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"ASP.net Validation of Viewstate MAC Failed on Dedicated Windows Server\" \/>\n<meta name=\"twitter:description\" content=\"fix ASP.net Validation of Viewstate MAC Failed On Dedicated Windows Server by configure ASP.NET to use predefined key using Windows Shell\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/01\/Asp.net-validation.jpeg\" \/>\n<meta name=\"twitter:creator\" content=\"@stshostandtech\" \/>\n<meta name=\"twitter:site\" content=\"@stshostandtech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Host&amp;Tech Support\" \/>\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:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/\"},\"author\":{\"name\":\"Host&amp;Tech Support\",\"@id\":\"https:\/\/hostandtech.com\/help\/#\/schema\/person\/e047ccece500c5187cf74bddd8596e83\"},\"headline\":\"ASP.net Validation of Viewstate MAC Failed on Dedicated Windows Server\",\"datePublished\":\"2021-01-24T17:58:55+00:00\",\"dateModified\":\"2021-11-26T20:39:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/\"},\"wordCount\":295,\"publisher\":{\"@id\":\"https:\/\/hostandtech.com\/help\/#organization\"},\"image\":{\"@id\":\"https:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/01\/Asp.net-validation.jpeg\",\"keywords\":[\"IIS\",\"VPS Server\",\"Windows\"],\"articleSection\":[\"Windows Server\",\"Windows Server IIS\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/\",\"url\":\"https:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/\",\"name\":\"ASP.net Validation of Viewstate MAC Failed on Dedicated Windows Server\",\"isPartOf\":{\"@id\":\"https:\/\/hostandtech.com\/help\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/01\/Asp.net-validation.jpeg\",\"datePublished\":\"2021-01-24T17:58:55+00:00\",\"dateModified\":\"2021-11-26T20:39:20+00:00\",\"description\":\"fix ASP.net Validation of Viewstate MAC Failed On Dedicated Windows Server by configure ASP.NET to use predefined key using Windows Shell\",\"breadcrumb\":{\"@id\":\"https:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/#primaryimage\",\"url\":\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/01\/Asp.net-validation.jpeg\",\"contentUrl\":\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/01\/Asp.net-validation.jpeg\",\"width\":301,\"height\":167,\"caption\":\"Validation of viewstate\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/hostandtech.com\/help\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ASP.net Validation of Viewstate MAC Failed on Dedicated Windows Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hostandtech.com\/help\/#website\",\"url\":\"https:\/\/hostandtech.com\/help\/\",\"name\":\"STS Host and Tech Knowledge base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/hostandtech.com\/help\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hostandtech.com\/help\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/hostandtech.com\/help\/#organization\",\"name\":\"STS Host and Tech Inc\",\"url\":\"https:\/\/hostandtech.com\/help\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hostandtech.com\/help\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/hostandtechlogo-1.png\",\"contentUrl\":\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/hostandtechlogo-1.png\",\"width\":630,\"height\":270,\"caption\":\"STS Host and Tech Inc\"},\"image\":{\"@id\":\"https:\/\/hostandtech.com\/help\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/stshostandtech\",\"https:\/\/x.com\/stshostandtech\",\"https:\/\/www.instagram.com\/stshostandtech\",\"https:\/\/www.youtube.com\/channel\/UCqJOPwWE0ILTeIScaND7enw\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/hostandtech.com\/help\/#\/schema\/person\/e047ccece500c5187cf74bddd8596e83\",\"name\":\"Host&amp;Tech Support\",\"sameAs\":[\"https:\/\/hostandtech.com\/help\"],\"url\":\"https:\/\/hostandtech.com\/help\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ASP.net Validation of Viewstate MAC Failed on Dedicated Windows Server","description":"fix ASP.net Validation of Viewstate MAC Failed On Dedicated Windows Server by configure ASP.NET to use predefined key using Windows Shell","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:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/","og_locale":"en_US","og_type":"article","og_title":"ASP.net Validation of Viewstate MAC Failed on Dedicated Windows Server","og_description":"fix ASP.net Validation of Viewstate MAC Failed On Dedicated Windows Server by configure ASP.NET to use predefined key using Windows Shell","og_url":"https:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/","og_site_name":"STS Host and Tech Knowledge base","article_publisher":"https:\/\/www.facebook.com\/stshostandtech","article_published_time":"2021-01-24T17:58:55+00:00","article_modified_time":"2021-11-26T20:39:20+00:00","og_image":[{"width":301,"height":167,"url":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/01\/Asp.net-validation.jpeg","type":"image\/jpeg"}],"author":"Host&amp;Tech Support","twitter_card":"summary_large_image","twitter_title":"ASP.net Validation of Viewstate MAC Failed on Dedicated Windows Server","twitter_description":"fix ASP.net Validation of Viewstate MAC Failed On Dedicated Windows Server by configure ASP.NET to use predefined key using Windows Shell","twitter_image":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/01\/Asp.net-validation.jpeg","twitter_creator":"@stshostandtech","twitter_site":"@stshostandtech","twitter_misc":{"Written by":"Host&amp;Tech Support","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/#article","isPartOf":{"@id":"https:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/"},"author":{"name":"Host&amp;Tech Support","@id":"https:\/\/hostandtech.com\/help\/#\/schema\/person\/e047ccece500c5187cf74bddd8596e83"},"headline":"ASP.net Validation of Viewstate MAC Failed on Dedicated Windows Server","datePublished":"2021-01-24T17:58:55+00:00","dateModified":"2021-11-26T20:39:20+00:00","mainEntityOfPage":{"@id":"https:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/"},"wordCount":295,"publisher":{"@id":"https:\/\/hostandtech.com\/help\/#organization"},"image":{"@id":"https:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/#primaryimage"},"thumbnailUrl":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/01\/Asp.net-validation.jpeg","keywords":["IIS","VPS Server","Windows"],"articleSection":["Windows Server","Windows Server IIS"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/","url":"https:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/","name":"ASP.net Validation of Viewstate MAC Failed on Dedicated Windows Server","isPartOf":{"@id":"https:\/\/hostandtech.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/#primaryimage"},"image":{"@id":"https:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/#primaryimage"},"thumbnailUrl":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/01\/Asp.net-validation.jpeg","datePublished":"2021-01-24T17:58:55+00:00","dateModified":"2021-11-26T20:39:20+00:00","description":"fix ASP.net Validation of Viewstate MAC Failed On Dedicated Windows Server by configure ASP.NET to use predefined key using Windows Shell","breadcrumb":{"@id":"https:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/#primaryimage","url":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/01\/Asp.net-validation.jpeg","contentUrl":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/01\/Asp.net-validation.jpeg","width":301,"height":167,"caption":"Validation of viewstate"},{"@type":"BreadcrumbList","@id":"https:\/\/hostandtech.com\/help\/windows-server\/asp-net-validation-of-viewstate-mac-failed-on-dedicated-windows-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hostandtech.com\/help\/"},{"@type":"ListItem","position":2,"name":"ASP.net Validation of Viewstate MAC Failed on Dedicated Windows Server"}]},{"@type":"WebSite","@id":"https:\/\/hostandtech.com\/help\/#website","url":"https:\/\/hostandtech.com\/help\/","name":"STS Host and Tech Knowledge base","description":"","publisher":{"@id":"https:\/\/hostandtech.com\/help\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hostandtech.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hostandtech.com\/help\/#organization","name":"STS Host and Tech Inc","url":"https:\/\/hostandtech.com\/help\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostandtech.com\/help\/#\/schema\/logo\/image\/","url":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/hostandtechlogo-1.png","contentUrl":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/hostandtechlogo-1.png","width":630,"height":270,"caption":"STS Host and Tech Inc"},"image":{"@id":"https:\/\/hostandtech.com\/help\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/stshostandtech","https:\/\/x.com\/stshostandtech","https:\/\/www.instagram.com\/stshostandtech","https:\/\/www.youtube.com\/channel\/UCqJOPwWE0ILTeIScaND7enw"]},{"@type":"Person","@id":"https:\/\/hostandtech.com\/help\/#\/schema\/person\/e047ccece500c5187cf74bddd8596e83","name":"Host&amp;Tech Support","sameAs":["https:\/\/hostandtech.com\/help"],"url":"https:\/\/hostandtech.com\/help\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/posts\/390","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/comments?post=390"}],"version-history":[{"count":117,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/posts\/390\/revisions"}],"predecessor-version":[{"id":16114,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/posts\/390\/revisions\/16114"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/media\/14990"}],"wp:attachment":[{"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/media?parent=390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/categories?post=390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/tags?post=390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}