摘要:
生成时反复弹出错误如下:The following entity attribute does not have unique code初时以为是Tools->model options->去掉Unique Code里的勾但反复测试均不可以,百度无果.后发现应该是去掉Tools->check model->去掉Entity Attribute name uniqeness 以及 Entity Attribute code uniqeness 的勾截个图吧,方便各位 阅读全文
摘要:
A potentially dangerous Request.Form value was detected from the client 针对这个问题,以前在.net Framework2.0里,只要修改<pages validateRequest="false" />就可以但是现在在4.0里,需要修改The request validation feature in ASP.NET provides a certain level of default protection against cross-site scripting (XSS) attac 阅读全文
摘要:
如何将数据库还原至任意位置1、执行 restore filelistonly FROM disk='E:\ChinaValue_db_200612250200.BAK'获得当前备份文件的逻辑名 2、使用windows账户或者sa登陆执行以下SQL语句: restore DATABASE [ChinaValue] FROM disk='E:\ChinaValue_db_200612250200.BAK' WITH file=1, move 'ChinaValueTemp' TO 'F:\Server\SqlData\MSSQL\Data\C 阅读全文