[英]HTTP Error 404.3 - Not Found in DotNet
當我從dotnet應用程序使用ajax請求json文件時,出現此錯誤:
HTTP錯誤404.3-找不到
由於擴展程序配置的原因,無法提供您請求的頁面。 如果頁面是腳本,請添加處理程序。 如果應下載文件,請添加MIME映射。
請分享解決方案
Implement below code in `web.config` file. Use the file extension that you want to fetch
For Example: here is .json file
<system.webServer>
<staticContent>
<remove fileExtension=".json" />
<mimeMap fileExtension=".json" mimeType="application/json" />
</staticContent>
</system.webServer>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.