错误:could not get or update next value[SQL: ] Nhibernate解决:原因是数据库配置文件中的数据库方言配置错误。报错时我是用的SQLServer数据库服务器却在数据库配置文件中写的Oracle的数据库方言。改成SQLServer的数据库方言,一切OK....
分类:
数据库 时间:
2015-01-12 18:51:19
阅读次数:
137
项目中涉及到调用第三方的Https的WebService,我使用的是原始的HttpWebRequest。代码中已经考虑到是Https,加上了SSL3协议,加上了委托调用。但偶尔还是会碰到The request was aborted:Could not create SSL/TLS secure c...
分类:
其他好文 时间:
2015-01-12 18:50:54
阅读次数:
288
自从VS2010发布之后使用它来做开发的程序员越来越多,其中很多人使用了MVC来作为新的开发框架,但是在系统部署的时候我们也遇到诸多问题,因为目前大多数windows服务器采用的还是Windows Server 2003,所以我们就需要在服务器上安装.net framework 3.5 或4.0 之...
分类:
Web程序 时间:
2015-01-12 17:24:55
阅读次数:
4419
用xshell客户端连接主机出现错误:
ssh 用户名@ip_address [port]
官方文档上的提示:
"Could not connect to 'hostname' (port 22): Connection failed."
Check if the host machine is ready for connection and the port...
分类:
其他好文 时间:
2015-01-12 16:43:39
阅读次数:
104
karaf@root> log:display2015-01-12 10:48:03,950 | WARN | rint Extender: 3 | XBeanNamespaceHandler | 66 - org.apache.xbean.blueprint- 3.11.1 |Could not ...
分类:
其他好文 时间:
2015-01-12 12:54:48
阅读次数:
362
You are given an n x n 2D matrix representing an image.
Rotate the image by 90 degrees (clockwise).
Follow up:
Could you do this in-place?
先转置class Solution
{
public:
void rotate(vector...
分类:
其他好文 时间:
2015-01-12 10:57:18
阅读次数:
137
Determine whether an integer is a palindrome. Do this without extra space.
click to show spoilers.
Some hints:
Could negative integers be palindromes? (ie, -1)
If you are thinking of convertin...
分类:
其他好文 时间:
2015-01-12 00:25:55
阅读次数:
197
题目:A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.Return a deep co...
分类:
编程语言 时间:
2015-01-11 17:39:30
阅读次数:
178
题目:
Given a digit string, return all possible letter combinations that the number could represent.
A mapping of digit to letters (just like on the telephone buttons) is given below.
Input:D...
分类:
编程语言 时间:
2015-01-11 14:56:20
阅读次数:
236
You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?我直接开了一个大小相同的数组resul...
分类:
其他好文 时间:
2015-01-11 14:50:19
阅读次数:
154