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).
<add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" 
preCondition="integratedMode" />

Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s