grep -v “#” httpd.conf
排除#开头的所在行
2011-08-02
发表者 Venus
暂无评论
grep -v “#” httpd.conf
排除#开头的所在行
2011-08-02
发表者 Venus
暂无评论
启动虚拟机报错:
No permission to access this virtual machine. Configuration file: x:\xx\xxx.vmx.
切换到虚拟系统安装目录下,比如:d:\vm\rhel6.0
在当前目录删除以“.lck”结尾的文件夹。再次启动。
出现这个问题的原因一般是因为虚拟机非正常关机导致。
2011-07-29
发表者 Venus
暂无评论
在局域网里我们设置了一台机器做文件服务器,很多人习惯把登陆这个机器的用户名和密码保存方便每次登陆,可有时候文件服务器上的某人的文件夹变更后,原来用户名的权限就没有了,这时候需要用新的用户名登录,由于用户保存了用户名和密码,每次登陆就不在弹出登录对话框,这怎么能把原来保存的清除呢?
点击开始-运行-输入: control userpasswords2 (或者是control keymgr.dll)
然后切换到“高级”-“管理密码” 清除即可。
2011-07-29
发表者 Venus
暂无评论
主要数据文件
主要数据文件是数据库的起点,指向数据库中文件的其它部分。每个数据库都有一个主要数据文件。主要数据文件的推荐文件扩展名是 .mdf。
次要数据文件
次要数据文件包含除主要数据文件外的所有数据文件。有些数据库可能没有次要数据文件,而有些数据库则有多个次要数据文件。次要数据文件的推荐文件扩展名是 .ndf。
日志文件
日志文件包含恢复数据库所需的所有日志信息。每个数据库必须至少有一个日志文件,但可以不止一个。日志文件的推荐文件扩展名是 .ldf。
SQL Server 2000 不强制使用 .mdf、.ndf 和 .ldf 文件扩展名,但建议使用这些扩展名以帮助标识文件的用途。
2011-07-26
发表者 Venus
暂无评论
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
不解释,重新发布网站,覆盖原先页面。