2010年12月13日

0x8007b799 错误

摘要: aspnet_regiis.exe -iuac 控制以管理员身份运行即可 阅读全文

posted @ 2010-12-13 11:45 zhzenghui 阅读(522) 评论(0) 推荐(0) 编辑

2010年12月7日

SevenZipSharp 利用7z来压缩文件

摘要: 1. SevenZipSharp的使用。注意:将7z.dll ,servenzipsharp.dll放入程序文件夹下。引入servenzipsharp即可。using SevenZip;using System.Windows.Forms;using System; class C7Z { public static void Compress7Z(string filePath, string outPath) { SevenZipCompressor.SetLibraryPath(String.Format(@"{0}\7z.dll", Application.StartupPath) 阅读全文

posted @ 2010-12-07 11:01 zhzenghui 阅读(2042) 评论(3) 推荐(0) 编辑

2010年11月19日

打开sql server 验证

摘要: 1. 用Windows身份验证登陆(这个应该是不会存在问题的, 在新安装好实例(SQL Server)的情况下, Windows身份验证是不可能被禁用的(安装过程中没有可以设置禁用Windows身份验证的地方) Manage Studio -- 菜单 "文件 "-- "连接对象资源管理器 ", 身份验证中选择 "Windows Authentication " 2. 连接成功后, 右键你的实例, ... 阅读全文

posted @ 2010-11-19 09:43 zhzenghui 阅读(382) 评论(0) 推荐(1) 编辑

Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Cul

摘要: 问题原文:Sudden Error: Could not load type System.ServiceModel.Activation.HttpModule - Urgent Help Pleasehi,I have a windows 7 machine with IIS 7. I was hosting WCF services on IIS normally and i had a co... 阅读全文

posted @ 2010-11-19 09:24 zhzenghui 阅读(1505) 评论(0) 推荐(0) 编辑

aspnet_regiis.exe 的用法

摘要: Aspnet_regiis.exe使用使用aspnet_regiis.exe注册.NETFramework重新安装IIS以后,需要用aspnet_regiis.exe来注册.NETFramework, 如下:C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe-i如果机器上同时装有多个版本的.NETFramework ,可以使... 阅读全文

posted @ 2010-11-19 09:19 zhzenghui 阅读(18519) 评论(0) 推荐(3) 编辑

2010年11月18日

iis 7.0 如果要将此内容作为静态文件提供,请添加显式 MIME 映射

摘要: 添加显式 MIME 映射cmd 切换目录%windir%\system32\inetsrv执行 appcmd set con/section:staticContent /+[fileExtension='string',mimeType='string'] string 为允许的类型扩展名fig头疼的问题,解决不了。别跟我说卸了重装。我写系统的心都有了。 阅读全文

posted @ 2010-11-18 14:32 zhzenghui 阅读(10899) 评论(3) 推荐(0) 编辑

2010年8月14日

安装 windows server 2008 的记录

摘要: 安装 windows server 2008 32 位 问题1.安装时的不明原因错误或不解。 第一次安装server 2008 时。安装完成后,没有提示设置密码系统就提示输入密码。当时很困惑,后来发现,点orther user 时是可以输入用户名。然后输入administration 密码框不输入,敲击回车。然后弹出提示,问是否重新设置密码点击ok(注意:这个密码可有讲究必须有数字,字母,大小写,和特殊符号组成否则不允许设置。例如:Zee@23Hui)。OK密码设置成功,你可以使用该密码登陆了。但是接下来遇到了更加难缠的问题,进入后发现是cmd模式。反复重启了几次还是不行。(现在对这个问题还迷 阅读全文

posted @ 2010-08-14 13:26 zhzenghui 阅读(737) 评论(0) 推荐(0) 编辑

2010年8月12日

Windows Server 2008 SP2与R2有什么区别

摘要: Windows server 2008 r2有什么新特性?Windows Server 2008 R2 与Windows Server 2008 sp2有什么区别?回答:Windows 2008 R2和Windows 2008 SP2是两个不同的东西。SP2只是service pack 2,其中包含了一些更新,修正了一些问题,并没有内核以及核心功能的改进,但是是免费的。Windows 2008 R... 阅读全文

posted @ 2010-08-12 10:32 zhzenghui 阅读(3300) 评论(0) 推荐(0) 编辑

导航