11 2013 档案
摘要:错误提示:无法激活服务,因为它不支持 ASP.NET 兼容性。已为此应用程序启用了 ASP.NET 兼容性。请在 web.config 中关闭 ASP.NET 兼容性模式或将 AspNetCompatibilityRequirements 属性添加到服务类型且同时将 RequirementsMode 设置为“Allowed”或“Required”。解决办法:修改相应 服务.svc.csusing System.ServiceModel.Activation ;[AspNetComp开发错误处理记录(无法激活服务,因为它不支持 ASP.NET 兼容性)
阅读全文
摘要:需求是:使用post方式传入Controller一个id,然后返回给前台一个Json。突然就报了这个错误,折腾了俩小时,发现是linq to sql 的语法错了红线地方是正确写法是 where obj.pid==pid记录一下,linq to sql 的语法问题啊。
阅读全文