【问题标题】:net::ERR_ABORTED 500 (Internal Server Error) in bootstrap引导程序中的 net::ERR_ABORTED 500(内部服务器错误)
【发布时间】:2023-03-17 23:00:01
【问题描述】:

当我运行该项目时,我在所附图像中收到错误。

我已经检查了那些文件夹中的文件是否存在,一切都在那里。我不明白如何解决这个问题。

这是代码

<link href="Content/bootstrap/css/bootstrap.css" rel="stylesheet">
<link href="Content/font-awesome-4.3.0/css/font-awesome.css" rel="stylesheet">
<link href="Content/css/main.css?rndstr=<%=Guid.NewGuid().ToString() %>" rel="stylesheet"  />
<% if (Session["isMobile"].ToString() != "true") { %>
<link href="Content/css/pccss.css?rndstr=<%=Guid.NewGuid().ToString() %>" rel="stylesheet">
<% } else { %>
<link href="Content/css/mobilecss.css?rndstr=<%=Guid.NewGuid().ToString() %>" rel="stylesheet">
<% } %>
<script type="text/javascript" src="Scripts/jquery/jquery-1.11.2.js"></script>
<script src="Scripts/jquery/jquery.color.js"></script>
<script type="text/javascript" src="Scripts/TouchSwipe-Jquery-Plugin-master/jquery.touchSwipe.js"></script>
<script type="text/javascript" src="Scripts/bootstrap/bootstrap.js"></script>
<script type="text/javascript" src="Scripts/js/object/components/bAlert.js"></script>

【问题讨论】:

  • 您收到 http 错误 500。服务器不喜欢请求的格式。如果您有一个正在运行的应用程序,请使用诸如 wireshark 或 fiddler 之类的嗅探器,并将正在运行的应用程序与您的代码进行比较。
  • 欢迎来到 Stack Overflow。请编辑您的问题以将错误堆栈跟踪包含为文本。

标签: javascript c# .net bootstrap-4


【解决方案1】:

尝试使用“.”或“..”在您的网址中。如果有必要在您的 url 中使用“~”来帮助在您的主机应用程序中将它们定位为相对位置。

【讨论】:

    猜你喜欢
    • 2023-02-14
    • 1970-01-01
    • 2012-12-13
    • 2019-11-10
    • 2021-03-02
    • 2013-08-11
    • 2012-03-29
    • 2014-04-14
    • 1970-01-01
    相关资源
    最近更新 更多