上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 52 下一页
摘要: net use "System error 67 has occurred"代码net use y: /deleterem copy D:\Lab\wwwrep.txt D:\Lab\wwwrep.txtcopy D:\Lab\wwwrep.txt D:\Lab\wwwrep.csvnet use y: \\192.168.8.8\Lab /user:AP01\admosfarm asp.netcopy D:\Lab\wwwrep.txt y:\test\wwwrep.txtcopy D:\Lab\wwwrep.csv y:\test\wwwrep.csvpause 阅读全文
posted @ 2012-12-13 16:38 风影极光 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 遍历文件夹及文件using System;using System.Collections;using System.Collections.Generic;using System.IO;using System.Linq;using System.Text;using System.Threading.Tasks;namespace Lab{ class Program { static void Main(string[] args) { ProcessDir(@"F:\Todo\MVC", 1); Co... 阅读全文
posted @ 2012-12-12 13:19 风影极光 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 使用强大的开源日志库Log4net来处理应用程序的日志信息,记录错误,警告,信息。1 下载Log4net,在项目中引用log4net.dll2 在AssemblyInfo.cs中添加以下代码[assembly: log4net.Config.XmlConfigurator(ConfigFile = "log4net.config", Watch = true)] 3 添加cs文件public static class Log4netUtil { private static ILog GetLog() { ILog log = null;... 阅读全文
posted @ 2012-12-11 14:53 风影极光 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 第一步:使用SPM2007来查看默认的list中的title列的定义。View Code <Field ID="{bc91a437-52e7-49e1-8c4e-4698904b2b6d}" ReadOnly="TRUE" Type="Computed" Name="LinkTitleNoMenu" DisplayName="Title" Dir="" DisplayNameSrcField="Title" AuthoringInfo="( 阅读全文
posted @ 2012-12-11 14:21 风影极光 阅读(323) 评论(0) 推荐(0) 编辑
摘要: If you are using the Lists.asmx web service the hyper link column must be in the format of "link, description". For example http:\\www.whatever.com, nice site. The user column must be in the format of ID;#Domain\UserName. So you will need to construct this. You can get this information cal 阅读全文
posted @ 2012-12-07 17:38 风影极光 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 问题描述:我在自定义表单CNewForm.aspx中添加了webpart,但是在新建Item的时候,点击“Attach File”,系统提示This form was customized not working with attachement.我使用IE Developer调试发现Form.js中的UploadAttachment方法中发现线索:部分元素没有定义。后来根据微软官方的文章http://support.microsoft.com/kb/953271/en-us,进行修改后,保存附件和Fields的值都正常。但是执行SaveButton.SaveItem方法出错:SPExcept 阅读全文
posted @ 2012-12-05 15:19 风影极光 阅读(798) 评论(0) 推荐(0) 编辑
摘要: 通常我们使用stsadm命令来进行部署,发现一般都会部署成功的,可是真正在使用的时候发现缺少了些东西。根据我的部署经验,最好通过管理中心来查看,Central Administration > Operations > Solution Management。如果部署的目标Solution有错误,在status列会显示error,打开solution查看对应的详细错误信息。扩展:有什么办法可以把管理中心的错误也捕捉到呢?可行的方法:在Feature事件中进行错误捕捉,可以一定程度的捕捉到错误。 阅读全文
posted @ 2012-12-04 15:45 风影极光 阅读(849) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/mingle/admin/EditPosts.aspx?opt=1 阅读全文
posted @ 2012-12-04 15:31 风影极光 阅读(118) 评论(0) 推荐(0) 编辑
摘要: ErrorTF204017: The operation cannot be completed because the user (AD4\jlv005) does not have one or more required permissions (Use) for workspace CRIS-MOSS;AD4\lcai003. 阅读全文
posted @ 2012-11-14 16:06 风影极光 阅读(382) 评论(0) 推荐(0) 编辑
摘要: 处理办法:设置将被设置为默认的webpart中显示的view的属性BaseViewId=”0”,其他view此属性的值依次设置为BaseViewId=”1”,BaseViewId=”2”...... 阅读全文
posted @ 2012-11-13 09:22 风影极光 阅读(220) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 52 下一页