摘要: 异常类型System.BadImageFormatException异常消息Couldnotloadfileorassembly'Interop.zkemkeeper'oroneofitsdependencies.试图加载格式不正确的程序。异常环境当我把编译好的程序托管到IIS下后,访问时出现了以下问题,服务器环境是IIS7,操作系统Windows7。解决方法出现上述问题的原因是,所加载的程序集中有32位的,也有64位的,IIS7程序池在Windows下.NetFrameWork是64位的,要想正确使用,需要对程序池进行配置。如下图所示: 阅读全文
posted @ 2013-07-19 16:48 正在输出 阅读(435) 评论(0) 推荐(0)
摘要: Surfer.Application ap = new Surfer.Application(); app.Visible = false; app.GridData(datPath, 1, 2, 4, Type.Missing, //5 Type.Missing, Type.Missing, Type.Missing, 200, 200, //10 114.5f, 120f, 29, 35, Type.Missing, //15 false, Type.Missing, Type.Missing, Type.Missing, Type.Missing, //20 Type.Missing,. 阅读全文
posted @ 2013-08-23 14:30 正在输出 阅读(1051) 评论(0) 推荐(0)