调用Lua出错

错误提示:Could not load file or assembly 'lua51' or one of its dependencies. An
attempt was made to load a program with an incorrect format.

在iis使用了Lua的dll lua51.dll,发现打开网页的时候提示以上错误信息。

原因:lua51是在32机器上编译的,而服务器是64位机器。

处理方式:将iis的应用程序池改成允许使用32位就好。

 

 

 

 

posted @ 2013-11-06 10:54  Zengbin  阅读(1000)  评论(0编辑  收藏  举报