﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><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://www.cnblogs.com/muskteer/</link><description /><language>zh-cn</language><lastBuildDate>Tue, 07 Oct 2008 04:28:43 GMT</lastBuildDate><pubDate>Tue, 07 Oct 2008 04:28:43 GMT</pubDate><ttl>60</ttl><item><title>“由于只知道存货   的成本价，无法更新 的物料消耗量”问题的解决</title><link>http://www.cnblogs.com/muskteer/archive/2008/09/05/1284954.html</link><dc:creator>饮酒买醉</dc:creator><author>饮酒买醉</author><pubDate>Fri, 05 Sep 2008 03:04:00 GMT</pubDate><guid>http://www.cnblogs.com/muskteer/archive/2008/09/05/1284954.html</guid><wfw:comment>http://www.cnblogs.com/muskteer/comments/1284954.html</wfw:comment><comments>http://www.cnblogs.com/muskteer/archive/2008/09/05/1284954.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/muskteer/comments/commentRss/1284954.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/muskteer/services/trackbacks/1284954.html</trackback:ping><description><![CDATA[<p>一个新环境，在生成移位单过账时，提示&ldquo;由于只知道存货&nbsp;&nbsp; 的成本价，无法更新 1.00 的物料消耗量&rdquo;（Item consumption for %1 cannot be updated because the cost price is known only for %2 in stock）。找了半天没找到原因，后来在微软AX NewGroup中找到了答案</p>
<p>When posting the financial consumption of a BOM-Component, Axapta needs to know the cost price. If the cost price is not known, the described message appears. The cost price is not known, when a purchase for a new item (no postings on it) is not invoice updated<br /><br />One way of solving this is to allow negative financial inventory. The other way is to first update the purchase invoices of the related components.</p>
<p>先记下来，备忘。</p><img src ="http://www.cnblogs.com/muskteer/aggbug/1284954.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42817/" target="_blank">[新闻]雅虎新闻首页改版，宽屏、共享、组件</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>在AX中新建菜单项</title><link>http://www.cnblogs.com/muskteer/archive/2008/08/26/1276735.html</link><dc:creator>饮酒买醉</dc:creator><author>饮酒买醉</author><pubDate>Tue, 26 Aug 2008 07:22:00 GMT</pubDate><guid>http://www.cnblogs.com/muskteer/archive/2008/08/26/1276735.html</guid><wfw:comment>http://www.cnblogs.com/muskteer/comments/1276735.html</wfw:comment><comments>http://www.cnblogs.com/muskteer/archive/2008/08/26/1276735.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/muskteer/comments/commentRss/1276735.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/muskteer/services/trackbacks/1276735.html</trackback:ping><description><![CDATA[AX的AOT中建立菜单，但是关闭AX，重新打开还是不能显示在左边的主菜单中。原因:需要在AOT-&gt;Menus-&gt;MainMenu中添加对新Menu的引用。（只要将新Menu拖进即可！）备忘！<img src ="http://www.cnblogs.com/muskteer/aggbug/1276735.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42816/" target="_blank">[新闻]传阿里投资淘宝超40亿元 应对百度C2C</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>Axapta "cannot select a record  The SQL database has issued an error"</title><link>http://www.cnblogs.com/muskteer/archive/2008/07/19/1246564.html</link><dc:creator>饮酒买醉</dc:creator><author>饮酒买醉</author><pubDate>Sat, 19 Jul 2008 03:52:00 GMT</pubDate><guid>http://www.cnblogs.com/muskteer/archive/2008/07/19/1246564.html</guid><wfw:comment>http://www.cnblogs.com/muskteer/comments/1246564.html</wfw:comment><comments>http://www.cnblogs.com/muskteer/archive/2008/07/19/1246564.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/muskteer/comments/commentRss/1246564.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/muskteer/services/trackbacks/1246564.html</trackback:ping><description><![CDATA[<P>将数据库从Win平台下的Oracle转到unix下后，突然某张表的查询操作报错。“cannot select a record&nbsp; The SQL database has issued an error”。编译该表，对应的Form和Class都不起作用。最后终于在微软AX网站上找到了原因：</P>
<P>“Axapta normaly not synchronize the AOD to the Database directly, Axapta uses the Table 'SQLDictionary' to recognize<BR>differences between AOD and Database. Only the "check/synchronize" prozedure from Admin menu does check the real<BR>SQL Dictionary in the database.”</P><img src ="http://www.cnblogs.com/muskteer/aggbug/1246564.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42815/" target="_blank">[新闻]传雅虎最快本月将宣布收购美国在线</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>AX中调用.Net的Dll时需要注意的几点。</title><link>http://www.cnblogs.com/muskteer/archive/2008/07/02/1233704.html</link><dc:creator>饮酒买醉</dc:creator><author>饮酒买醉</author><pubDate>Wed, 02 Jul 2008 01:03:00 GMT</pubDate><guid>http://www.cnblogs.com/muskteer/archive/2008/07/02/1233704.html</guid><wfw:comment>http://www.cnblogs.com/muskteer/comments/1233704.html</wfw:comment><comments>http://www.cnblogs.com/muskteer/archive/2008/07/02/1233704.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnblogs.com/muskteer/comments/commentRss/1233704.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/muskteer/services/trackbacks/1233704.html</trackback:ping><description><![CDATA[<P>server static void Job1(Args _args)<BR>{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CLRObject rdm;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CLRObject num;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int value;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rdm = new CLRObject(\'System.Random\');<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; num = rdm.Next();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; value = CLRInterop::getAnyTypeForObject(num);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; box::info(int2str(value));<BR>}&nbsp;</P>
<P>static void Job1(Args _args)<BR>{<BR>&nbsp;&nbsp;&nbsp; DLL dll ;<BR>&nbsp;&nbsp;&nbsp; DLLFunction interFaceLibrary;<BR>&nbsp;&nbsp;&nbsp; ;</P>
<P>&nbsp;&nbsp;&nbsp; dll = new DLL(\'Net_DLL_Ax.dll\');<BR>&nbsp;&nbsp;&nbsp; interFaceLibrary&nbsp; = new DLLFunction(dll,\'FirstClass.GetInformation\');</P>
<P>&nbsp;&nbsp;&nbsp; interFaceLibrary.returns(ExtTypes::String);<BR>&nbsp;&nbsp; info(interFaceLibrary.call());</P>
<P>}</P>
<P>DLL文件C#代码：</P>
<P>using System;</P>
<P>namespace Net_DLL_Ax<BR>{<BR>&nbsp;&nbsp;&nbsp; public class FirstClass<BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public FirstClass()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public static string GetInformation()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return "HelloWorld";<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp; }<BR>}</P>
<P mce_keep="true">&nbsp;</P>
<P mce_keep="true">&nbsp;</P>
<P>总结了一下AX中调用NET中的DLL时要注意的一些方面(服务器端的部署)：</P>
<P>1.在服务器上注册DLL程序集文件到GAC(全局程序集缓存)中，可以使用.Net的工具gacutil -i assemblyname.dll。</P>
<P>2.在ax中添加对NET的DLL文件的引用。</P>
<P>3.在代码中调用DLL之前要开启权限：</P>
<P>&nbsp;&nbsp;&nbsp; Set&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _assertSet;<BR>&nbsp;&nbsp;&nbsp; InteropPermission&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _ipCLR;&nbsp;&nbsp;&nbsp; ;</P>
<P>&nbsp;&nbsp;&nbsp; _assertSet = new Set(Types::Class);<BR>&nbsp;&nbsp;&nbsp; _ipCLR = new InteropPermission(InteropKind::ClrInterop);</P>
<P>&nbsp;&nbsp;&nbsp; _assertSet.add(_ipCLR);</P>
<P>&nbsp;&nbsp;&nbsp; CodeAccessPermission::assertMultiple(_assertSet);</P>
<P>部署好了以后就可以直接在客户端直接运行服务器端调用NET中DLL的项目了。</P>
<P>最郁闷的是按照步骤也不成功:( ，经验告诉我们“重启AX”！！！</P><img src ="http://www.cnblogs.com/muskteer/aggbug/1233704.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42814/" target="_blank">[新闻]周一美国股市科技股惨跌 纳综指创4年新低</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>Axapta中Excel导出时报“在该映射中找不到值1”的错误</title><link>http://www.cnblogs.com/muskteer/archive/2008/06/18/1224420.html</link><dc:creator>饮酒买醉</dc:creator><author>饮酒买醉</author><pubDate>Wed, 18 Jun 2008 02:06:00 GMT</pubDate><guid>http://www.cnblogs.com/muskteer/archive/2008/06/18/1224420.html</guid><wfw:comment>http://www.cnblogs.com/muskteer/comments/1224420.html</wfw:comment><comments>http://www.cnblogs.com/muskteer/archive/2008/06/18/1224420.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/muskteer/comments/commentRss/1224420.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/muskteer/services/trackbacks/1224420.html</trackback:ping><description><![CDATA[<P>备忘：Excel导出大数据量时使用了会报此错误。</P>
<P>调查原因：</P>
<P>progress.setText(strfmt("Exporting Records %1", i));</P>
<P><FONT color=#ff0000>progress.incCount(1);</FONT></P>
<P>最简单的解决方法：注释掉此句。时间紧，暂时不调查更明确的原因。</P><img src ="http://www.cnblogs.com/muskteer/aggbug/1224420.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42813/" target="_blank">[新闻]关于Firefox 3你不知道的八个功能</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>AX 系统函数备忘（随时更新）</title><link>http://www.cnblogs.com/muskteer/archive/2008/06/02/1212321.html</link><dc:creator>饮酒买醉</dc:creator><author>饮酒买醉</author><pubDate>Mon, 02 Jun 2008 09:09:00 GMT</pubDate><guid>http://www.cnblogs.com/muskteer/archive/2008/06/02/1212321.html</guid><wfw:comment>http://www.cnblogs.com/muskteer/comments/1212321.html</wfw:comment><comments>http://www.cnblogs.com/muskteer/archive/2008/06/02/1212321.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/muskteer/comments/commentRss/1212321.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/muskteer/services/trackbacks/1212321.html</trackback:ping><description><![CDATA[&nbsp; 
<P lang=zh-CN style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 宋体">1：直接调用函数</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; str 24 ComName;</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in"><SPAN style="FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ComName=appl.company().ext();//</SPAN><SPAN style="FONT-FAMILY: 宋体">当前公司</SPAN><SPAN style="FONT-FAMILY: 'Times New Roman'">ID</SPAN></P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in"><SPAN style="FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; curUserid();//</SPAN><SPAN style="FONT-FAMILY: 宋体">当前用户</SPAN><SPAN style="FONT-FAMILY: 'Times New Roman'">iD</SPAN></P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in"><SPAN style="FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; systemDateget();//</SPAN><SPAN style="FONT-FAMILY: 宋体">当前时间</SPAN></P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in"><SPAN style="FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Time2Str(timenow(),1,2);//</SPAN><SPAN style="FONT-FAMILY: 宋体">时间转换函数</SPAN></P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in"><SPAN style="FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; curuserid()//</SPAN><SPAN style="FONT-FAMILY: 宋体">当前用户</SPAN></P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'" mce_keep="true">&nbsp;</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in"><SPAN lang=zh-CN style="FONT-FAMILY: 宋体">2，使用</SPAN><SPAN lang=en-US style="FONT-FAMILY: 'Times New Roman'">Session</SPAN><SPAN lang=zh-CN style="FONT-FAMILY: 宋体">对象</SPAN></P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; session xSession;</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xSession=new session();</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print xsession.userId();pause;</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print xsession.interfaceLanguage();pause;</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'" mce_keep="true">&nbsp;</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in"><SPAN lang=zh-CN style="FONT-FAMILY: 宋体">3，使用</SPAN><SPAN lang=en-US style="FONT-FAMILY: 'Times New Roman'">XInfo</SPAN><SPAN lang=zh-CN style="FONT-FAMILY: 宋体">对象</SPAN></P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">static void currentConfiguartion(Args _args)</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">{</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AOSSessionInfo info = new AOSSessionInfo();</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SqlSystem SqlSystem = new SqlSystem();</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print xinfo::componentName();</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print xinfo::configuration();</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print xinfo::dbName();</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print xinfo::licenseName();</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print xinfo::releaseVersion();</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print info.clientMode();</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print SqlSystem.loginConnectString();</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print xinfo::directory(directorytype::Appl);</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print xinfo::directory(directorytype::DB);//....</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'" mce_keep="true">&nbsp;</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pause;</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'" mce_keep="true">&nbsp;</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">}</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in"><SPAN lang=en-US style="FONT-FAMILY: 'Times New Roman'">4</SPAN><SPAN lang=zh-CN style="FONT-FAMILY: SimSun">，得到数据库信息： </SPAN><SPAN lang=zh-CN style="FONT-FAMILY: SimSun">我们可以使用类</SPAN><SPAN lang=en-US style="FONT-FAMILY: 'Times New Roman'">SqlSystem</SPAN><SPAN lang=zh-CN style="FONT-FAMILY: SimSun">得到数据库的信息，</SPAN></P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">static void Job52(Args _args)</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">{</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp; sqlsystem sql;</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp; ;</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp; sql=new sqlsystem();</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp; print sql.databaseName();</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp; print sql.databaseId();</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp; print sql.loginServer();</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp; print sql.loginDatabase();</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp; print sql.loginName();</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">&nbsp;&nbsp;&nbsp; pause;</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">}</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'" mce_keep="true">&nbsp;</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">5，取余，取整，取小数</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">static void&nbsp;job1 (Args&nbsp;&nbsp; args)<BR>{</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><FONT size=3>real i,j;</FONT></P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>;</FONT></P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>i=10;</FONT></P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>j=3;</FONT></P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in"><FONT size=3><SPAN lang=en-US style="FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>print trunc(i/j);<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>//</SPAN><SPAN lang=zh-CN style="FONT-FAMILY: 宋体">取整</SPAN></FONT></P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in"><FONT size=3><SPAN lang=en-US style="FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>print frac(i/j);<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>//</SPAN><SPAN lang=zh-CN style="FONT-FAMILY: 宋体">小数</SPAN></FONT></P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in"><FONT size=3><SPAN lang=en-US style="FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>print i-j*trunc(i/j);<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>//</SPAN><SPAN lang=zh-CN style="FONT-FAMILY: 宋体">取余</SPAN></FONT></P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>pause;</FONT></P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">}</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'" mce_keep="true">&nbsp;</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'">6, 判断文件访问权限</P>
<P style="FONT-SIZE: 10.5pt; MARGIN: 0in; FONT-FAMILY: 'Times New Roman'" mce_keep="true">&nbsp;</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri">private void <SPAN style="COLOR: red">checkFileAccess</SPAN>(Filename _filename)</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri">{</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>#WinAPI</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true">&nbsp;</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>FilePath<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>filePath = conpeek(fileNameSplit(_filename), 1);</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>Filename<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>filename = 'AxaptaTestFile';</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>str<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>fileExt<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>= '.Axapta';</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true">&nbsp;</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>Filename<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>testFilename;</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>int<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>handle;</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true">&nbsp;</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>Counter<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>counter;</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true">&nbsp;</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>Filename getFileName()</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>{</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>;</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>counter ++;</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>return filePath + filename + strRFix(int2str(counter), 3, '0') + fileExt;</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>}</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true">&nbsp;</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>do</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>{</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>testFilename = getFileName();</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>}</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>while (WinAPI::fileExists(testFilename));</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true">&nbsp;</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>handle = WinAPI::createFile(testFilename, #CREATE_NEW, #CREATE_ALWAYS);</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true">&nbsp;</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>if (handle == -1)</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>{</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>throw error("@SYS97423");</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>}</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri" mce_keep="true">&nbsp;</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>WinAPI::closeHandle(handle);</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>WinAPI::deleteFile(testFilename);</P>
<P style="FONT-SIZE: 11pt; MARGIN: 0in; FONT-FAMILY: Calibri">}</P><img src ="http://www.cnblogs.com/muskteer/aggbug/1212321.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42812/" target="_blank">[新闻]阿里巴巴联手如家扩张电子商务</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>程序员要学会这么多语言吗？</title><link>http://www.cnblogs.com/muskteer/archive/2006/02/03/325113.html</link><dc:creator>饮酒买醉</dc:creator><author>饮酒买醉</author><pubDate>Fri, 03 Feb 2006 15:07:00 GMT</pubDate><guid>http://www.cnblogs.com/muskteer/archive/2006/02/03/325113.html</guid><wfw:comment>http://www.cnblogs.com/muskteer/comments/325113.html</wfw:comment><comments>http://www.cnblogs.com/muskteer/archive/2006/02/03/325113.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/muskteer/comments/commentRss/325113.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/muskteer/services/trackbacks/325113.html</trackback:ping><description><![CDATA[学会至少半打编程语言。包括一门支持类抽象（class&nbsp;abstraction）的语言（如Java或C++），一门支持函数抽象（functional&nbsp;abstraction）的语言（如Lisp或ML），一门支持句法抽象（syntactic&nbsp;abstraction）的语言（如Lisp），一门支持说明性规约（declarative&nbsp;specification）的语言（如Prolog或C++模版），一门支持协程（coroutine）的语言（如Icon或Scheme），以及一门支持并行处理（parallelism）的语言（如Sisal）。<BR>好多听都没听过&#8230;&#8230;，程序员的路越走越没有尽头。<img src ="http://www.cnblogs.com/muskteer/aggbug/325113.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42811/" target="_blank">[新闻]2008年10月7日科技博客精选</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>新建AD用户后启用AD帐户</title><link>http://www.cnblogs.com/muskteer/archive/2006/01/16/318303.html</link><dc:creator>饮酒买醉</dc:creator><author>饮酒买醉</author><pubDate>Mon, 16 Jan 2006 07:52:00 GMT</pubDate><guid>http://www.cnblogs.com/muskteer/archive/2006/01/16/318303.html</guid><wfw:comment>http://www.cnblogs.com/muskteer/comments/318303.html</wfw:comment><comments>http://www.cnblogs.com/muskteer/archive/2006/01/16/318303.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.cnblogs.com/muskteer/comments/commentRss/318303.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/muskteer/services/trackbacks/318303.html</trackback:ping><description><![CDATA[<P>以前收藏了徐虎专栏里的一篇<A style="COLOR: #0000ff" href="http://blog.csdn.net/xuandhu/archive/2005/03/16/320643.aspx" target=_blank>AD操作</A>的类，后来的AD操作省了不少的时间。但今天发现类中的一个小错误。就是新建用户后，启用帐户时代码不正确。<BR>原代码：<BR>&nbsp; ///&nbsp;<BR>&nbsp;&nbsp;///&nbsp;启用指定 的用户<BR>&nbsp;&nbsp;///&nbsp;<BR>&nbsp;&nbsp;///&nbsp;<BR>&nbsp;&nbsp;public static void EnableUser(DirectoryEntry de)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;impersonate.BeginImpersonate();<BR>&nbsp;&nbsp;&nbsp;de.Properties["userAccountControl"][0] =&nbsp; ADClass.ADS_USER_FLAG_ENUM.ADS_UF_NORMAL_ACCOUNT&nbsp;|&nbsp;ADClass.ADS_USER_FLAG_ENUM.ADS_UF_DONT_EXPIRE_PASSWD;<BR>&nbsp;&nbsp;&nbsp;de.CommitChanges();<BR>&nbsp;&nbsp;&nbsp;impersonate.StopImpersonate();<BR>&nbsp;&nbsp;&nbsp;de.Close();<BR>&nbsp;&nbsp;}<BR>上面的ADClass.ADS_USER_FLAG_ENUM.ADS_UF_NORMAL_ACCOUNT&nbsp;= <SPAN style="COLOR: red">0X0200</SPAN>;&nbsp;&nbsp;&nbsp; //普通用户的默认帐号类型<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ADClass.ADS_USER_FLAG_ENUM.ADS_UF_DONT_EXPIRE_PASSWD = <SPAN style="COLOR: red">0X10000</SPAN>;&nbsp;&nbsp; //密码永不过期标志<BR><BR>上述代码运行时竟让报&#8220;<SPAN style="COLOR: red">该服务器不愿意处理该请求</SPAN>&#8221;？狂晕！！！第一次遇见这种异常消息！！<BR><BR>后来在微软网站找到了原因所在：<A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sds/sds/enabling_and_disabling_the_user_account.asp" target=_blank>Enabling and Disabling the User Account</A>&nbsp;<BR>启用帐号：</P><PRE xml:space="preserve">DirectoryEntry usr = 
    new DirectoryEntry("LDAP://CN=New User,CN=users,DC=fabrikam,DC=com");
int val = (int) usr.Properties["userAccountControl"].Value;
usr.Properties["userAccountControl"].Value = val &amp; ~ADS_UF_ACCOUNTDISABLE;
usr.CommitChanges();<BR><BR>   <BR><P class=classNewTip style="DISPLAY: none; LEFT: 189px; VISIBILITY: hidden; TOP: 175px">ADS_UF_ACCOUNTDISABLE = 2 //0x2；The user account is disabled.<BR></P><P>上班时间就不多废话了，userAccountControl的其他属性操作请查阅<A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adsi/adsi/ads_user_flag_enum.asp" target=_blank>ADS_USER_FLAG_ENUM</A><BR><BR><BR><BR><BR></P></PRE><img src ="http://www.cnblogs.com/muskteer/aggbug/318303.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42809/" target="_blank">[新闻]51.COM技术副总裁邵辉跳槽百度</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>在AD密码修改操作时报错：System.Runtime.InteropServices.COMException: The server is not operational 该服务器不可操作！</title><link>http://www.cnblogs.com/muskteer/archive/2006/01/07/312800.html</link><dc:creator>饮酒买醉</dc:creator><author>饮酒买醉</author><pubDate>Sat, 07 Jan 2006 04:08:00 GMT</pubDate><guid>http://www.cnblogs.com/muskteer/archive/2006/01/07/312800.html</guid><wfw:comment>http://www.cnblogs.com/muskteer/comments/312800.html</wfw:comment><comments>http://www.cnblogs.com/muskteer/archive/2006/01/07/312800.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnblogs.com/muskteer/comments/commentRss/312800.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/muskteer/services/trackbacks/312800.html</trackback:ping><description><![CDATA[<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #0000ff">using</SPAN><SPAN style="COLOR: #000000">&nbsp;System.DirectoryServices;<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">try</SPAN><SPAN style="COLOR: #000000"><BR><IMG id=Codehighlighter1_40_748_Open_Image onclick="this.style.display='none'; Codehighlighter1_40_748_Open_Text.style.display='none'; Codehighlighter1_40_748_Closed_Image.style.display='inline'; Codehighlighter1_40_748_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_40_748_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_40_748_Closed_Text.style.display='none'; Codehighlighter1_40_748_Open_Image.style.display='inline'; Codehighlighter1_40_748_Open_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ContractedBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN id=Codehighlighter1_40_748_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_40_748_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">string</SPAN><SPAN style="COLOR: #000000">&nbsp;sAMAccountName&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">xingtingting</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">string</SPAN><SPAN style="COLOR: #000000">&nbsp;newPassword&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">12345678</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">iw.local/OU=HXZ,</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DirectoryEntry&nbsp;de&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000">&nbsp;DirectoryEntry(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">LDAP://iw.local/OU=HXZ,DC=iw,DC=local</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">iw\\spsadmin</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">iswind</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,AuthenticationTypes.Sealing&nbsp;);<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DirectorySearcher&nbsp;deSearch&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000">&nbsp;DirectorySearcher(de);<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;deSearch.Filter&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">(&amp;(&amp;(objectCategory=person)(objectClass=user))(sAMAccountName=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">&nbsp;sAMAccountName&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">))</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;deSearch.SearchScope&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;SearchScope.Subtree;<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SearchResult&nbsp;result&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;deSearch.FindOne();<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;de&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000">&nbsp;DirectoryEntry(result.Path);<BR><IMG id=Codehighlighter1_636_648_Open_Image onclick="this.style.display='none'; Codehighlighter1_636_648_Open_Text.style.display='none'; Codehighlighter1_636_648_Closed_Image.style.display='inline'; Codehighlighter1_636_648_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_636_648_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_636_648_Closed_Text.style.display='none'; Codehighlighter1_636_648_Open_Image.style.display='inline'; Codehighlighter1_636_648_Open_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;de.Invoke(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">SetPassword</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,&nbsp;</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">object</SPAN><SPAN style="COLOR: #000000">[]</SPAN><SPAN id=Codehighlighter1_636_648_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_636_648_Open_Text><SPAN style="COLOR: #000000">{newPassword}</SPAN></SPAN><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;de.CommitChanges();<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;de.Close();<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.Windows.Forms.MessageBox.Show(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">修改成功！</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">catch</SPAN><SPAN style="COLOR: #000000">&nbsp;(Exception&nbsp;ex)<BR><IMG id=Codehighlighter1_777_796_Open_Image onclick="this.style.display='none'; Codehighlighter1_777_796_Open_Text.style.display='none'; Codehighlighter1_777_796_Closed_Image.style.display='inline'; Codehighlighter1_777_796_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_777_796_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_777_796_Closed_Text.style.display='none'; Codehighlighter1_777_796_Open_Image.style.display='inline'; Codehighlighter1_777_796_Open_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ContractedBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN id=Codehighlighter1_777_796_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_777_796_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">throw</SPAN><SPAN style="COLOR: #000000">&nbsp;ex;<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></SPAN></DIV>执行至：<SPAN style="COLOR: red">de.Invoke("SetPassword",new object []{newPassword});<FONT color=#000000>抛异常。<BR>在AD服务器上运行正常，但在加入域的服务器运行就出错。可以断定应该不是程序的问题，但找了很久也没找到解决办法。后来在<A title=这里 href="http://www.highdots.com/forums/asp-net-security/change-password-active-directory-webapplication-700434.html" target=_blank>http://www.highdots.com/forums/asp-net-security/change-password-active-directory-webapplication-700434.html</A>看到一段话：<BR><SPAN style="COLOR: #008000">You may need to experiment with different variations on the dcDNS variable<BR>and you may need to remove the ServerBind flag if you are using a NETBIOS<BR>name. Also, you may need to remove the Sealing flag as well, but be warned<BR>that in order to set or change passwords, some sort of encrypted channel<BR>(SSL or Kerberos) must be available.<BR><SPAN style="COLOR: #000000">突然想到犯了一个低级错误！没有把DNS设置正确！！因为测试AD服务器也是DNS服务器，所以需要把AD服务器的地址配到本机的DNS中。配置后运行成功！<BR></SPAN></SPAN></FONT></SPAN><img src ="http://www.cnblogs.com/muskteer/aggbug/312800.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42807/" target="_blank">[新闻]Mono 2.0终于到来</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>求助：单点登陆帐户密码修改的问题！！</title><link>http://www.cnblogs.com/muskteer/archive/2006/01/06/312330.html</link><dc:creator>饮酒买醉</dc:creator><author>饮酒买醉</author><pubDate>Fri, 06 Jan 2006 06:12:00 GMT</pubDate><guid>http://www.cnblogs.com/muskteer/archive/2006/01/06/312330.html</guid><wfw:comment>http://www.cnblogs.com/muskteer/comments/312330.html</wfw:comment><comments>http://www.cnblogs.com/muskteer/archive/2006/01/06/312330.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/muskteer/comments/commentRss/312330.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/muskteer/services/trackbacks/312330.html</trackback:ping><description><![CDATA[<P>一个困扰很久的问题！！！<BR>需求：将AD用户密码和SSO中的帐户密码进行同步，因为AD中是取不出密码的，所以在用户修改AD密码的同时修改对应SSO的密码。<BR>遇到的问题：<BR>&nbsp;&nbsp;&nbsp;WindowsImpersonationContext wic = null;<BR>&nbsp;&nbsp;&nbsp;try<BR>&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;wic = CreateIdentity("administrator", "iswind", "iswind").Impersonate(); //提升权限<BR>&nbsp;&nbsp;&nbsp;&nbsp;string [] args = new string[2];<BR>&nbsp;&nbsp;&nbsp;&nbsp;//userName<BR>&nbsp;&nbsp;&nbsp;&nbsp;args[0] = "username";<BR>&nbsp;&nbsp;&nbsp;&nbsp;//pwd<BR>&nbsp;&nbsp;&nbsp;&nbsp;args[1] = "12345678";<BR>&nbsp;&nbsp;&nbsp; //应用名<BR>&nbsp;&nbsp;&nbsp;&nbsp;string AppName = "SSOApp";</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;string domainAndName = "iswind\\username";&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;Credentials.SetUserCredentials(AppName,domainAndName,args);<BR>&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;catch (SingleSignonException ex)<BR>&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;throw ex;<BR>&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;finally<BR>&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;wic.Undo();<BR>&nbsp;&nbsp;&nbsp;}&nbsp;<BR>此段代码运行在web应用程序里报错：到<SPAN style="COLOR: #00ff00">Credentials.SetUserCredentials(AppName,domainAndName,args);<BR></SPAN><FONT style="COLOR: #000000" face=Verdana color=#ff3300>报错：<SPAN style="COLOR: #ff0000">服务器应用程序不可用</SPAN><BR>但是如果把此代码编译成Win程序就可以正常执行，而且在portal里手工更改用户密码也是正常的。现在可能的原因就是SPS配置问题了，但是具体哪个地方的问题我还是搞不清楚，希望高手能帮帮我！感激不尽。</FONT></P><img src ="http://www.cnblogs.com/muskteer/aggbug/312330.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42808/" target="_blank">[新闻]百度任命李一男担任首席技术官</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item></channel></rss>