JOJ
踏踏实实做人,认认真真做事!放纵自己就是毁灭自己!

随笔分类 -  SharePoint & MOSS

上一页 1 2 3
MOSS & SHAREPOINT ERROR
摘要:在sharepoint开发中遇到的一些问题和解决方案 1.错误类型: The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again. 解决方案: Microsoft.SharePoint.Administration.SPWebApplication webApp = site.Site.WebApplication;webApp.FormDigestSettings.Enabled = false; 阅读全文
posted @ 2010-04-03 18:19 JoinJ 阅读(936) 评论(0) 推荐(0)
sharepoint 一些杂乱的code
摘要://根据AD里面的用户名获取头像图片[需要有域名] private string GetPictureUrl(string loginName) { loginName = Environment.UserDomainName + "\\" + loginName; SPSite site = null; SPWeb web = null; using (site = new SPSite(myS... 阅读全文
posted @ 2010-04-03 18:18 JoinJ 阅读(336) 评论(0) 推荐(0)
关于sharepoint 里面的时间和Moss对象模型取出来的时间不一致问题
摘要:在sharepoint里面发表了blog或者wiki! 在vs里面用wss对象模型取出来的时间有时遇到不一致的情况! 原因:sharepoint使用的是UTC国际标准,而中国的时间比UTC时间晚8小时! 1.电脑系统设置时间和sharepoint里面的时间时区设置不一致: Sharepoint中设置时区:1. Site Settings.2. Site Administration->Reg... 阅读全文
posted @ 2010-04-03 18:17 JoinJ 阅读(362) 评论(0) 推荐(0)
使用vs调试sharepoint
摘要:VS 调试 sharepoint 里面的 webpart & usercontrol:1、vs2005->打开 要调试的webPart的工程->选择工具栏上的 “调试”->附加到进程。 2. 选择复选框"show processes in all session" 找到w3wp.exe,发现里面有几个w3wp.exe ! 3.全选后点击attach... 阅读全文
posted @ 2010-04-03 18:15 JoinJ 阅读(429) 评论(0) 推荐(0)
sharepoint 中添加webpart 报"Unable to add selected web part(s)....
摘要:当我写好一个 webPart时! 部署到sharepoint里面! 但是在sharepoint 里面编辑页面点击 add a web webpart 按钮 时!找到在vs里面我写的webpart!点击添加按钮!出现了"Unable to add selected web part(s). UCWebPart:Assembly that implement ASP.NET Web Parts and... 阅读全文
posted @ 2010-04-03 18:14 JoinJ 阅读(314) 评论(0) 推荐(0)
删除已部署的wsp
摘要:有些不需要的wsp,我们需要把他删除1。进入管理中心依此惦记点击: Operations > Solution Management。是不是看到了很多wsp[如果你有的话]2。点击 hello.wsp 会看到这三个按钮:Deploy Solution Retract Solution Back to Solutions 点击Retract Solution按钮3。当看到wsp的statu... 阅读全文
posted @ 2010-03-29 23:51 JoinJ 阅读(411) 评论(0) 推荐(0)
如何在 sharepoint里面 使用ajax 和 ajaxtoolkit ?
摘要:如何在 sharepoint里面 使用ajax 和 ajaxtoolkit ? 收藏 如何在 sharepoint里面 使用ajax 和 ajaxtoolkit 这个问题我之前去百度和Google个多次!基本上都是说的修改站点下面的配置文件!嘿嘿当然我这里也是修改配置文件!下面是我在msdn提的问题这个问题! 按照微软里面人员说的步骤配置http://social.microsoft.com/Forums/zh-CN/partnercndevsharepoint/thread/2d63d004-ef0c-4bad-88e9-c40992e136b8引用一下他的回复:关于如何在Sharepoi. 阅读全文
posted @ 2010-03-29 23:51 JoinJ 阅读(433) 评论(0) 推荐(0)
sharepoint 里面 查询列表操作
摘要:sharepoint里面通过SPQuery类来完成对列表的查询<%@ Page Language="C#" %><%@ Import Namespace="System.Collections.Generic" %><%@ Assembly Name="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, P... 阅读全文
posted @ 2010-03-29 23:51 JoinJ 阅读(1288) 评论(0) 推荐(0)

上一页 1 2 3