How to configure your website for using Ajax (for Windows 2008 Hosting Plans)

Note:  If you want to use ASP.Net "Integrated PipeLine" version (under any circumstance) you need to follow this instruction in order to use Ajax on your hosting plan otherwise there is no reason to make any change on your plan

You should add the below code in your "Web.Config" file :


<system.webServer>

<handlers>

<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

</handlers>

</system.webServer>

Was this answer helpful?

 Print this Article

Also Read

Sample Code : Connecting to a MySQL database with ASP using a DSN-less connection

  Here is the connection string, you can use to connect to a MySQL database with ASP :...

I get a configuration error when I execute my ASP.NET 2.0 web application.

DETAILSI get the following error when I try to execute my application. Parser Error Message:...

After I configure the custom error setting in the control panel, I still get the generic error page?

Custom error setting is a web server setting which affects all file types (.htm, .gif, etc.)...

I get an error 'Server.CreateObject Failed' when I try to use CDONTs. What can I do?

  CDONTs is no longer supported on Windows 2003 server.  Microsoft introduced CDO back...

I get this error when trying load my ASP page : \"Disallowed Parent Path \"

  DETAILS I get the following error when I try to execute my ASP application  Active...