这个问题一般在做.net开发网站时候会遇到,我就是在那个时候遇到的 访问 IIS 元数据库失败
解决方法 现象如下:访问 IIS 元数据库失败。 说明: 执行当前 Web
请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。异常详细信息: System...
分类:
数据库 时间:
2014-06-03 08:00:44
阅读次数:
216
代码如下:using System;using
System.Collections.Generic;using System.Linq;using System.Text;using
System.Configuration;using System.Collections;using Syste...
分类:
其他好文 时间:
2014-06-03 07:38:59
阅读次数:
208
Net中正则表达式的简单使用方法及常见验证判断判断字符串是只是数字我们可以这样写:return new
System.Text.RegularExpressions.Regex(@"^([0-9])[0-9]*(\.\w*)?$").IsMatch(strNumber);或者return
Syste...
分类:
Web程序 时间:
2014-06-03 05:38:27
阅读次数:
293
1.基础类TransferFiles,client和server都需要using
System;using System.Collections.Generic;using System.Text;using System.Net;using
System.Net.Sockets;using Sys...
分类:
其他好文 时间:
2014-06-03 05:37:01
阅读次数:
326
1.http://docs.seleniumhq.org/
下载seleium包2.新建一个C#项目,比如控制台,引用seleium包中的dllusing System;using
System.Collections.Generic;using System.Text;using OpenQA.S...
分类:
其他好文 时间:
2014-06-03 05:29:07
阅读次数:
197
思路是用加密程序 对硬盘号,cpu号和MAC号取出字符串并加密
产生一个序列号每次程序启动后重新产生这个序列号并比对,如果一致则验证通过using System;using
System.Collections.Generic;using System.IO;using System.Managem...
分类:
其他好文 时间:
2014-05-31 21:41:20
阅读次数:
346
C#端的WebService接口接收json格式数据,处理后以json格式返回resultusing
System;using System.Collections.Generic;using System.Linq;using System.Web;using
System.Web.Service...
分类:
Web程序 时间:
2014-05-31 17:30:19
阅读次数:
249
判断网络文件 存在 3秒之内返回结果方法2:
//////判断网络文件是否存在1.5秒得到出结果如这样的格式http://191.168.1.105:8000/CPW/wmgjUpdate.7z/////////privateboolUrlIsExists(stringURL){try{System...
分类:
其他好文 时间:
2014-05-31 17:27:47
阅读次数:
164
In SCCM 2012 R2, you can use following
class.Use SMS_CombinedDeviceResources.EPAntivirusSignatureLastVersion in
WMIE.g.select SMS_R_SYSTEM.ResourceID,...
分类:
其他好文 时间:
2014-05-31 17:10:38
阅读次数:
241
package com.jni;public class JNITest { static{
System.loadLibrary("JNI"); } public native String getCompterName(); public
native void fastWriteFile(S....
分类:
其他好文 时间:
2014-05-31 17:01:30
阅读次数:
202