0

我将我的 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 天,请任何帮助将不胜感激。

4

1 回答 1

0

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

请参阅:sharepoint 64 位上的 32 位二进制文​​件,尝试加载格式不正确的程序

于 2012-11-15T08:26:31.037 回答