Completing the initial installation and configuration of KAFC, which includes the first launching of the ..\Insight\Admin view, an error message is received:
Question / Problem:
Completing the initial installation and configuration of KAFC, which includes the first launching of the ..\Insight\Admin
view, an error message is received:
The content type text/html; charset=utf-8 of the response message does not match the
content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be
sure that the IsContentTypeSupported method is implemented properly. The first 1024
bytes of the response were: '<!DOCTYPE html>< html> <head> <title>Could not load file
or assembly 'Microsoft.Web.Administration, Version=7.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.</title>
Answer / Solution:
Full error message:
The content type text/html; charset=utf-8 of the response message does not match the
content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be
sure that the IsContentTypeSupported method is implemented properly. The first 1024
bytes of the response were: '<!DOCTYPE html>< html> <head> <title>Could not load file
or assembly 'Microsoft.Web.Administration, Version=7.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find
the file specified.</title> <meta name="viewport" content="width=device-width" />
<style> body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p
{font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-
family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-
family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-
family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-
family:"Consolas","Lucida Console",Monospace;font- size:11pt;margin:0;padding:0.5em;line-height:14pt}
.marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-botto'.
Back to Admin
Version 5.1.1.978
The error message relates to the Static Content IIS feature, which needs to be enabled from the machine's Control Panel, as follows:
- Navigate to: Control Panel - Programs and Features.
- Select: Turn Windows Features on or off
- Expand: Internet Information Services; World Wide Web Services; Common HTTP Features
- Check: Static Content & OK
A window advising of the selected feature installation will result.
Executing IISRESET
from an elevated command prompt may be necessary after adding the Static Content feature.
Applies to:
Product | Version | Category |
---|---|---|
KAFC | 1.2 | Administrative Tool |