<?xml version="1.0" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="css/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>光盘网 - 网络知识</title><link>http://tlin.com/</link><description>深圳光盘制作 - </description><generator>tlin.com Blog </generator><language>zh-CN</language><copyright>Copyright Tlin.com</copyright><pubDate>Mon, 06 Sep 2010 19:04:55 +0800</pubDate><item><title>win2003安装IIS 无法复制CONVLOG.EXE CONVLOG.EX_问题处理</title><author>a@b.com (tlin)</author><link>http://tlin.com/post/5.html</link><pubDate>Tue, 08 Sep 2009 11:21:18 +0800</pubDate><guid>http://tlin.com/post/5.html</guid><description><![CDATA[<h4 id="subjcns!D0EAB8C5386C2119!209" class="beTitle">win2003安装IIS 无法复制CONVLOG.EXE CONVLOG.EX_问题处理</h4><div id="msgcns!D0EAB8C5386C2119!209" class="bvMsg"><div><font size="2">安装IIS 无法复制CONVLOG.EX_<br /><br />在安装的时候出现一个错误提示&ldquo;安装程序无法复制文件CONVLOG.EX_&rdquo;，上网找了下资料，说是在运行－中输入&rdquo;esentutl /p %windir%/security/database/secedit.sdb &rdquo; 就可以了，试了一下，还真管用(wo的是IIS6.0)，虽然不知道什么原理，但还是把它记录下来吧，以后用！</font></div><div>&nbsp;</div><div>C:\Documents and Settings\Administrator&gt;esentutl /p %windir%/security/database/s<br />ecedit.sdb</div><div>Microsoft(R) Windows(R) Database Utilities<br />Version 5.2<br />Copyright (C) Microsoft Corporation. All Rights Reserved.</div><div>Initiating REPAIR mode...<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Database: C:\WINDOWS/security/database/secedit.sdb<br />&nbsp; Temp. Database: TEMPREPAIR896.EDB</div><div>Checking database integrity.</div><div>The database is not up-to-date. This operation may find that<br />this database is corrupt because data from the log files has<br />yet to be placed in the database.</div><div>To ensure the database is up-to-date please use the 'Recovery' operation.</div><div><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Scanning Status (% complete)</div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 10&nbsp;&nbsp; 20&nbsp;&nbsp; 30&nbsp;&nbsp; 40&nbsp;&nbsp; 50&nbsp;&nbsp; 60&nbsp;&nbsp; 70&nbsp;&nbsp; 80&nbsp;&nbsp; 90&nbsp; 100<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |----|----|----|----|----|----|----|----|----|----|<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...................................................</div><div><br />Integrity check successful.</div><div>Note:<br />&nbsp; It is recommended that you immediately perform a full backup<br />&nbsp; of this database. If you restore a backup made before the<br />&nbsp; repair, the database will be rolled back to the state<br />&nbsp; it was in at the time of that backup.</div><div>Operation completed successfully in 1.719 seconds.</div><div><br />然后就可以顺利安装IIS6了</div></div>]]></description><category>网络知识</category><comments>http://tlin.com/post/5.html#comment</comments><wfw:comment>http://tlin.com/</wfw:comment><wfw:commentRss>http://tlin.com/feed.asp?cmt=5</wfw:commentRss><trackback:ping>http://tlin.com/useei.asp?act=tb&amp;id=5&amp;key=c00236b1</trackback:ping></item><item><title>Godaddy空间的ASP程序设置问题</title><author>a@b.com (tlin)</author><link>http://tlin.com/post/3.html</link><pubDate>Thu, 18 Jun 2009 13:49:34 +0800</pubDate><guid>http://tlin.com/post/3.html</guid><description><![CDATA[<p><strong>正 文：<br /></strong>&nbsp;&nbsp;&nbsp;&nbsp;最近国内网站备案查的很严，飘易手里有部分网站想备案也来不及，被IDC强迫关闭，没有办法，只有动用我手里的国外godaddy空间，先暂时把网站迁移，不然辛苦维持的排名可就全没了。这次迁移的是ASP程序的网站，可就出了些问题。</p><p>&nbsp;</p><p>&nbsp;&nbsp;&nbsp;&nbsp;一、出现数据库不可写的情况。<br />&nbsp;&nbsp;&nbsp;&nbsp;提示：&ldquo;Microsoft&nbsp;OLE&nbsp;DB&nbsp;Provider&nbsp;for&nbsp;ODBC&nbsp;Drivers&nbsp;error&nbsp;'80004005'&nbsp;.&nbsp;Cannot&nbsp;update.&nbsp;Database&nbsp;or&nbsp;object&nbsp;is&nbsp;read-only.&rdquo;遇到这种情况下，是由于数据库所在目录没有写权限。解决方法：到godaddy后台，找到&nbsp;File&nbsp;Manager&nbsp;选项，找到相应的目录，把他们的&nbsp;permissions&nbsp;：&nbsp;Inherit&nbsp;(Inherit&nbsp;permissions&nbsp;from&nbsp;parent&nbsp;directory)，&nbsp;Read&nbsp;(Directory&nbsp;contents&nbsp;are&nbsp;visible&nbsp;to&nbsp;users)，&nbsp;Write&nbsp;(Applications&nbsp;can&nbsp;write&nbsp;to&nbsp;this&nbsp;directory)&nbsp;即继承、可读、可写三个权限全部打钩即可。</p><p>&nbsp;</p><p>&nbsp;&nbsp;&nbsp;&nbsp;二、读取数据库里的数据，全部出现乱码。<br />&nbsp;&nbsp;&nbsp;&nbsp;这种情况是由于godaddy服务器默认是英文操作系统，解码中文汉字的时候默认是按照英文编码的，所以出现乱码。解决方法：在每个需要操作数据库的asp页面的顶部插入一行：<br /><strong>&lt;%@CODEPAGE=&quot;936&quot;%&gt;</strong><br />这样就可以解决乱码的问题。</p><p>&nbsp;</p><p>&nbsp;&nbsp;&nbsp;&nbsp;三、无法使用&nbsp;FSO&nbsp;生成静态页面html。<br />&nbsp;&nbsp;&nbsp;&nbsp;这个问题是也是由于服务器英文操作系统的问题。其实godaddy空间是支持asp下的fso方式的，解决这个问题的最好方法就是采用数据流&nbsp;ADODB.Stream&nbsp;的方法来生成html，把平时&nbsp;fso&nbsp;的生成html的语句改成类似下面的语句：</p><p>&nbsp;</p><div id="yy">'采用ado方式生成HTML<br />set&nbsp;stm&nbsp;=&nbsp;server.createobject(&quot;ADODB.Stream&quot;)&nbsp;<br />stm.Charset&nbsp;=&nbsp;&quot;gb2312&quot;&nbsp;<br />stm.Open&nbsp;<br />stm.WriteText&nbsp;mb_code<br />stm.SaveToFile&nbsp;Server.Mappath(&quot;index.html&quot;),&nbsp;2<br />set&nbsp;stm&nbsp;=&nbsp;nothing</div><p>&nbsp;</p><p>&nbsp;&nbsp;&nbsp;&nbsp;四、godaddy的asp主机无法正常读写cookies的问题。<br />&nbsp;&nbsp;&nbsp;&nbsp;这个情况是由于godaddy的主机权限做的过高，而导致子目录权限分配上出现问题。我们可以在操作&nbsp;cookies&nbsp;的时候加上cookies路径就可以解决问题。代码如下：</p><p>&nbsp;</p><div id="yy">response.cookies(&quot;admin_tlin.com&quot;)=&quot;flymorn&quot;<br />response.cookies(&quot;admin_tlin.com&quot;).path=&quot;/&quot;<br />response.redirect&nbsp;&quot;admin.asp&quot;</div>]]></description><category>网络知识</category><comments>http://tlin.com/post/3.html#comment</comments><wfw:comment>http://tlin.com/</wfw:comment><wfw:commentRss>http://tlin.com/feed.asp?cmt=3</wfw:commentRss><trackback:ping>http://tlin.com/useei.asp?act=tb&amp;id=3&amp;key=831bc153</trackback:ping></item></channel></rss>
