尝试验证sharepoint站点或部署解决方案时出错

时间:2012-11-15 08:03:25

标签: visual-studio-2010 sharepoint sharepoint-2010

我设置了我的Windows 7机器上运行了sharepoint 2010,经过大量的努力,我设法让它工作,但每次我创建一个新的webpart并验证它或尝试部署解决方案时,我得到以下错误:

*Cannot connect to the SharePoint site: http://[mysite]. Make Sure that the Site URL is valide, that the SharePoint site is running on the local computer, and that the current user has the necessary permission to access the site.

Additional information:

"An attempt was made to load a program with an incorrect format.
(Exception from HRESULT: 0x8007000B)"*

我检查过,我的用户是网站管理员,服务器场管理员,网站正在我的本地计算机上运行! 我一直在为此奋斗2天,非常感谢任何帮助。

1 个答案:

答案 0 :(得分:0)

据我所知,SharePoint 2010环境总是64位。确保您尝试部署的解决方案编译为32位。

请参阅:32bit binaries on sharepoint 64bit, An attempt was made to load a program with an incorrect format