随笔分类 -  小问题

摘要:modal dialog title locate issue:>ruby new_awp_registration.rbC:/Ruby187/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/modal_dialog.rb:55:in `locate': Title value must be String (ArgumentError) from C:/Ruby187/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/modal_dialog.rb:86:in `initialize' f 阅读全文
posted @ 2010-07-08 19:11 NikeyL 阅读(260) 评论(0) 推荐(0)
摘要:SymptomFollowing error is displayed when we run the script,>ruby test.rbC:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/ie.rb:114:in `initialize': unknown OLE server: `AutoItX3.Control' (WIN32OLERuntimeError) HRESULT error code:0x800401f3 Invalid class string from C:/Ruby/lib/ruby/ge 阅读全文
posted @ 2010-06-30 11:18 NikeyL 阅读(2501) 评论(0) 推荐(0)
摘要:1. 双击桌面 "Macintosh HD" 图标;2. 单击图标 Applications>Utilities>Terminal;3. 在terminal界面中输入: sudo vi /etc/hosts 然后回车;4. 输入成功以后,在出现的界面中按e,转入编辑模式;5. 输入你要设定的hosts内容,比如:127.0.0.1 tw.dev.map.yahoo.com;6. 输入完毕,如果要保存退出,按[esc],再输入:wq!(注意:包含前面的冒号和后面的感叹号),再按[enter],hosts就保存生效了。为了避免错误,最好是再清除一次浏览器的cache 阅读全文
posted @ 2010-04-27 14:24 NikeyL 阅读(2064) 评论(0) 推荐(0)
摘要:早上做了360提示的office更新,outlook就死掉了,不能再打开了。Platform:Window 7Office: 2007更新的补丁:Outlook的错误提示:"The file OLMAPI32.dll is incompatible with Mircosoft Office Outlook. Install Outlook again."解决方法:卸掉Office, 重新安装。如果再有office补丁提示安装,ignore them… 阅读全文
posted @ 2010-04-26 11:19 NikeyL 阅读(570) 评论(0) 推荐(0)
摘要:安装SQL server2008的时候,不管安装哪个版本都会有下面的提示,郁闷了好久。错误提示:TITLE: SQL Server Setup failure.------------------------------ SQL Server Setup has encountered the following error: MsiGetProductInfo failed to retrieve ProductVersion for package with Product Code = '{AA4A4B2C-0465-3CF8-BA76-27A027D8ACAB}'. E 阅读全文
posted @ 2010-04-22 18:54 NikeyL 阅读(2111) 评论(0) 推荐(0)
摘要:1、未做任何修改的情况下,修改了 hosts 文件,保存时,会出现如图所示的对话框。 尽管是我已经是管理员帐户,但是还是无法直接成功保存。2、正确的方法是,右键单击该文件,选择【属性】,转到【安全】选项卡,单击【编辑】(红圈处),选择当前帐户(红线处),勾选【完全控制】(红框处),确定后就可以正确保存该文件了。 阅读全文
posted @ 2010-04-22 10:51 NikeyL 阅读(15050) 评论(2) 推荐(0)
摘要:不清楚是因为安装了Windwos 7的缘故,还是公司网络的缘故,星期一一早过来MSN就很tragic上上下下了。高手指点解决方法:以管理员身份运行command prompt:执行下面的命令:netsh int tcp set global autotuninglevel=disabledMSN再次登录,复活。。。^_^ 阅读全文
posted @ 2010-04-19 11:45 NikeyL 阅读(582) 评论(0) 推荐(0)