Search code examples
visual-studio-2010sharepoint-2010odp.net

How to deploy x86 compile code on SharePoint server 2010 ( x64)


I'm creating visual web part project which connects Oracle database using ODP.NET. When I deploy on SharePoint server 2010 , web part gives Oracle dll missing error. Even I tried to compile in x86 or Any CPU but it gives error. Here is the error,

enter image description here

SharePoint server 2010 is running on my machine whereas Oracle server is running on different machine. I've verified the code in normal ASP web application and it successfully connects Oracle server.

Any thoughts?


Solution

  • SharePoint 2010 is 64-bit only.