{"id":94,"date":"2011-08-04T13:17:00","date_gmt":"2011-08-04T13:17:00","guid":{"rendered":"\/post\/2011\/08\/04\/cshtml-files-return-html-error-404.aspx"},"modified":"2011-08-04T13:17:00","modified_gmt":"2011-08-04T13:17:00","slug":"cshtml-files-return-html-error-404-in-blogengine-net-2-5","status":"publish","type":"post","link":"https:\/\/www.vatland.no\/index.php\/cshtml-files-return-html-error-404-in-blogengine-net-2-5\/","title":{"rendered":"*.cshtml files return html error 404 in BlogEngine.NET 2.5"},"content":{"rendered":"<p>I was searching for some help on this error for days. Tried adding different mappings. Then I found this page :<\/p>\n<p><a href=\"http:\/\/www.sven-s.de\/post\/BlogEngine-HTTP-4043-cshtml-Handler-not-registered-in-Shared-Hosting.aspx\">http:\/\/www.sven-s.de\/post\/BlogEngine-HTTP-4043-cshtml-Handler-not-registered-in-Shared-Hosting.aspx<\/a><\/p>\n<p>&nbsp;&#8220;<\/p>\n<p>HTTP Error 404.3 &#8211; Not Found <br \/>The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.<\/p>\n<p>The solution is, to add the following handlers to web.config:<\/p>\n<div id=\"scid:812469c5-0cb0-4c63-8c15-c81123a09de7:ac0b66c6-7498-437b-83dd-0fbe1de1f3c8\" class=\"wlWriterEditableSmartContent\" style=\"margin: 0px; padding: 0px; float: none; display: inline;\">\n<pre class=\"xml\">&lt;system.webServer&gt;\r\n  &lt;handlers&gt;\r\n    &lt;add name=\"cshtml-ISAPI-4.0_32bit\" path=\"*.cshtml\" verb=\"GET,HEAD,POST,DEBUG\" \r\n         modules=\"IsapiModule\" <br \/>         scriptProcessor=\"C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\aspnet_isapi.dll\" \r\n         preCondition=\"classicMode,runtimeVersionv4.0,bitness32\" responseBufferLimit=\"0\" \/&gt;\t  \r\n    &lt;add name=\"cshtml-ISAPI-4.0_64bit\" path=\"*.cshtml\" verb=\"GET,HEAD,POST,DEBUG\" \r\n         modules=\"IsapiModule\"<br \/>         scriptProcessor=\"C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\aspnet_isapi.dll\" \r\n         preCondition=\"classicMode,runtimeVersionv4.0,bitness64\" responseBufferLimit=\"0\" \/&gt;\r\n    &lt;add name=\"cshtml-Integrated-4.0\" path=\"*.cshtml\" verb=\"GET,HEAD,POST,DEBUG\" \r\n         type=\"System.Web.HttpForbiddenHandler\" <br \/>         preCondition=\"integratedMode,runtimeVersionv4.0\" \/&gt;\r\n  &lt;\/handlers&gt;\r\n&lt;\/system.webServer&gt;<\/pre>\n<\/div>\n<p>&#8220;<\/p>\n<p>Added this settings to the web.config file in the admin folder and &#8220;Wham bam thank you&#8230;&#8230;.&#8221;. Now it it works.<\/p>\n<p>&nbsp;<\/p>\n<p>Atle<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was searching for some help on this error for days. Tried adding different mappings. Then I found this page : http:\/\/www.sven-s.de\/post\/BlogEngine-HTTP-4043-cshtml-Handler-not-registered-in-Shared-Hosting.aspx &nbsp;&#8220; HTTP Error 404.3 &#8211; Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should &hellip; <a href=\"https:\/\/www.vatland.no\/index.php\/cshtml-files-return-html-error-404-in-blogengine-net-2-5\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">*.cshtml files return html error 404 in BlogEngine.NET 2.5<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-94","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":false,"jetpack-related-posts":[{"id":458,"url":"https:\/\/www.vatland.no\/index.php\/o365-error-provisioningfailedexception-failed-to-update-one-of-the-recipient-properties\/","url_meta":{"origin":94,"position":0},"title":"O365 &#8211; Error  : ProvisioningFailedException: Failed to update one of the recipient properties.","author":"Atle","date":"April 14, 2015","format":false,"excerpt":"Trying to migrate exchange users to O365 using cutover migration. Most of mailboxes did ok, but som failed \"Error \u00a0: provisioningFailedException: Failed to update one of the recipient properties.\". It would help if the error messages explained what went wrong.?After some investigation we found the solution. We had\u00a0created a new\u00a0global\u00a0address\u2026","rel":"","context":"In &quot;Exchange&quot;","block_context":{"text":"Exchange","link":"https:\/\/www.vatland.no\/index.php\/category\/exchange\/"},"img":{"alt_text":"office-logo_v3","src":"https:\/\/i0.wp.com\/www.vatland.no\/wp-content\/uploads\/2015\/04\/office-logo_v3-300x167.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":526,"url":"https:\/\/www.vatland.no\/index.php\/error-installing-skype-for-business-server-2015\/","url_meta":{"origin":94,"position":1},"title":"Error installing Skype for Business server 2015","author":"Atle","date":"September 3, 2015","format":false,"excerpt":"Tried to install S4B server 2015 in my lab. Tried this from a computer with no internet access, also I did not install any prerequisites. \"Error: Prerequisite installation failed: Prerequisite installation failed: SqlInstanceRtc For more information, check your SQL Server log files. Log files are in the folder C:\\Program Files\\Microsoft\u2026","rel":"","context":"In &quot;Lync&quot;","block_context":{"text":"Lync","link":"https:\/\/www.vatland.no\/index.php\/category\/lync\/"},"img":{"alt_text":"installerror","src":"https:\/\/i0.wp.com\/www.vatland.no\/wp-content\/uploads\/2015\/09\/installerror.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.vatland.no\/wp-content\/uploads\/2015\/09\/installerror.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.vatland.no\/wp-content\/uploads\/2015\/09\/installerror.png?resize=525%2C300 1.5x"},"classes":[]},{"id":790,"url":"https:\/\/www.vatland.no\/index.php\/upgrade-to-skype-for-business-failed-error-1603\/","url_meta":{"origin":94,"position":2},"title":"Upgrade to Skype for Business failed. Error 1603","author":"Atle","date":"October 20, 2018","format":false,"excerpt":"Have done several upgrades from Lync 2013 to Skype for Business 2015, so this last one should be no different, but faith had other plans. Installed topology builder on a new computer and prepared the upgrade process. But when a bit into the upgrade it failed. Error: Error returned while\u2026","rel":"","context":"In &quot;Lync&quot;","block_context":{"text":"Lync","link":"https:\/\/www.vatland.no\/index.php\/category\/lync\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.vatland.no\/wp-content\/uploads\/2018\/10\/Capture5.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.vatland.no\/wp-content\/uploads\/2018\/10\/Capture5.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.vatland.no\/wp-content\/uploads\/2018\/10\/Capture5.jpg?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.vatland.no\/wp-content\/uploads\/2018\/10\/Capture5.jpg?resize=700%2C400 2x"},"classes":[]},{"id":84,"url":"https:\/\/www.vatland.no\/index.php\/error-1603-installing-exchange-2010-rollups\/","url_meta":{"origin":94,"position":3},"title":"Error 1603 installing Exchange 2010 RollUp&#8217;s","author":"Atle","date":"October 7, 2011","format":false,"excerpt":"Getting error installing Rollup 5 for Exchange 2010 Sp1. Error 1603. According to msi log file it is ServiceControl.ps1 that is causing the error. Solution was to set execution policy to RemoteSigned and also run the \"ServiceControl.ps1 AfterPatch\" script from the Exchange 2010 Bin folder\u00a0. Also remember to start Powershell\u2026","rel":"","context":"In &quot;Exchange&quot;","block_context":{"text":"Exchange","link":"https:\/\/www.vatland.no\/index.php\/category\/exchange\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":467,"url":"https:\/\/www.vatland.no\/index.php\/exchange-2010-mapiexceptionnetworkerror\/","url_meta":{"origin":94,"position":4},"title":"Exchange 2010 : MapiExceptionNetworkError","author":"Atle","date":"May 23, 2015","format":false,"excerpt":"One of our Exchange 2010 servers had its mailboxdatabases dismounted sometime during the night. When we tried to mount them we got a strange error message : \"MapiExceptionNetworkError: Unable to make admin interface connection to server. (hr=0x80040115, ec=-2147221227)\" As we usually do with issued like this on Exchange is to\u2026","rel":"","context":"In &quot;Exchange&quot;","block_context":{"text":"Exchange","link":"https:\/\/www.vatland.no\/index.php\/category\/exchange\/"},"img":{"alt_text":"exchange","src":"https:\/\/i0.wp.com\/www.vatland.no\/wp-content\/uploads\/2014\/09\/exchange.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":83,"url":"https:\/\/www.vatland.no\/index.php\/phone-7-error-download-incomplete\/","url_meta":{"origin":94,"position":5},"title":"Phone 7 error &#8220;Download incomplete &#8230;.&#8221;","author":"Atle","date":"October 18, 2011","format":false,"excerpt":"After upgrading to Mango I got an error message on my phone when I tried to download attachments or images : \"Download incomplete. We will .....\" . I only had this error on one of the Exchange accounts that I was syncing to my phone. Solution was to reimport CA\u2026","rel":"","context":"In &quot;Exchange&quot;","block_context":{"text":"Exchange","link":"https:\/\/www.vatland.no\/index.php\/category\/exchange\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/posts\/94","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/comments?post=94"}],"version-history":[{"count":0,"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/posts\/94\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/media?parent=94"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/categories?post=94"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vatland.no\/index.php\/wp-json\/wp\/v2\/tags?post=94"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}