zqwuwei的技术博客

理论指导实践,在实践中更好的理解理论
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2018年6月9日

摘要: 执行结果:“ rs.eof Not rs.eof ” 这也行,多年不写asp的我百思不得其解。 经过多次尝试终于发现是由于 “on error resume next”屏蔽了错误, 导致出现了我不解的结果。 把这个选项关闭之后,一切的问题就都能定位了。 问题及参考: 1. win7 + iis 7 阅读全文

posted @ 2018-06-09 22:09 zqwuwei 阅读(491) 评论(0) 推荐(0) 编辑

2013年6月3日

摘要: .net 2.0的项目添加web reference时,会多出几个out参数, 例如: out xxxResultSpecified解决方法:在接口上添加XmlSerializerFormat属性[ServiceContract, XmlSerializerFormat]public interface ITest{...}http://mynecessarycode.blogspot.hk/2011/09/problem-with-result-and-result.html 阅读全文

posted @ 2013-06-03 09:37 zqwuwei 阅读(417) 评论(0) 推荐(0) 编辑

2013年5月8日

摘要: 在从dev分支merge代码到stg分支的时候, 提示“TF203015: ....... has an incompatible pending change”。 出现这个问题的原因是要merge的某些文件在你当前的workspace下的stg已经修改,但是并没有签入。解决方法:把stg分支的代码先签入,然后再从dev分支merge. 阅读全文

posted @ 2013-05-08 09:50 zqwuwei 阅读(879) 评论(0) 推荐(0) 编辑

2013年4月3日

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Diagnostics;using System.IO;namespace ConsoleApplication1{ class Program { static void Main(string[] args) { ProcessTest2(); } static void ProcessTest2() ... 阅读全文

posted @ 2013-04-03 16:51 zqwuwei 阅读(178) 评论(0) 推荐(0) 编辑

2013年4月2日

摘要: private void ExecuteCMD(string cmd) { Process process = new Process(); try { process.StartInfo.FileName = "cmd.exe"; process.StartInfo.UseShellExecute = false; process.StartInfo.RedirectStandardInput = tr... 阅读全文

posted @ 2013-04-02 16:06 zqwuwei 阅读(171) 评论(0) 推荐(0) 编辑

2013年3月18日

摘要: http://text-symbols.com/ 阅读全文

posted @ 2013-03-18 15:20 zqwuwei 阅读(1832) 评论(0) 推荐(0) 编辑

2013年2月28日

摘要: 问题:IE7,IE8下,xmlHttpRequest.abort()调用之后xmlHttpRequest.readyState为4而不是0, 导致重用该xmlHttpRequest对象的请求出现不能触发onreadystatechange的问题环境:1. vs uitest测试2. 被测试的页面会连续发送多个ajax请求3. ajax请求会重用xmlHttpRequest对象(只在第一次实例化一个xmlHttpRequest对象)4. 每次请求失败或者完成之后都会调用xmlHttpRequest.abort()5. IE7, IE8结果:在上述环境下,xmlHttpRequest.onread 阅读全文

posted @ 2013-02-28 11:15 zqwuwei 阅读(2088) 评论(1) 推荐(0) 编辑

2012年9月27日

摘要: 添加如下代码可以解决此问题:HttpContext.Current.Response.ClearHeaders();HttpContext.Current.Response.AppendHeader( "Expires ", System.DateTime.Now.AddMinutes(30).ToString());HttpContext.Current.Response.AppendHeader( "Pragma ", "public ");HttpContext.Current.Response.AppendHeader( &q 阅读全文

posted @ 2012-09-27 14:23 zqwuwei 阅读(183) 评论(0) 推荐(0) 编辑

摘要: <system.serviceModel><serviceHostingEnvironmentmultipleSiteBindingsEnabled="true"/>...</system.serviceModel>没有加上面这句配置:svcutil.exe http://${computer name}?8012/Service.svc?wsdl加过之后:svcutil.exe http://localhost:8012/Service.svc?wsdl 阅读全文

posted @ 2012-09-27 14:21 zqwuwei 阅读(1557) 评论(0) 推荐(0) 编辑

摘要: config文件中配置web引用地址不起作用可以检查下${name}和Properties/Setting.settings里面的name是否一致。配置文件片段:<applicationSettings><Test1.Properties.Settings><settingname="${name}"serializeAs="String"><value>...</value></setting></Test1.Properties.Settings></appli 阅读全文

posted @ 2012-09-27 14:14 zqwuwei 阅读(325) 评论(0) 推荐(0) 编辑