Wednesday, March 28, 2012

Installing AJAX 1.0 on Windows 2003 Server

All, I have a windows 2003 server fully patched that we have full control of. It has IIS installed on it. Now we have developed an ASP.NET Ajax application, that runs fine on the desktop with visual studio installed. We have uploaded it to the server and Ajax is installed on the server. I can see the extension in the Windows\assembly folder, but when we run the web site we get the following error. I have checked through the forum and am going round in circles. Sorry if this is a stupid question but how do we get past this?

Server Error in '/movies' 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:Unrecognized attribute 'type'.

Source Error:

Line 2: <configuration>Line 3: <configSections>Line 4: <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">Line 5: <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">Line 6: <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>


Source File:F:\Websites\movies\web.config Line:4

Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407

Problem is that your iste is configured to use asp.net 1.1:Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407

Switch to 2.0 and it should work correctly. To switch go to IIS Manager, open properties of your web site and click asp.net tab.


Thanks coincidently just managed to work it out at the same time.

Thanks for your help

No comments:

Post a Comment