随笔分类 - SharePoint
摘要:Add-SPSolutionInstall-SPSolution -Identity DemonstrationZone.wsp -GACDeployment -CompatibilityLevel {14,15} -WebApplication http://tech2013 -force
阅读全文
摘要:登录web服务器,打开位于“C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\CONTROLTEMPLATES”目录下的“Welcome.ascx”文件,增加如下代码:" ...
阅读全文
摘要:错误提示:此操作只能由 SQL Server 中拥有配置数据库读取权限的用户在已加入到某个服务器场的计算机上执行。若要将此服务器连接到服务器场,请使用 SharePoint 产品配置向导,该向导可从 Microsoft SharePoint 2010 产品的“开始”菜单启动。问题原因:服务器场系统域...
阅读全文
摘要:SharePoint webpart中悬浮窗口的webconfig路径在.../_layouts/15/下。
阅读全文
摘要:“/”应用程序中的服务器错误。----------------------------------------文件“/_CONTROLTEMPLATES/....../XXXUserControl.ascx”不存在。解决办法:Install-SPSolution -Identity XXX.wsp ...
阅读全文
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->update-spsolution-identityXXX.wsp-literalpathD:\SPS2...
阅读全文
摘要:为WebPart添加右侧的属性面板,方便将来对于WebPart的配置,我们只需要在CustomWebPart.cs文件里面,声明一下变量即可:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.Code...
阅读全文
摘要:1.修改管理中心的Web.config文件,位置:C:\inetpub\wwwroot\wss\VirtualDirectories\429032.修改应用程序的Web.config文件,位置:C:\inetpub\wwwroot\wss\VirtualDirectories\803.修改STS (...
阅读全文
摘要:CS写法:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1privatebool_IsExpertCheck;2[WebBrowsable(true)...
阅读全文
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->protectedvoidUpLoadDocument(){stringfilename=FileUpl...
阅读全文
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->stsadm-odeploysolution-name***.wsp-immediate-allowGa...
阅读全文
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Add-SPSolutionInstall-SPSolution-IdentityGrain2013.w...
阅读全文
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/Style%20Library/Stylesheet1.css"type="text/css"rel=...
阅读全文
摘要:1.开启相关网站集功能。2.若还是找不到可以在其它有内容编辑器的站点下,在“Web 部件”中找到并下载内容编辑器,上传至本站点即可。
阅读全文
摘要:最后实现效果如下:设置栏如下:解决方案结构如下:fldtypes_RoyCustomField.xml 内容如下:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.co...
阅读全文
摘要:在SharePoint平台上部署的程序出现错误时,页面总是被转向一个提示“发生意外错误”的页面,看不到出错的原因。通过修改web.config文件配置可以看到更详细的错误信息:1、 将中的CallStack和AllowPageLevelTrace的属性设置为“true”。2、 将的mode改为"Of...
阅读全文
摘要:前台调用:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Html代码:Code highlighting produced by Actipro Co...
阅读全文
摘要:安装Solution.bat:"%systemdrive%\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN\stsadm.exe" -o addSolution -filename D:\SPS2010...
阅读全文
摘要:第一种方法:stsadm.exe -o backup -url http://contososrv/sites/backup -filename c:\back.datstsadm.exe -o restore -url http://contososrv/sites/backup -filenam...
阅读全文