组里用的几台机器换了网段,MongoDB需要做重新配置。查看Replica
Set的状态如下:rs.status(){ "startupStatus" : 1, "ok" : 0, "errmsg" : "loading
local.system.repls...
分类:
数据库 时间:
2014-05-10 06:26:06
阅读次数:
693
1.
在VS2005的Bin文件中添加对System.Web.Extensions.dll的引用,web.config 中之间自动添加对的引用:for:
........2. 在server BIN文件夹下添加文件System.Web.Extensions.dll3. 在之间,在之后添...
分类:
其他好文 时间:
2014-05-10 06:19:24
阅读次数:
260
public System.DateTime LatestEditedTime { get; set;
} public string LatestEditedTimeValue { get { ...
分类:
数据库 时间:
2014-05-10 06:13:39
阅读次数:
365
问题最近在给 android 系统的 data 分区制作 ext4
镜像,但是发现系统启动后,文件的 user 和 group 都变成了 root,不是原有的属性。困扰了很久。解决make_ext4fs 有一个选项是 ‘-a’
,即挂载点。这个选项是配合android/system/core/inc...
分类:
其他好文 时间:
2014-05-10 05:53:22
阅读次数:
1777
1 class SuperClass{ 2 3 public SuperClass() { 4
System.out.println("superclass "); 5 show(); 6 } 7 public void show() { 8
System.out...
分类:
编程语言 时间:
2014-05-10 05:47:03
阅读次数:
299
使用索引器的目的是为了能够像数组一样访问类中的数组型的对象。using
System;using System.Collections.Generic;using System.Linq;using
System.Text;using System.Threading.Tasks;namespace...
分类:
其他好文 时间:
2014-05-10 05:43:44
阅读次数:
218
当tomcat启动出现这个错误时,按照如下步骤可以解决:1、删掉F:\tomcat20111101\apache-tomcat-6.0.26\conf\Catalina目录下的localhost文件夹2、删掉F:\tomcat20111101\apache-tomcat-6.0.26\webapps...
分类:
其他好文 时间:
2014-05-10 05:20:52
阅读次数:
290
参考资料:《大话设计模式》//模板方法模式--处理问题的步骤相同,但步骤的实现不同using
System;using System.Collections.Generic;using System.Linq;using
System.Text;namespace ds_templatemethod...
分类:
其他好文 时间:
2014-05-10 05:19:04
阅读次数:
322
参考资料:《大话设计模式》简单工厂模式://////简单工厂模式实验,2014.05.07---通过工厂类实例化对象///using System;using
System.Collections.Generic;using System.Linq;using System.Text;namespa...
分类:
其他好文 时间:
2014-05-10 05:16:31
阅读次数:
332
测试webservice的时候,如果出现这个错误:"The test form is only
available for requests from the local machine" 在web.config中加入以下配置,就可以解决问题。
也就是说,在默认情况下,...
分类:
Web程序 时间:
2014-05-10 02:24:13
阅读次数:
352