试图加载格式不正确的程序。 (异常来自 HRESULT:0x8007000B)

解决方法: iis应用程序池-->高级设置 -->启用32位应用程序

 

 

<!DOCTYPE html>
<html>

<head>
<title>试图加载格式不正确的程序。 (异常来自 HRESULT:0x8007000B)</title>
<meta name="viewport" content="width=device-width" />
<style>
body {
font-family: "Verdana";
font-weight: normal;
font-size: .7em;
color: black;
}

p {
font-family: "Verdana";
font-weight: normal;
color: black;
margin-top: -5px
}

b {
font-family: "Verdana";
font-weight: bold;
color: black;
margin-top: -5px
}

H1 {
font-family: "Verdana";
font-weight: normal;
font-size: 18pt;
color: red
}

H2 {
font-family: "Verdana";
font-weight: normal;
font-size: 14pt;
color: maroon
}

pre {
font-family: "Consolas", "Lucida Console", Monospace;
font-size: 11pt;
margin: 0;
padding: 0.5em;
line-height: 14pt
}

.marker {
font-weight: bold;
color: black;
text-decoration: none;
}

.version {
color: gray;
}

.error {
margin-bottom: 10px;
}

.expandable {
text-decoration: underline;
font-weight: bold;
color: navy;
cursor: pointer;
}

@media screen and (max-width: 639px) {
pre {
width: 440px;
overflow: auto;
white-space: pre-wrap;
word-wrap: break-word;
}
}

@media screen and (max-width: 479px) {
pre {
width: 280px;
}
}
</style>
</head>

<body bgcolor="white">

<span><H1>“/”应用程序中的服务器错误。<hr width=100% size=1 color=silver></H1>

<h2> <i>试图加载格式不正确的程序。 (异常来自 HRESULT:0x8007000B)</i> </h2></span>

<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

<b> 说明: </b>执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

<br><br>

<b> 异常详细信息: </b>System.BadImageFormatException: 试图加载格式不正确的程序。 (异常来自 HRESULT:0x8007000B)<br><br>

<b>源错误:</b> <br><br>

<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code>

执行当前 Web 请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 </code>

</td>
</tr>
</table>

<br>

<b>堆栈跟踪:</b> <br><br>

<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>

[BadImageFormatException: 试图加载格式不正确的程序。 (异常来自 HRESULT:0x8007000B)]
SAP.Connector.Connection.Open() +316
REL.Microsoft.KPSoft.SalesDistribution.SalesOrder.SAPOrderHelper_BP.CreateOrderStatic(OrderParameter_BP&amp; orderParameterDataSet, String&amp; Salesdocument, String SapConStr, Boolean isDigitalSignature, String Testrun) +1565
REL.Microsoft.KPSoft.BusinessLogic.Order.SAP.OrderCreditFor41MessageProcessor.ProceOrderAndCreditObject(OrderAndObjectFor41 orderAndCreditObject) in D:\LenovoGit\rel-microsoft-kpsoft\REL.Microsoft.KPSoft.BusinessLogic\Order\SAP\MessageProcessor\OrderCreditFor41MessageProcessor.cs:547
REL.Microsoft.KPSoft.Web41.Order.OrderBasicInfoB2B.ProcessRequest(HttpContext context) in D:\LenovoGit\rel-microsoft-kpsoft\REL.Microsoft.KPSoft.Portal\Order\OrderBasicInfoB2B.ashx.cs:1029
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +872
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +220
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +94
</pre> </code>

</td>
</tr>
</table>

<br>

<hr width=100% size=1 color=silver>

<b>版本信息:</b>&nbsp;Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.8.3928.0

</font>

</body>

</html>
<!-- 
[BadImageFormatException]: 试图加载格式不正确的程序。 (异常来自 HRESULT:0x8007000B)
在 SAP.Connector.Connection.Open()
在 REL.Microsoft.KPSoft.SalesDistribution.SalesOrder.SAPOrderHelper_BP.CreateOrderStatic(OrderParameter_BP& orderParameterDataSet, String& Salesdocument, String SapConStr, Boolean isDigitalSignature, String Testrun)
在 REL.Microsoft.KPSoft.BusinessLogic.Order.SAP.OrderCreditFor41MessageProcessor.ProceOrderAndCreditObject(OrderAndObjectFor41 orderAndCreditObject) 位置 D:\LenovoGit\rel-microsoft-kpsoft\REL.Microsoft.KPSoft.BusinessLogic\Order\SAP\MessageProcessor\OrderCreditFor41MessageProcessor.cs:行号 547
在 REL.Microsoft.KPSoft.Web41.Order.OrderBasicInfoB2B.ProcessRequest(HttpContext context) 位置 D:\LenovoGit\rel-microsoft-kpsoft\REL.Microsoft.KPSoft.Portal\Order\OrderBasicInfoB2B.ashx.cs:行号 1029
在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
-->
<!-- 
此错误页可能包含敏感信息,因为 ASP.NET 通过 &lt;customErrors mode="Off"/&gt; 被配置为显示详细错误消息。请考虑在生产环境中使用 &lt;customErrors mode="On"/&gt; 或 &lt;customErrors mode="RemoteOnly"/&gt;。-->

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
当我们试图加载一个格式正确程序时,计算机会遇到一些问题,因为那些程序无法被正确地识别和打开。这个错误消息"HRESULT:0x8007000b"是指Windows中的一种错误代码,它表示"HRESULT"发生了一些错误。HRESULT是一种用于描述COM组件之间交互结果的标准。它通常与COM组件相关,按照规定的格式生成。 这个错误通常出现在以下几种情况下: 1、程序被破坏或损坏:如果程序文件被破坏或损坏,计算机无法正确加载它,就会出现这个错误。 2、程序文件格式正确:如果程序文件格式正确,计算机也无法正确加载它,就会出现这个错误。 3、不兼容的操作系统或硬件:有时,程序可能只适用于特定的操作系统或硬件,如果我们试图在其他平台上运行它,也可能会出现这个错误。 为了解决这个问题,我们可以尝试以下一些方法: 1、重新下载或安装程序:如果程序文件被破坏或损坏,我们可以尝试重新下载或安装该程序。这通常可以解决文件损坏引起的问题。 2、尝试打开其他格式的文件:如果程序文件格式正确,我们可以尝试打开其他格式的文件,或者使用其他程序打开这个文件。这可能需要我们去查找一些文件转换工具。 3、查找适用于我们的操作系统或硬件的程序版本:如果我们确定程序适用于我们的操作系统或硬件,我们可以尝试查找与之兼容的程序版本。 总之,这个错误通常是由于程序文件损坏或格式正确引起的。我们可以尝试重新下载或安装程序,或者查找其他适用于我们的操作系统或硬件的程序版本,来解决这个问题。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

万事俱备,就差一个程序员了

谢谢您,赏俺根辣条,尝尝鲜.谢

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值