如何在开发机器上安装没有SP Server的SP Webparts? [英] How to develop SP Webparts without SP Server installed on the dev machine ?

查看:85
本文介绍了如何在开发机器上安装没有SP Server的SP Webparts?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我有sp server 2010和2010。但是当我尝试在vs 2010中开发sp webparts时,我得到的错误就像

这台计算机上没有安装SharePoint服务器。必须安装SharePoint服务器才能使用SharePoint项目。 br />


如果有人遇到这个解决方案,请在这里ping解决方案......我在等待答案...



提前感谢..

hi all,

i have sp server 2010 and vs 2010 . but when i try to develop the sp webparts in vs 2010 am getting the error like
"A SharePoint server is not installed on this computer. A SharePoint server must be installed to work with SharePoint projects."

if anyone come across this solution, please ping the solution here... am waiting for an answer...

thanks in advance..

推荐答案

Solution for To work with Sharepoint Projects:

List out the solutions Below:

1. Take the backup of Regedit.exe in Your local machine

2. In server machine, Open the Regedit.exe, then click the following folder:
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0 "

Click on the 14.0 folder and right click on it, then select Export to save in any folder.


3. In local machine, run the copied folder from server to local machine.

4. finaly, copy all sharepoint dll from server , install it into GAC in localmachine.


How to Install DLL in to GAC in Localmachine?
Before going to install dll. we should do the listing the files from directory where we stored the all dll's


1. first copy all dll from server and paste into folder in local machine.
2. go to command prompt ,then run with administrator.
3. create the path where u located the dll
5. Get the directory dll in to a text file by using the follwing command
E:\Server_14_ISAPI_SP_DLLS> dir /b>fb.txt - it will give only the file name

E:\Server_14_ISAPI_SP_DLLS> dir /s/b>fb2.txt- - it will give only the file name with directory

E:\Server_14_ISAPI_SP_DLLS> dir >fb.txt- - it will give all the information of file in the current dirctory

6. finally i get the file.txt where all the dlls


Now open the new command prompt
1. create the path where the gacutil in Your system.

2. C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin> gacutil /i xxx.dll (file.txt where all the dlls stored)

3. run it like above command until install the last dll from directory


这篇关于如何在开发机器上安装没有SP Server的SP Webparts?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆