ScriptResource.axd 404 not found

ScriptResource.axd 404 not found

Lỗi thường gặp khi sử dụng Ajax trong ASP.NET 3.5/4.0/4.5
Nếu gặp lỗi như vậy, bạn bổ sung đoạn code sau vào file web.config (file web.config ở ngay trong thư mục gốc của website).
<system.webServer>
<handlers>
<add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" 
preCondition="integratedMode" />

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s