解决An attempt was made to load a program with an incorrect format.问题
2013-01-15 11:43
567 查看
有一个项目使用到Oracle Client,然后部署的时候出现以下问题。
.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, "Courier New", courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
background-color: #f4f4f4;
width: 100%;
margin: 0em;
}
.csharpcode .lnum { color: #606060; }
由于Oracle Client提供的DLL是32位的,因此需要在Application Pool建立32位的Pool来解决问题。
Could not load file or assembly '*******' or one of its dependencies. An attempt was made to load a program with an incorrect format.
.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, "Courier New", courier, monospace;
background-color: #ffffff;
/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt
{
background-color: #f4f4f4;
width: 100%;
margin: 0em;
}
.csharpcode .lnum { color: #606060; }
由于Oracle Client提供的DLL是32位的,因此需要在Application Pool建立32位的Pool来解决问题。
相关文章推荐
- ASP.NET 解决An attempt was made to load a program with an incorrect format.问题
- BadImageFormatException or An attempt was made to load a program with an incorrect format
- (C#) System.BadImageFormatException: An attempt was made to load a program with an incorrect format.
- Could not load file or assembly An attempt was made to load a program with an incorrect format.
- 64bit系统运行32位Web程序出现错误:An attempt was made to load a program with an incorrect format
- Could not load file or assembly ... An attempt was made to load a program with an incorrect format.
- An attempt was made to load a program with an incorrect format” even when the platforms are the same
- ASP.NET: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. on Win7 64bit
- An attempt was made to load a program with an incorrect format
- tomcat警告解决办法:WARNING: An attempt was made to authenticate the locked user
- tomcat警告解决办法:WARNING: An attempt was made to authenticate the locked user
- tomcat警告解决办法:WARNING: An attempt was made to authenticate the locked user
- 关于an attempt was made to authenticate the locked user 的问题的想法
- NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.
- Nginx启动报错:10013: An attempt was made to access a socket in a way forbidden
- chrome javascript Uncaught SecurityError: An attempt was made to break through the security policy of the user agent
- AM org.apache.catalina.realm.LockOutRealm authenticate WARNING: An attempt was made to authenticate the locked user "tomcat"
- An attempt was made to send an email when no email session has been established,SSIS用sql2008发邮件失败
- 问题解决:javax.servlet.jsp.el.ELException: The "." operator was supplied with an index value of type "java.lang.String" to be applie
- Conversion to Dalvik format failed with error 1 问题解决