c# 设计器
摘要:/Files/Kingly/SharpFormEditorDemo.zip
阅读全文
posted @
2011-03-16 01:22
Kingly
阅读(262)
推荐(0)
根据命名空间和类名创建实例
摘要://DataAccess.Ioc.cs using System;using System.Collections;using System.Collections.Generic;using System.Text;using System.Configuration;using System.R
阅读全文
posted @
2010-04-21 23:52
Kingly
阅读(504)
推荐(0)
The model item passed into the dictionary is of type 'System.Collections.Generic.List`1[BMS.DataAccess.Models.ServiceTyp
摘要:之前调试还好好的,后来数据表加了几个字段就报这个错误,不过后来终于解决了,原因是增加的某个字段值为null,导致MVC的View识别不了,源代码<%=m.Description.Replace("$", "<br/>")%> 改成如下就可以了 <%=(string.IsNullOrEmpty(m.D
阅读全文
posted @
2010-01-14 10:11
Kingly
阅读(2423)
推荐(1)
WCF分布式开发常见错误(20):TimeoutException was unhandled
摘要: 在进行WCF应用程序开发的时候,如果大量客户端发送请求到WCF服务,往往会出现这个异常,超时。WCF服务响应超时。没有在指定的时间00:01:00内打开操作,分配给这个操作的时间或许只是超时时间的一部分。 错误信息如下: The open operation did not complete within the allotted ...
阅读全文
posted @
2009-07-23 14:43
Kingly
阅读(820)
推荐(0)
WCF The remote server returned an error: (400) Bad Request
摘要:如果是小数据量调用WCF服务不会出现,但如果大量数据时会出现这个错误。花了几个小时的时间才知道WCF服务层也需要bindingConfiguration属性,修改服务层的web.configweb.config==========<services><service name="DocCube.BusinessLogic.DocumentManager"behaviorConfi...
阅读全文
posted @
2009-05-12 16:41
Kingly
阅读(2993)
推荐(0)
The caller was not authenticated by the service
摘要:调用WCF时,出现下面的错误: System.ServiceModel.Security.SecurityNegotiationException : The caller was not authenticated by the service. System.ServiceModel.Fault
阅读全文
posted @
2009-03-16 17:58
Kingly
阅读(675)
推荐(0)