上一页 1 2 3 4 5 6 7 ··· 9 下一页
  2014年9月2日
摘要: This can be easily solved by allowing MARS in your connection string. AddMultipleActiveResultSets=trueto the provider part of your connection string (... 阅读全文
posted @ 2014-09-02 11:13 西西弗斯 阅读(183) 评论(0) 推荐(0) 编辑
  2014年8月29日
摘要: QuestionI use OData v3 and WCF in visual studio 2012.I want to return List using the following query, but got error "Can only specify query options (o... 阅读全文
posted @ 2014-08-29 14:59 西西弗斯 阅读(617) 评论(0) 推荐(0) 编辑
  2014年5月28日
摘要: 使用reCaptchaforasp.netlibrary,以前一直工作正常,最近发现运行不正常了,google到了一个解决方案,不适用control而直接使用api,代码如下:markup: codebehind:private const string RECAPTCHA_C... 阅读全文
posted @ 2014-05-28 15:11 西西弗斯 阅读(319) 评论(0) 推荐(0) 编辑
  2014年5月23日
摘要: 在向Azure部署程序的时候,出现如下错误:A numeric comparison was attempted on "%(TargetOSFamily.Identity)" that evaluates to "" instead of a number, in condition " '$(R... 阅读全文
posted @ 2014-05-23 11:55 西西弗斯 阅读(459) 评论(0) 推荐(0) 编辑
  2014年5月14日
摘要: 阅读全文
posted @ 2014-05-14 11:34 西西弗斯 阅读(12769) 评论(0) 推荐(0) 编辑
  2014年2月26日
摘要: 1) ProtocolException: The remote server returned an unexpected response: (405) Method Not AllowedThe issue was, windows features for WCF was not enabled.2) Login failed for user 'IIS APPPOOL\Classic .NET AppPool'2.1) Are you using integrated security in the DB connection string? if so, you e 阅读全文
posted @ 2014-02-26 15:07 西西弗斯 阅读(363) 评论(0) 推荐(0) 编辑
  2014年2月10日
摘要: 这本来是一个很小的feature并且也没有什么模糊的地方,关键是VS把这个设置成了默认值,当默认为AnyCPU的时候,application会被编译成32-bitmode.下边是我遇到的问题,在64-bitOS上,使用VS2013创建基于.net4.5的console工程,代码如下: // Software\Wow6432Node\mytest default value is 0 var x86path = @"Software\Wow6432Node\mytest"; // Software\mytest default ... 阅读全文
posted @ 2014-02-10 11:30 西西弗斯 阅读(2416) 评论(0) 推荐(2) 编辑
  2013年10月17日
摘要: 原文:http://robmensching.com/blog/posts/2003/10/18/component-rules-101I've been debating with myself for the last week whether I really wanted to write this blog entry about theComponent Rules. TheWindows Installer SDKhas some decentdocumentationabout what can go wrong when the rules are broken. B 阅读全文
posted @ 2013-10-17 14:30 西西弗斯 阅读(308) 评论(0) 推荐(0) 编辑
  2013年8月29日
摘要: Sample Code: public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { RestartElevated(); } static internal bool IsAdmin() { Win... 阅读全文
posted @ 2013-08-29 15:38 西西弗斯 阅读(923) 评论(0) 推荐(0) 编辑
  2013年8月13日
摘要: $ cat /etc/yum.conf[main]cachedir=/var/cache/yum/$basearch/$releaseverkeepcache=0debuglevel=2logfile=/var/log/yum.logexactarch=1obsoletes=1gpgcheck=1plugins=1installonly_limit=5bugtracker_url=http://bugs.centos.org/set_project.php?project_id=16&ref=http://bugs.centos.org/bug_report_page.php?cate 阅读全文
posted @ 2013-08-13 17:52 西西弗斯 阅读(531) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 9 下一页