When using the sample provided in this article I get the following error. What do I need to change in the web.config file?
Configuration Error
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:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
Server Error in '/' Application.
Configuration Error
Description:
An error occurred during the processing of a configuration file required to
service this request. Please review the specific error details below and modify
your configuration file appropriately.
Parser Error Message:
Could not load file or assembly 'Microsoft.Web.Delegation, Version=7.1.0.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
The system cannot find the file specified.
Source Error:
Line 29: <add assembly="Microsoft.Web.Deployment, Version=7.1.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> Line 30: <add assembly="Microsoft.Web.PlatformInstaller, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> Line 31: <add assembly="Microsoft.Web.Delegation, Version=7.1.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></assemblies> Line 32: </compilation> Line 33: <!-- |
Source File:
C:\Websites\ControlPanel\Sample\Content\Default Web
Site\ControlPanelAppRtwAPI\web.config Line: 31
Version Information: Microsoft .NET Framework Version:2.0.50727.4016;
ASP.NET Version:2.0.50727.4016