Rootop 服务器运维与web架构

2011-07-29
发表者 Venus
暂无评论

SQL Server数据库的三种类型文件(sql中,什么是.ndf)

主要数据文件    
  主要数据文件是数据库的起点,指向数据库中文件的其它部分。每个数据库都有一个主要数据文件。主要数据文件的推荐文件扩展名是   .mdf。  
   
  次要数据文件    
  次要数据文件包含除主要数据文件外的所有数据文件。有些数据库可能没有次要数据文件,而有些数据库则有多个次要数据文件。次要数据文件的推荐文件扩展名是   .ndf。  
   
  日志文件    
  日志文件包含恢复数据库所需的所有日志信息。每个数据库必须至少有一个日志文件,但可以不止一个。日志文件的推荐文件扩展名是   .ldf。  
   
  SQL   Server   2000   不强制使用   .mdf、.ndf   和   .ldf   文件扩展名,但建议使用这些扩展名以帮助标识文件的用途。

2011-07-26
发表者 Venus
暂无评论

Parser Error Message: Could not load the assembly ‘App_Web_sie24dst’. Make sure that it is compiled before accessing the page.

Server Error in ‘/’ Application.
——————————————————————————–

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: The base class includes the field ‘ImgMap1’, but its type (controls_ImgMap) is not compatible with the type of control (ASP.controls_imgmap_ascx).

Source Error:
Line 121:    </div>
Line 122:    <div>
Line 123:      <imap:ImgMap ID=”ImgMap1″ runat=”server” />
Line 124:    </div>
Line 125:</div>
 

Source File: /index.aspx    Line: 123
——————————————————————————–
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
Server Error in ‘/’ Application.
——————————————————————————–

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load the assembly ‘App_Web_sie24dst’. Make sure that it is compiled before accessing the page.

Source Error:
Line 1:               <%@ control language=”C#” autoeventwireup=”true” inherits=”controls_ImgMap, App_Web_sie24dst” %>
Line 2:  <style>
Line 3:  .DLUrl1{ background-color:#F5C733; }
 

Source File: /controls/ImgMap.ascx    Line: 1
——————————————————————————–
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

不解释,重新发布网站,覆盖原先页面。

2011-07-21
发表者 Venus
暂无评论

the HTTP gzip module requires the zlib library

./configure: error: the HTTP gzip module requires the zlib library.
You can either disable the module by using –without-http_gzip_module
option, or install the zlib library into the system, or build the zlib library
statically from the source with nginx by using –with-zlib=<path> option.

[root@rhel nginx-1.0.5]# yum install -y zlib-devel

Problem solving “` “`

2011-07-12
发表者 Venus
暂无评论

阻止访问命令提示符

       对于很多入侵都是从cmd开始的,所以有的时候有必要限制一下:

     对于阻止访问命令提示符的说明:阻止用户运行交互式命令提示符 Cmd.exe。此设置还确定是否可以在计算机上运行批处理文件(.cmd 和 .bat)。

如果启用此设置,并且用户试图打开命令窗口,则系统会显示一条消息,说明设置会阻止此操作。

注意: 如果计算机使用登录、注销、启动或关机批处理文件脚本,则不阻止计算机运行批处理文件,也不阻止使用远程桌面服务的用户运行批处理文件。

打开组策略依次定位到:

双击设置为“已启动”即可。

刷新组策略: gpupdate /force