摘要:
在AD编程的时候遇到了以下几个问题,记录下来:在VS中运行没有问题,但是当单独运行Console Application的时候,Domain.GetCurrentDoamin()总报ComException:Retrieving the COM class factory for component with CLSID {080D0D78-F421-11D0-A36E-00C04FB950DC} failed due to the following error: 800401f9.问题还没有确定.偶尔在VS下运行也会出现这个错误,但是重新启动VS以后就没有这个问题了。问题还没有确定。在创建 阅读全文
阅读排行榜
Hundreds of errors when I change Code Generation Strategy to Default in EntityDataModel.edmx - VS2012
2013-04-24 01:15 by 雪中风筝, 237 阅读, 收藏,
摘要:
再看Programming Entity Framework 2th 在做书中的例子的时候,遇到了一个问题,查看自动生成的代码的时候,需要把代码生成策略从none 修改为defalut,但是修改完成以后重新编译程序的时候出现了很多错了,大概看了下,发现designer.cs中生成了代码,另外在项目目录下同时也生成了很多数据库表对应的Class,查了下原因及解决方案:When you change the Code GenerationStrategy to Default from None you are using the ObjectContext type. This type cre 阅读全文
浙公网安备 33010602011771号