2013年10月11日
摘要: 最近在使用AnyChartStock的图表,功能很强大,但下载过来是有水印的,虽然网上也有很多破解无水印的版本,但基本都是AnyChart的,AnyChartStoc的几乎没有。所以自己尝试着去除水印。 首先想到的是用Sothink SWF Decompiler或类似的反编译工具来反编译,然后再用flash来生成swf文件,这个方法首先要装这两个软件,另外Sothink SWF Decompiler找来找去找不到一个破解版,只好有试用版本,能查看代码,发现产生水印是在一个叫'StockTrail'的类里加入的,具体代码如下:public function StockTrial( 阅读全文
posted @ 2013-10-11 23:55 Maxwell Hu 阅读(1040) 评论(0) 推荐(0) 编辑
  2013年9月22日
摘要: 当使用MQ7.1或7.5时,如果使用MQ管理员账号去连接MQ服务器,可能会报以下的错误,提示你权限不足。 2035MQRC_NOT_AUTHORIZED在之前的版本中是没有这个问题的。 原因是在7.1版本中"Channel Authentication Records" (CHLAUTH) 默认被设置为ENABLED 可以用下面的命令来验证: $runmqsc TEST01(队列管理器名称) DISPLAY QMGR CHLAUTH AMQ8408: Display Queue Manager details. QMNAME(TEST01) CHLAUTH(ENABLED) 阅读全文
posted @ 2013-09-22 12:48 Maxwell Hu 阅读(1943) 评论(0) 推荐(0) 编辑
  2013年7月10日
摘要: 请看下面代码:using System;public class A{ public A(){ M1(); } public virtual void M1(){}}public class B : A{ private string _method; public B(){ _method = "B_C"; } public override void M1(){ Console.WriteLine("Type:{0}, in B, {1}",GetType(), _method.ToUppe... 阅读全文
posted @ 2013-07-10 09:32 Maxwell Hu 阅读(705) 评论(0) 推荐(0) 编辑
  2013年6月28日
摘要: 这个BUG出现会报错如下:selectto_char(max(RENEWAL_DATE))intoM_YEAR_MONTHfromt_renewal_schedule;ORA-06502: PL/SQL:数字或值错误:字符串缓冲区太小这个时候有3个方法可以解决1、setting initialisation parameter BLANK_TRIMMING=TRUE2、declare PL/SQL CHAR and VARCHAR2 variable used in the INTO clause of SELECT statement as 4,000 bytes.3、Use CASTSQL 阅读全文
posted @ 2013-06-28 23:01 Maxwell Hu 阅读(902) 评论(0) 推荐(0) 编辑
  2013年6月24日
摘要: 适用于已安装.NET4.0的windows 2003 64位机器。系统要求: windows 2003 sp1步骤: 1. 打开命令行,转到目录:%systemdrive%\Inetpub\AdminScripts 2. 运行:cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 “true” 安装成功后会多一个目录:%windir%\syswow64\inetsrv 3. 重新注册32位asp.net, 运行:C:\Windows\Microsoft.NET\Framework\v4.0.30319\as... 阅读全文
posted @ 2013-06-24 10:39 Maxwell Hu 阅读(244) 评论(0) 推荐(0) 编辑
摘要: Many ASP.NET applications accessOracle database for the data source. Oracle supports the .NET with its Oracle Data Access Components (ODAC). By using ODAC, you do not haveto install a heavy Oracle client in the Windows server machines which have IIS for the ASP.NET applications.ODAC includesOracle I 阅读全文
posted @ 2013-06-24 09:52 Maxwell Hu 阅读(1325) 评论(0) 推荐(0) 编辑
  2013年2月28日
摘要: 当装有多个Oracle客户端时,如果要重新注册某版本的Oracle库,可以运行下面这个批处理脚本。%ORACLE_HOME%/BIN/selecthome.bat 阅读全文
posted @ 2013-02-28 09:13 Maxwell Hu 阅读(213) 评论(0) 推荐(0) 编辑
  2013年2月27日
摘要: 今天发生在用ODP.NET调整一个存储过程时发生了两个奇怪的错误。ORA-08103: object no longer existsora-01410: invalid rowid网上都说是索引块有错误什么的,我索引也重建,表也重建了,但还是不行。奇怪的是我直接测试存储过程是有结果的。后来发现是存储过程中使用了临时表,而我在代码中又没有使用事务,当我加上事务后程序就正常了。 正常的代码像下面这样:using (var conn = SqlHelper.GetConnection() as OracleConnection) { conn.O... 阅读全文
posted @ 2013-02-27 13:10 Maxwell Hu 阅读(382) 评论(0) 推荐(0) 编辑
  2013年1月23日
摘要: Deploy ODP.NET applications instantly with Oracle Data Access Components.Deploying applications can sometimes be a challenging process, involving large, complex installations. Oracle Data Access Components 11gwith Xcopy deployment, however, enables Oracle Data Provider for .NET (ODP.NET) developers 阅读全文
posted @ 2013-01-23 14:46 Maxwell Hu 阅读(441) 评论(1) 推荐(0) 编辑
  2012年11月2日
摘要: I have a web application use Microsoft ReportViewer(2012) to show report. I use LocalReport and normal DataTable to provide datasource. And the DataTable fill by ODP.NET. When i run one report everything is ok, but when i run two report at same time, one of report just wait until the another finish 阅读全文
posted @ 2012-11-02 12:38 Maxwell Hu 阅读(696) 评论(0) 推荐(0) 编辑