There is an error in the navigation controls treeview, menu, etc. of asp.net 2.0 under the virtual host
Author:Eve Cole
Update Time:2009-07-01 16:09:45
In the past few days, I deployed a website to a virtual host and found that there were problems with the treeview and menu controls. At first I thought that aspnet_client was not added to the wwwroot directory, so I contacted the service provider to add it for me, but the problem remained.
So I searched for the reason and found that 2.0 used a resource mapping of WebResource.axd, so I added <httpHandlers>
<add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="True" />
</httpHandlers>The result is that the problem is still the same!
Did the service provider not add the .axd extension? So I contacted the service provider again to add an extension, and the problem was solved.
Executable file: C:WINDOWSMicrosoft.NETFrameworkv2.0.50727aspnet_isapi.dll
Extension: .axd
Limits are: GET,HEAD,POST,DEBUG
And uncheck "Confirm whether the file exists".