
2011年10月18日
在word2007中一直使用bi publisher插件好好的,今天突然遇到个问题,说automation失败,对象库未注册
查找良久,在oracle的英语论坛折腾了半天,都没有找到解决办法
用度娘,看到很多对象库未注册类似的错误,都是重新注册
scrrun.dll 即可。
抱着试一试的心态,偶也注册一下,哦也,解决了,太爽了!
注册方法为:开始 -> 运行 -> regsvr32.exe scrrun.dll -> 回车,搞定!
posted @ 2011-10-18 14:22 recx 阅读(10) 评论(0)
编辑

2011年9月23日
今天下午一直在折腾android通过soap的方式调用.net下面的webservice服务。
代码很简单,可就是调用不起
测试了很多方法,也谷歌和度娘了一大堆网页,都无用,最后国外网站上的一句话帮我解决了:webservice的命名空间最后需要有反斜杠。
贴出我的代码如下:
第一部分,.net framework4.0下面的webservice服务代码
[WebService(Namespace = "http://tmpuri.org/")]
///[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
///[System.ComponentModel.ToolboxItem(false)]
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
// [System.Web.Script.Services.ScriptService]
public class WebServer : System.Web.Services.WebService
{
[WebMethod]
public string CheckAndLogin(string userID, string userPwd)
{
string rtn = string.Empty;
//登录简单验证
BLL.UsersTable bll_Users = new BLL.UsersTable();
using (StreamWriter sw = new StreamWriter("d:\\webservice_ch.txt", true))
{
sw.WriteLine("userID为:" + userID + "; userPwd为:" + userPwd);
}
DataTable dt = bll_Users.GetList("UserLogin='" + userID + "' and UserPwd='" + userPwd + "'").Tables[0];
if (dt.Rows.Count < 1)
{
rtn = "usernotfound";
}
else
{
rtn = dt.Rows[0]["UserName"].ToString();
}
return rtn;
}
}
请注意第一行代码
[WebService(Namespace = "http://tmpuri.org/")],Namespace的后面需要有/
android上java调用代码如下:
private void soapCheck(){
String nameSpace = "http://tmpuri.org/";
String methodName = "CheckAndLogin";
//String url = "http://192.168.50.148/PDA/WebService/WebServer.asmx";
String url = "http://192.168.1.9/PDA/WebService/WebServer.asmx";
String soapAction = "http://tmpuri.org/CheckAndLogin";
try{
String userID = this.txtName.getText().toString();
String userPwd = this.txtPwd.getText().toString();
//request
SoapObject request = new SoapObject(nameSpace, methodName);
request.addProperty("userID", userID);
request.addProperty("userPwd", userPwd);
//envelope
SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);
//envelope.encodingStyle =
envelope.dotNet=true;
envelope.setOutputSoapObject(request);
//call
HttpTransportSE ht = new HttpTransportSE(url);
ht.call(soapAction, envelope);
SoapObject result = (SoapObject) envelope.bodyIn;
String txt = result.toString();
new AlertDialog.Builder(this).setMessage(result.getProperty("CheckAndLoginResult").toString()).create().show();
} catch(Exception ex){
new AlertDialog.Builder(this).setMessage(ex.getMessage()).create().show();
}
}
posted @ 2011-09-23 23:34 recx 阅读(174) 评论(0)
编辑

2011年5月23日
1,自定义文件夹
在可自定义文件夹的题头上双击,修改列名,点击确认
通过文件夹-另存为将修改后的文件夹保存为 自定义文件夹
2,分配文件夹
系统管理员->应用产品->管理文件夹
按责任或者用户分配文件夹
posted @ 2011-05-23 17:44 recx 阅读(66) 评论(0)
编辑

2011年5月17日
成都 INFORMATICA POWERCENTER KETTLE ETL ORACLE SQL 培训
联系方式:kondian@gmail.com
联系电话:13408049636 朱
posted @ 2011-05-17 11:12 recx 阅读(49) 评论(0)
编辑

2011年1月6日
下午的时候查询电子警察,发现自己遭了一张罚单,,,相当的不爽啊,现在回忆起来,完全不知道自己怎么遭的,直到晚上回家才想起那天去了一趟双流,走过那条路。年底了,给jcss上贡了,,,,
因为朋友搬了新家,晚上在那边吃饭,没有喝酒,不过有3个人喝酒,白的,喝的很多,因该是有点醉了,幸亏没喝,要不然我也得醉。
老婆请她区的同事些吃饭,没有跟我一起去,晚上10点半接到她才回家的
posted @ 2011-01-06 13:19 recx 阅读(6) 评论(0)
编辑

2010年7月20日
摘要: 用设置权限 cacls 文件夹名 /t /e /c /p everyone:f用rmdir 命令删掉就行啦 盘多出几个文件夹 就这个东西 里面全是4个数字的小文件夹 选中文件夹右键---属性---安全---选中administrator下面的方框全部打勾应用确定-----------然后点击删除,搞定 1024 1028 1029 HotFixInstallerUI.dll删除
阅读全文
posted @ 2010-07-20 11:24 recx 阅读(63) 评论(0)
编辑

2010年5月12日
摘要: Sub PasswordBreaker() Dim i As Integer, j As Integer, k As Integer Dim l As Integer, m As Integer, n As Integer Dim i1 As Integer, i2 As Integer, i3 As Integer Dim i4 As Integer, i5 As Integer, i6...
阅读全文
posted @ 2010-05-12 13:24 recx 阅读(125) 评论(0)
编辑

2009年2月8日
摘要: 窗外晴空万里,明亮的阳光晒着白色的墙壁和绿色的数木,空气中没有一丝杂志,显得这个空间特别的舒适。很想出去晒太阳,可又抬不动脚步。深圳的太阳天天有,不像成都。才立春的太阳,晒到身上已经有灼热的感觉了。
阅读全文
posted @ 2009-02-08 16:46 recx 阅读(13) 评论(0)
编辑

2009年2月3日
摘要: 使用PowerCenter Designer一个月,断断续续的记录一下中间遇到的问题:1、lookup组件在写sql时,可以有查询条件,但是不能有排序(lookup有默认排序,根据表主键和out port) 需要更改默认排序时,需要在order by filed 后面加 --,以注释掉组件自动添加的排序语句2、varchar与char型字段比较时,需要做trim3、根据时间进行增量更新时,可以直接使用全量的mapping,在session里面设置source qualifier里面增加sql filter条件就ok4、使用joiner组件时,最好对数据进行排序。数据量大、且没有进行排序的情况下
阅读全文
posted @ 2009-02-03 15:37 recx 阅读(442) 评论(0)
编辑

2008年11月13日
摘要: 2.3.1. ExecutionNxBRE uses a context object that is used to carry information about its execution environment, which are:• the available operators,• the loaded rules,• the user's bus...
阅读全文
posted @ 2008-11-13 17:39 recx 阅读(119) 评论(0)
编辑