How to verify ASPNET AJAX installation

How to check if ASPNET AJAX is installed correctly.

I have Visual Studio 2008 and the AJAX version has never been installed before.

My UpdatePanel does not work in IIS6, although it works well on the Visual Studio web server. The behavior I get is like UpdatePanel doesn't exist at all, i.e. Returns to normal ASPX type behavior.

I tried installing AJAX from MSDN , followed by IISRESET, but still not working properly.

What can I check to diagnose the problem?

Update: When working in Visual Studio (Cassini), I get the following 3 requests shown in Fiddler:

http://localhost:1105/RRStatistics/WebResource.axd?d=k5J0oI4tNNc1xbK-2DAgZg2&t=633564733834698722

http://localhost:1105/RRStatistics/ScriptResource.axd?d=N8BdmNpXVve13PiOuRcss0GMKpoTBFsi7UcScm-WmXE9jw5qOijeLDcIyiOsSQZ4k3shu0R2ly5WhH2vI_IbNVcTbxej1dkbdYFXrN6c7Qw1&t=ffffffff867086f6

http://localhost:1105/RRStatistics/ScriptResource.axd?d=N8BdmNpXVve13PiOuRcss0GMKpoTBFsi7UcScm-WmXE9jw5qOijeLDcIyiOsSQZ4AsqNeJVXGSf6sCcCp1QK0jdKTlbRqIN1LFVP8w6R0lJ_vbk-CfopYINgjYsHpWfP0&t=ffffffff867086f6

but when I run inside IIS, I only get this single request:

http://www.example.com/RRStatistics/ScriptResource.axd?d=f_uL3BYT2usKhP7VtSYNUxxYRLVrX5rhnXUonvvzSEIc1qA5dLOlcdNr9xlkSQcnZKyBHj1nI523o9DjxNr45hRpHF7xxC5WlhImxu9TALw1&t=ffffffff867086f6

Cassini javascript " " . , , , IIS .

+3
3

JavaScript. JavaScript, UpdatePanel, .

0

, ,

web.config

< & system.webServer GT; < & GT;

< add verb = "GET" = "ScriptResource.axd" = "Microsoft.Web.Handlers.ScriptResourceHandler" validate = "false" / >

0

Another option is to check your web.config. For example, you can create a new ASP.NET website with Ajax support from Visual Studio. This will create the correct web.config file. Copy all non-ajax sections from the existing web.config and you are configured. It worked for me.

-Edoode

0
source

Source: https://habr.com/ru/post/1697548/


All Articles