摘要: 环境:win7 + iis7 + perl(ActivePerl-5.20.1.2000) + awstats 7.3 一、找到iis日志所在目录     建议全部都打勾     二、安装perl AWStats是perl语言书写的程序,所以必选先安装ActivePerl程序。 1、下载http:/ 阅读全文
posted @ 2016-03-14 10:11 远方V3 阅读(925) 评论(0) 推荐(0) 编辑
摘要: using Fasterflect; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threadi 阅读全文
posted @ 2016-03-09 19:40 远方V3 阅读(627) 评论(0) 推荐(0) 编辑
摘要: 问题:实例化的对象,反射后得到的列表包含了被隐藏的基类成员,这时如果转换为hashtable将会报key以存在的错误,如果单独使用GetProperty(“”),将会引发异常“System.Reflection.AmbiguousMatchException” 分析:找不到办法得到不包含基类成员集合 阅读全文
posted @ 2016-03-09 19:33 远方V3 阅读(320) 评论(0) 推荐(0) 编辑
摘要: using Fasterflect;using System;using System.Collections.Generic;using System.Data.SqlClient;using System.IO;using System.Linq;using System.Reflection;... 阅读全文
posted @ 2015-12-04 20:05 远方V3 阅读(903) 评论(0) 推荐(1) 编辑
摘要: -- 创建表create table Test_tbl( ID varchar(40) primary key nonclustered, IntCol int, DateCol datetime) --==========================================... 阅读全文
posted @ 2015-11-28 14:38 远方V3 阅读(2524) 评论(0) 推荐(0) 编辑
摘要: 问题1:无法使用ie进行录制 解决方法: 工具 >> 管理加载项 >> 在工具栏和扩展中找到发布者为Microsoft Corporation的Microsoft Web Test Recorder 10.0 Helper启用即可。 问题2:运行负载时显示如下错误 未能打开负载测试结果数据库。请检查 阅读全文
posted @ 2015-07-07 15:33 远方V3 阅读(1616) 评论(0) 推荐(0) 编辑
摘要: 尝试使用以下连接字符串连接数据库时出现异常:DataSource=(LocalDB)\v11.0;AttachDbFilename=;InitialCatalog=master;IntegratedSecurity=True;Enlist=False;AsynchronousProcessing=T... 阅读全文
posted @ 2015-07-07 15:29 远方V3 阅读(3504) 评论(0) 推荐(0) 编辑
摘要: 1打开工具--自定义2选择上下文菜单--编辑器上下文菜单|代码窗口3在这里我们可以看到“创建单元测试”这个菜单了,将它移到运行测试菜单下面4关闭VS并重启重启后再对着类名,点击右键,发现上下文菜单中已经出现了“创建单元测试”按钮,但它是灰色的,并不能使用。但我们离成功不远了。重启很重要,如果不重启,... 阅读全文
posted @ 2015-07-07 15:13 远方V3 阅读(335) 评论(0) 推荐(0) 编辑
摘要: Couldnotloadfileorassembly'Noesis.Javascript.dll'oroneofitsdependencies.找不到指定的模块。通过反编译发现了这个dll引用了“Microsoft.VisualC”,版本为10.0.0.0下载安装“MicrosoftVisualC+... 阅读全文
posted @ 2015-07-07 15:09 远方V3 阅读(2211) 评论(0) 推荐(0) 编辑
摘要: 1、MSBuild四个基本块(属性、项、任务、目标):MSBuild属性:属性是一些键/值对,主要用来存储一些配置信息。MSBuild项:主要是存储一些项目文件信息,以及文件的元数据信息(如版本号)。MSBuild任务:Build过程中的一些原子操作(如CSC编译cs文件、MakeDir创建目录)M... 阅读全文
posted @ 2015-07-07 15:05 远方V3 阅读(399) 评论(0) 推荐(0) 编辑
摘要: SQLServertimestamp数据类型与时间和日期无关。SQLServertimestamp是二进制数字,它表明数据库中数据修改发生的相对顺序。实现timestamp数据类型最初是为了支持SQLServer恢复算法。每次修改页时,都会使用当前的@@DBTS值对其做一次标记,然后@@DBTS加1... 阅读全文
posted @ 2015-07-07 15:00 远方V3 阅读(12864) 评论(2) 推荐(1) 编辑
摘要: 场景:在iis目录下,因为特殊需要共享一个文件夹,给到其他的技术人员访问,突然发现小小的操作,搞“大”了,使用stringpath=Server.MapPath("~/file/test.txt");Response.Write(System.IO.File.Exists(path));返回的是fa... 阅读全文
posted @ 2015-07-07 14:59 远方V3 阅读(1632) 评论(0) 推荐(0) 编辑
摘要: '****************************************************************************** '* File: comment2name.vbs '* Author: Jason Chen '* Created: 2014 '* Modified: 2017/6 '* Version: 2.0 '* Comment... 阅读全文
posted @ 2015-07-01 17:19 远方V3 阅读(1087) 评论(0) 推荐(0) 编辑
摘要: 说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。异常详细信息: System.ServiceModel.FaultException`1[[System.ServiceModel.ExceptionDetail, Sys... 阅读全文
posted @ 2014-10-12 22:10 远方V3 阅读(19076) 评论(3) 推荐(0) 编辑
摘要: 一、 VisualSVN服务器迁移场景:把A服务器备份到B服务器方法:1.拷贝A上Repositories文件夹到B上2.打开B上VisualSVN Server Manager3.右击Repositories, “所有任务” >> import existing repository4.选择步骤1... 阅读全文
posted @ 2014-10-12 22:09 远方V3 阅读(371) 评论(0) 推荐(0) 编辑