试图在32位平台上加载64位程序集.使用ReflectionOnlyLoad()而不是尝试出于反射目的进行加载 [英] Attempted to load a 64-bit assembly on a 32-bit platform. Use ReflectionOnlyLoad() instead of trying to load for reflection purposes

查看:59
本文介绍了试图在32位平台上加载64位程序集.使用ReflectionOnlyLoad()而不是尝试出于反射目的进行加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

当我使用共享点对象模型创建ASP.Net Web应用程序时,出现错误..

试图在32位平台上加载64位程序集.使用ReflectionOnlyLoad()而不是尝试出于反射目的进行加载.

当我删除引用MICROSOFT.SHAREPOINT.DLL时,它工作得很好...

我的OS-Windows 2003 Server SP1 64位版本
Visual Studio 2008 ... 32位模式
我试图将VS2008从32位更改为64位..但是IIS仍仅以32位运行..
因此,任何人都可以告诉我如何将IIS 6.0更改为以64位运行.

Hi all,

When i am creating ASP.Net webapplication using sharepoint object model i got the error..

Attempted to load a 64-bit assembly on a 32-bit platform. Use ReflectionOnlyLoad() instead of trying to load for reflection purposes.

when i remove the reference MICROSOFT.SHAREPOINT.DLL it workd fine...

My OS-Windows 2003 server SP1 64bit Edition
Visual Studio 2008...32-bit mode
I tried to change VS2008 from 32 bit to 64 bit..but IIS still running as 32 bit only..
So any one pls tell me how to change IIS 6.0 to run as 64 bit

推荐答案



当您提到要寻求帮助时,如何以64位模式运行IIS时,请单击此链接,其中说明了如何将IIS 6.0从默认的32位模式切换到64位模式.

http://cosier.wordpress.com/2008/11/11 /switching-iis-60-to-64bit-mode/ [
Hi,

As you mentioned that you look for help how IIS can be run as 64 bit mode please follow this link which says how IIS 6.0 can be switched from default 32 bit to 64 bit mode.

http://cosier.wordpress.com/2008/11/11/switching-iis-60-to-64bit-mode/[http://cosier.wordpress.com/2008/11/11/switching-iis-60-to-64bit-mode/]

Please let me know if that helps.


这篇关于试图在32位平台上加载64位程序集.使用ReflectionOnlyLoad()而不是尝试出于反射目的进行加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆