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

This SharePoint tutorial explains, how to resolve the issue “Microsoft SharePoint is not supported in the 32-bit process. Please verify that you are running in a 64-bit executable”. The error comes when we try to run a windows application in SharePoint 2016. Recently I was doing a demo in a windows application (Server Object Model / Microsoft.SharePoint.dll) in visual studio 2015.

When I run the application it gives me an error as:

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 the 32-bit process. Please verify that you are running in a 64-bit executable.

The error looks like below:

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 that you are running in a 64-bit executable

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

To resolve this issue follow the below steps:

Open Visual Studio 2015, Right click on the Project -> Properties.

Microsoft SharePoint is not supported in 32-bit process
Microsoft SharePoint is not supported in 32-bit process

Then in the Properties page, open Build tab and then uncheck “Prefer 32-bit” in Platform target section like below:

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 that you are running in a 64-bit executable

Remember SharePoint 2016 support only 64 Bit.

Then you run the application it should be working fine.

Still, if this issue does not resolve then you can try the below solution.

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

This solution explains, how to resolve the issue which comes when trying to run server-side code in a console application. The error comes as: Microsoft SharePoint is not supported in a 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 that you are running in a 64-bit executable
Microsoft SharePoint is not supported in 32-bit process. Please verify that you are running in a 64-bit executable

Open Regedit and navigate to below path: HCU\Software\Microsoft\VisualStudio\12.0\WebProjects\Use64BitIISExpress

Edit “Use64BitIISExpress” and make 0 to 1

additional information microsoft sharepoint is not supported in 32-bit process
additional information microsoft sharepoint is not supported in 32-bit process

Click ok, If still Problem is exist try below method

Open Visual studio -> TOOLS ->Options…

Select Projects and solutions on the Options wizard and select Web Projects then check the option “Use IIS Express for new file-based web sites and Projects”.

system.platformnotsupportedexception microsoft sharepoint is not supported in 32-bit process
system.platformnotsupportedexception microsoft sharepoint is not supported in 32-bit process

Then select OK.

You may like following SharePoint tutorials:

Now you should not get the error, Microsoft SharePoint is not supported in 32-bit process. Please verify that you are running in a 64-bit executable.

Donwload Hub site pdf

Download SharePoint Online Tutorial PDF FREE!

Get update on Webinars, video tutorials, training courses etc.

>