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

摘要:
解决方法:iis应用程序池--˃高级设置--˃启用32位应用程序˂!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","LucidaConsole",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;}@mediascreenand{pre{440px;overflow:auto;white-space:pre-wrap;word-wrap:break-word;}}@mediascreenand{pre{280px;}}“/”应用程序中的服务器错误。说明:执行当前Web请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。异常详细信息:System.BadImageFormatException:试图加载格式不正确的程序。源错误:执行当前Web请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

解决方法: 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- 639px) {
pre {
440px;
overflow: auto;
white-space: pre-wrap;
word-wrap: break-word;
}
}

@media screen and (max- 479px) {
pre {
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 el-microsoft-kpsoftREL.Microsoft.KPSoft.BusinessLogicOrderSAPMessageProcessorOrderCreditFor41MessageProcessor.cs:547
REL.Microsoft.KPSoft.Web41.Order.OrderBasicInfoB2B.ProcessRequest(HttpContext context) in D:LenovoGit el-microsoft-kpsoftREL.Microsoft.KPSoft.PortalOrderOrderBasicInfoB2B.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 el-microsoft-kpsoftREL.Microsoft.KPSoft.BusinessLogicOrderSAPMessageProcessorOrderCreditFor41MessageProcessor.cs:行号 547
在 REL.Microsoft.KPSoft.Web41.Order.OrderBasicInfoB2B.ProcessRequest(HttpContext context) 位置 D:LenovoGit el-microsoft-kpsoftREL.Microsoft.KPSoft.PortalOrderOrderBasicInfoB2B.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;。-->

免责声明:文章转载自《试图加载格式不正确的程序。 (异常来自 HRESULT:0x8007000B)》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇IIS 中 "另一个程序正在使用此文件,进程无法访问!"EwoMail 开源邮件服务器安装教程下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

随便看看

crontab命令加载和使用

crontab命令用于设置定期执行的指令。在Linux系统中,Linux任务调度的任务主要分为以下两类:1.系统周期性执行的任务,如备份系统数据和清理缓存。2.个人要执行的任务:用户要定期执行的任务,例如每10分钟检查邮件服务器是否有新消息。这些任务可以由每个用户设置,以检查是否首先安装了crontab[root@localhostgjw]#rpm qa|g...

influxdb简单使用

之前对influxdb有一个简单的了解和入门的使用,近期由于想使用influxdb做一点东西玩玩,又要捡起influxdb。而在influxdb下没有细分的表的概念,influxdb下的表在插入数据库的时候自动会创建。更多用户权限设置可以参看官方文档:https://docs.influxdata.com/influxdb/v1.0/query_langua...

vSphere HA 原理与配置

应当基于可用性需求和群集的特性选择vSphereHA接入控制策略。...

element ui设置表格表头高度和每一行的高度

.el-table__headertr,.el-table__headerth{padding:0;height:30px;line-height:30px;}.el-table__bodytr,.el-table__bodytd{padding:0;height:30px;line-height:30px;}...

ArcGIS Server服务状态正在停止。。。问题BUG解决

1、 ArcGISServer服务器存在服务问题:ArcGISServerManager的所有服务都显示为“正在停止…”。N个解决方案1)港口占用问题。端口4000-4002已被其他程序占用,导致服务无法正常启动。您可以通过CMD找到相关PID占用的端口,停止它,然后启动GIS服务。您也可以在安装目录中将其手动更改为D:ProgramFiles ArcGIS...

PHP 垃圾回收机制(转)

GC进程通常从每个会话开始运行。GC的目的是在会话文件过期__destruct/unset__destruct()析构函数后自动销毁和删除它们。PHP将使用全局变量session.gc_Probability和session.gc_advisor的值session.gc_Probability=1,...