Click here to Skip to main content
15,949,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted

1 solution

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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900