Microsoft SharePoint is not supported in 32-bit process. Please verify that you are running in a 64-bit executable.

microsoft sharepoint is not supported in 32-bit process. please verify

Recently while working with SharePoint server object model inside a windows application, I received the below error.

System.PlatformNotSupportedException occurred in Microsoft.SharePoint.dll.

An unhandled exception of type ‘System.PlatformNotSupportedException’ occurred in Microsoft.SharePoint.dll

Additional information: Microsoft SharePoint is not supported in 32-bit process. Please verify that you are running in a 64-bit executable.

microsoft sharepoint is not supported in 32-bit process. please verify
microsoft sharepoint is not supported in 32-bit process. please verify

We can work with SharePoint server object model inside a windows application by adding Microsoft.SharePoint.dll.



Solutions:

To resolve the issue, Right click on the Project -> Properties.

Then select Build and uncheck Prefer 32-bit option which looks like below.

Please verify that you are running in a 64-bit executable
Please verify that you are running in a 64-bit executable

After this Microsoft SharePoint is not supported in 32-bit process. Please verify that you are running in a 64-bit executable will not appear.


About Bhawana Rathore

Hello Everyone!! I am Bhawana having about 8+ years of SharePoint experience as well as in .Net technologies . I have worked in all the versions of SharePoint from wss to Office 365. I have good exposure in Customization and Migration using Nintex, Metalogix tools . Now exploring more in SharePoint 2016 :) Hope here I can contribute and share my knowledge to the fullest. As I believe "There is no wealth like knowledge, and no poverty like ignorance"

View all posts by Bhawana Rathore →

Leave a Reply

Your email address will not be published. Required fields are marked *