摘要: 问题: 原因: 我之前安装过SQL Server 2008 R2 CTP,并且安装的时候选择了所有的组件(包括AS,RS等),安装RS的时候会默认创建一个名为ReportServer的数据库,但是卸载的时候ReportServer的database 文件并没有清除掉,而我这次选的安装路径和上次是一样的。从而导致我再次安装SQL Server 2008 R2的检测通不过。解决方案 : 把没有删掉的数... 阅读全文
posted @ 2010-05-15 20:24 gracestoney 阅读(2251) 评论(3) 推荐(2) 编辑
摘要: [Issue]windows 7 下创建FileStream 时出现 UnauthorizedAccessException[Resolution]之前曾使用在其他盘创建一个文件夹,文件夹的security允许everyone来进行Full control,然后把文件创建在这个文件夹下面,即使是这样也仍然会出现UnauthorizedAccessException。最后的解决方案是把文件创建在Ap... 阅读全文
posted @ 2010-05-09 12:50 gracestoney 阅读(1127) 评论(2) 推荐(0) 编辑
摘要: Does the “LINQ to Objects” provider have built-in performance optimization?http://blogs.msdn.com/csharpfaq/archive/2009/01/26/does-the-linq-to-objects-provider-have-built-in-performance-op... 阅读全文
posted @ 2010-05-04 11:07 gracestoney 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 原文:How to use LINQ methods to compare objects of custom types http://blogs.msdn.com/csharpfaq/archive/2009/03/25/how-to-use-linq-methods-to-compare-objects-of-custom-types.aspx说明:纯属学习备忘之用。在操作对象集合上,LIN... 阅读全文
posted @ 2010-05-03 19:55 gracestoney 阅读(283) 评论(0) 推荐(1) 编辑
摘要: I searched online for this issue, many posts said it is caused by contact list issue and need to delete the contact list cache like "windows live contacts". I tried this and restart my computer, but u... 阅读全文
posted @ 2010-04-24 12:37 gracestoney 阅读(1425) 评论(0) 推荐(0) 编辑
摘要: 1. E-R图2. 如何确定实体3. Primay key4. Foreign key5. Relation- 多对多 阅读全文
posted @ 2010-03-11 23:53 gracestoney 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 纯粹记录之用。 1. NorthWind.mdf 数据库下载 : here,点击安装之后,可以在C:\SQL Server 2000 Sample Databases找到这些sample db,在Visual Studio中添加一个existing item就可以使用了。2. 在web.config中注册控件 :here3. URL Rewrite: http://blog.csdn.net/xj... 阅读全文
posted @ 2010-03-09 21:58 gracestoney 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 当在程序中使用COM组件的coclass时候,会遇到“CoClass 'xx' can be used only as one of its applicable interfaces”的错误。比如在使用Excel的时候使用如下的代码:using Excel = Microsoft.Office.Interop.Excel;Excel.Application excelAp... 阅读全文
posted @ 2010-01-20 14:32 gracestoney 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 【问题】用VS 2008 打开VS 2010 .NET 3.5 项目时会遇到如下的错误:提示说:你要打开的解决方案由更高版本的应用程序创建,不能打开。【解决】用Notepad打开你的*.sln文件,可以看到文件头部包含了VS2010的信息,相应地改成2008的即可=》 阅读全文
posted @ 2010-01-16 18:33 gracestoney 阅读(1643) 评论(0) 推荐(0) 编辑
摘要: 今早起来两个小发现。 1. Google docs支持上传任何文档包括pdf...Cool!立马上传了一个pdf体验下,其他格式的文档没试过,因为我比较关心pdf 来个截图 2. 发现Opera可以同步手机和PC的收藏夹,立马在PC和手机上装了Opera,导入IE 收藏夹,并用Opera link同步到我的手机里面去。很Cool,下次可以用手机打开常用链接啦。 阅读全文
posted @ 2010-01-16 11:48 gracestoney 阅读(341) 评论(0) 推荐(0) 编辑