代码改变世界

随笔档案-2007年01月

SQL Server 2000 sp4 与数据链接池

2007-01-28 15:43 by 晓风残月, 1098 阅读, 收藏, 编辑
摘要: 今天远程连接一台xp sp2上的SQL,报错信息: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool si... 阅读全文

Invalid attempt to read when no data is present.

2007-01-24 17:31 by 晓风残月, 3125 阅读, 收藏, 编辑
摘要: 今天在使用SqlDataReader 读取记录时,竟然出现了如下异常: Invalid attempt to read when no data is present. Description: An unhandled exception occurred during the execution of the current web request. Please review the sta... 阅读全文

flash 会影响 asp.net2's TreeView&Menu 的正常运行

2007-01-17 01:23 by 晓风残月, 310 阅读, 收藏, 编辑
摘要: 刚装完系统忽然发现,项目中原来运行的非常好的 Menu (asp.net2.0自带那个)竟然无法正常显示了,只显示了第一层菜单,鼠标移上去并没有出现二级菜单,也没有报教本错误,重新建立一个包含Menu的页面还是可以正常显示的,试着添加一个TreeView到出错的那个页面,也无法显示,但是TreeView会报教本错误。而且使用Mathon竟然没有问题,同事电脑上的IE浏览也没有问题。百思不得其界,左... 阅读全文

无法注册 msvcr80.dll:An application has made an attempt to load the C runtime library incorrectly

2007-01-16 16:51 by 晓风残月, 6513 阅读, 收藏, 编辑
摘要: 今天用VC2005写了个Activex,测试部署到其他机器由于目标机器缺少msvcr80.dll和mfc80u.dll,可定是无法运行,然后就想手动注册安装msvcr80.dll和mfc80u.dll,结果两个都弹出一样的错误信息:baidu 了一下,终于找到一个同样错误网友:http://bbs.pediy.com/showthread.php?threadid=27494不过,也是从一个德国的... 阅读全文

安装SQL报“挂起的文件操作”

2007-01-09 23:56 by 晓风残月, 731 阅读, 收藏, 编辑
摘要: 如果在安装SQL Server之前装过其他软件,常常报:“以前的某个程序安装已在安装计算机上创建挂起的文件操作。运行安装程序之前必须重新启动计算机。”即使重启N次也不行,解决方法:开始》运行》regedt32 找到HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager,HKEY_LOCAL_MACHINE\SYSTEM... 阅读全文