//一般处理,无参数示例public JsonResult Test(){ Something...
return Json{new{Success=true,Msg="Error!",...}}; //return
Json(new{Success=fals,Msg="ok",...},Js...
分类:
Web程序 时间:
2014-05-26 08:44:39
阅读次数:
326
在用c#生成应用程序的时候,读写dbf时,open方法出错ERROR [IM002]
[Microsoft][ODBC 驱动程序管理器]
未发现数据源名称并且未指定默认驱动程序以前这个程序是用着好好的,本次升级修改后测试发现这个问题,追根求源,原来本人是32位操作系统,现在装了win7
64位的操....
分类:
数据库 时间:
2014-05-26 08:21:50
阅读次数:
794
报错:Access restriction: The method
decodeBuffer(String) from the type CharacterDecoder is not accessible due to
restriction on required libraryAccess r...
分类:
数据库 时间:
2014-05-26 07:30:24
阅读次数:
279
在64位 Windows 7中水晶报表的错误:Crystal Report Error: Either
the Crystal Reports registy key permission are insufficient or the Crystal
Reports runtime is not ...
分类:
其他好文 时间:
2014-05-26 06:38:07
阅读次数:
219
#define stack_init_size 100
#define stackincrement 10
typedef int ElemType;
typedef int status;
const status error=0;
const status ok=1;
const status overflow=-2;
const int MAXSIZE = 100;
typedef st...
分类:
其他好文 时间:
2014-05-26 06:17:29
阅读次数:
243
质因数分解
/* 求质因数 */
#include
#include
int main()
{
int n,a=2;
printf("please input n:");
scanf("%d",&n);
if(n<=1)
{
printf("input error!\n");
return -1;
}
while(a*a < n)
{
while(n%a==0)
...
分类:
其他好文 时间:
2014-05-26 05:50:40
阅读次数:
279
收到消息某系统一个节点由于内存溢出而宕机,系统的中间件是weblogic,数据库的oracle。
1. 先用IBM HeapAnalyzer分析内存溢出时的dump文件,找到占用内存最多的请求,然后看代码。
2. 在走查代码发现,此类中的方法都特别简单,对单表的增删改查,有查询的地方都是非常简单,不会有操作大数据的情况,这样就排除了数据库方面的问题。
3...
分类:
编程语言 时间:
2014-05-26 04:54:58
阅读次数:
333
昨天编译一个小程序的时候,报了个错,或者说2个
1>uafxcw.lib(dllmodul.obj) : error LNK2005: _DllMain@12 已经在 LIBCMT.lib(dllmain.obj) 中定义
1>uafxcw.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete(void *)" (??3@...
分类:
其他好文 时间:
2014-05-26 03:18:48
阅读次数:
200
1.//下面写一下关于AFNetworking2.0的GET数据请求问题,刚开始的时候没有写下面标红的代码,所以导致有一个问题,错误显示如下:
Error: Error Domain=AFNetworkingErrorDomain Code=-1016 "Request failed: unacceptable content-type: text/html" UserInfo=0x913a...
分类:
Web程序 时间:
2014-05-24 23:45:53
阅读次数:
365
作为新入职的菜鸟,过去的这半个月忙的是焦头烂额的,碰到了许多问题,但都没时间好好记下来。趁着今天这点时间,记录一下有关repo使用过程中碰到的一些问题及解决办法吧!
一、repo sync时出现 error: .repo/manifests/: contains uncommitted changes 这样的错误提示。从字面意思上看是代码有改动但是没有commit。但好几次我查看了代码,把改动通...
分类:
其他好文 时间:
2014-05-24 17:56:58
阅读次数:
451