发布
文章平均质量分 82
songjg2010
这个作者很懒,什么都没留下…
展开
-
C#.net 获取CPU 硬盘 网卡 信息 代码
public string GetVolumeSerial(string strDriveLetter){if (strDriveLetter == "" || strDriveLetter == null) strDriveLetter = "C";ManagementObject disk =new ManagementObject("win32_logicaldisk.deviceid=/"...原创 2012-06-13 15:20:57 · 122 阅读 · 0 评论 -
Server Application Unavailable
Server Application UnavailableThe web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.A...原创 2012-03-20 14:06:05 · 68 阅读 · 0 评论 -
未能加载文件或程序集system.web.extensions解决方法
表现:1、"System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”或它的某一个依赖项。系统找不到指定的文件。2、后台系统即使添加引用后,不管此引用是系统还是用户,他们的属性和方法都不能识别;解决方案一(最佳解决方案):1、如果你的程序运行在你能控制的服...原创 2012-03-20 14:07:20 · 84 阅读 · 0 评论 -
c#cas客户端安装笔记
1、官方下载.net 客户端dll在工程中加载dllwebconfig中配置<configSections> <sectionname="casClientConfig"type="DotNetCasClient.Configuration.CasClientConfiguration, DotNetCasClient"/> &l...原创 2012-11-07 11:57:10 · 950 阅读 · 0 评论 -
HTTP 错误 500.19 - Internal Server Error
遇到的第一个问题:iis7管理介面,在设置主机头时,报告如下错误:文件名:xx\xx\xxx\web.config行号:133错误:无法读取配置节"system.web.extensions",因为它缺少节声明上网查了,老外也遇到这样的问题:Line number: 154 Error: The configuration section 'system.web.extensions' canno...原创 2012-04-13 10:13:10 · 253 阅读 · 0 评论