Parser Error: Could not load type Microsoft.Web.Services.ScriptModule

Problem

You get this error when running your 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 type ‘Microsoft.Web.Services.ScriptModule’.

This issue is usually caused because you have installed pre-release version of the Microsoft Atlas (Ajax) extensions that pre-date the final Microsoft Ajax V1.0 extensions release.  This error can also occur when the Microsoft Ajax extensions are improperly installed or mis-configured.  This problem is not caused by a missing property in your Iron Speed Designer application code.

Solution

Step 1:  Uninstall the Microsoft Ajax extensions on your system.

Step 2:  Re-install the Microsoft Ajax extensions.  These are available for download from Microsoft.

Step 3:  Stop and restart the Microsoft IIS web server on your machine.

Step 4:  Shut down and restart your machine.  This is necessary to reset the global application cache (GAC) and other caches maintained by the .NET Framework.

Step 5:  Rebuild your application in Iron Speed Designer (Build, Rebuild All).

Step 6:  Run your application.  Your application should display properly in your web browser.

See Also

Part IX:  Troubleshooting Applications

Application Will Not Run

Application Runs But No Data is Displayed

Application Error Messages