上一页 1 2 3 4 5 6 7 8 9 10 ··· 30 下一页
摘要: Windows 2008 R2 安装配置Oracle 11g2 For Windows (x64)其中部分源自网上首先在官网下载oracle11G R2 并解压两个包,将win64_11gR2_database_2of2\database\stage\Components中的内容拷贝到win64_11gR2_database_1of2\database\stage\Components中然后点击win64_11gR2_database_1of2\database目录下的setup安装过程载入安装向导提供电子邮件接收安全问题的通知(可选)缺省选择安装数据库选择类别:服务器未配置群集,选择单实例安 阅读全文
posted @ 2012-11-12 11:22 cpcpc 阅读(12331) 评论(0) 推荐(0) 编辑
摘要: 1,现象我做了一个windows服务,为了以后部署方便,将其中容易发生变动的流程,做成了一个DLL插件A,然后在windows服务启动的时候启动加载。编程环境是在Windows2003服务器系统上,然后部署的系统是Windows 2008 R2。我的服务启动5秒钟后就自动停止了,并且try...catch不到任何异常。2,资料,以下来自微软技术资源库http://technet.microsoft.com/zh-cn/library/k7137bfe关于异常的疑难解答:System.BadImageFormatException,当 DLL 或可执行程序的文件映像无效时,BadImageFor 阅读全文
posted @ 2012-10-25 12:47 cpcpc 阅读(5033) 评论(0) 推荐(0) 编辑
摘要: System.InvalidOperationException: Unable to generate a temporary class无法生成临时类(result=1). error CS2001: Source file 'C:\Windows\TEMP\qdn330ew.0.cs; could not be found error CS2008: No inputs specifiedat System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompile 阅读全文
posted @ 2012-10-23 16:54 cpcpc 阅读(6221) 评论(0) 推荐(0) 编辑
摘要: 当Oracle运行在NTFS的分区上时,对于某些非administrator组的用户,ORACLE_HOME 目录是不可见的,而在windows server 2003下asp.net应用使用的帐户是netword service,因此无法创建oracle连接,只要重设一下ORACLE_HOME目录的权限就可以了。步骤如下:1、以管理员的用户登录;2、找到ORACLE_HOME文件夹(我的是C:\oracle\ora92),点右键,选属性--安全,在组或用户栏中选“Authenticated Users”,在下面权限列表中把“读取和运行”的权限去掉,再按应用;重新选上“读取和运行”权限,点击应 阅读全文
posted @ 2012-10-19 11:48 cpcpc 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 这是一篇翻译文章,原文说明了框架在开发过程中给使用带来的懒惰,不思维的弊病。文章来源:http://blog.8thlight.com/myles-megyesi/2012/09/12/why-frameworks.html转自:叶剑峰http://www.cnblogs.com/yjf512/archive/2012/09/25/2701992.html===========正文开始我们是由于效率和易用性的考虑才产生框架。框架能节省开发时间。框架强制使用公共的约定,因此它能有效地解决一些共有的问题,比如页面渲染,assert判断,安全或者应用配置等。这些共有的问题有个共通的特性是会在每个we 阅读全文
posted @ 2012-09-26 09:59 cpcpc 阅读(210) 评论(0) 推荐(0) 编辑
摘要: Button1的Click事件: protected void Button1_Click(object sender, EventArgs e) { this.GridView1.DataBind(); }然后修改前台页面,在UpdatePanel中添加如下的属性: <Triggers> <asp:AsyncPostBackTrigger ControlID="Button1" EventName="Click" /> </Triggers> 阅读全文
posted @ 2012-09-11 10:29 cpcpc 阅读(314) 评论(0) 推荐(0) 编辑
摘要: 设置:HttpCookie cookie = new HttpCookie("cookieName"); cookie.Value = "name1"HttpContext.Current.Response.Cookies.Add(cookie); 读取:HttpContext.Current.Request.Cookies["cookieName"].Value判断cookie是否存在:if(HttpContext.Current.Request.Cookies["cookieName"]==null){//do 阅读全文
posted @ 2012-09-10 17:44 cpcpc 阅读(75413) 评论(3) 推荐(10) 编辑
摘要: C#读取web.config文件信息web.config<?xml version="1.0"?><!-- 有关如何配置 ASP.NET 应用程序的详细信息,请访问 http://go.microsoft.com/fwlink/?LinkId=169433 --><configuration> <appSettings> <add key="name" value="name1"/> </appSettings></configuration>C#读取 阅读全文
posted @ 2012-09-10 17:38 cpcpc 阅读(19020) 评论(1) 推荐(2) 编辑
摘要: http://paranimage.com/23-javascript-popup-effects/ 阅读全文
posted @ 2012-09-06 23:05 cpcpc 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 最近研究了一下Microsoft.Visual.SourceSafe.2005,在使用的过程中碰见了一些问题,在这里做一下记录,为了自己以后使用,也为了方便大家,下载Microsoft.Visual.SourceSafe.2005,http://www.shangdu8.com/download/Microsoft.Visual.SourceSafe.2005_01.rar,这里介绍一个汉化的小工具,VSS.2005.LP.2052,将其安装在VSS2005的安装目录下即可。这里我不详细讲解VSS的安装过程,只讲解一下我在使用它时遇到的问题:“无法打开用户登录文件”原因是:在共享VSS工作文件 阅读全文
posted @ 2012-08-28 15:49 cpcpc 阅读(397) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 30 下一页