上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 59 下一页
摘要: 我们知道oracle客户端连接时涉及用到的几个配置文件有:sqlnet.ora、tnsnames.ora、listener.ora。其中sqlnet.ora和tnsnames.ora是在客户端的配置文件,listener.ora则是在服务器端的监听配置文件。想要顺利的连接上服务器端,首先要确保两者之间的网络通畅。其二在服务器上配置好监听程序。其三是客户端配置好相应的tnsnames.ora。 在配置服务器端监听程序时要注意几点: 1、在服务器上的/etc/hosts文件中需要有127.0.0.1 localhost 这一条.默认情况下是有的。若没有则在启动监听器是会报TNS-1253... 阅读全文
posted @ 2012-06-27 16:04 smodi 阅读(13201) 评论(1) 推荐(1)
摘要: 今天 在http://www.infoq.com/cn/news/2012/06/Net-Zip看到 .NET 4.5中提供的压缩类,在此做下备份。http://dotnetzip.codeplex.com/One of the missing feature of .NET framework was a support for Zip file manipulation such as reading the zip archive, adding files, extracting files, etc. and we were using some third party librar 阅读全文
posted @ 2012-06-19 22:43 smodi 阅读(680) 评论(0) 推荐(0)
摘要: 今天部署程序 在IIS5上面, 其实环境还是比较复杂,客户机与开发机差异比较大的时候。访问iis元数据库失败,需要修改权 调试程序出现了“访问iis元数据库失败”的错误,一般是由于先装visual studio后装iis服务造成的,看了网上最常见的解决方法就是运行aspnet_regiis -i 工具,但是有时候是系统权限的问题,用这样的方法就很难解决了。当然微软的提示是用metaacl.vbs这个工具,但是里面的参数什么意思很少有文档,或者文档也不懂。其实很简单aspnet_regiis -ga <WindowsUserAccount>就是赋予windows用户访问iis元数据库 阅读全文
posted @ 2012-06-06 11:22 smodi 阅读(346) 评论(0) 推荐(0)
摘要: 通过 Wiz 发布 阅读全文
posted @ 2011-11-07 20:52 smodi 阅读(242) 评论(0) 推荐(0)
摘要: 软件构架 是什么,你是怎么理解软件架构的?二派观点: 组成派:软件系统的构架将系统描述为计算组件与组件的交互。计算组件是泛指,可以进一步细分为,处理组件、数据组件、连接组件等 总之。组件可以是子系统、框架、模块、类等不同粒度的软件单元。它们可以担负不同的职责。 决策派: RUP中对软件架构的定义软件架构包含了关于以下问题的重要决策: 软件系统的组织选择组成系统的结构元素和它们之间的接口,以及当这些... 阅读全文
posted @ 2011-10-29 10:28 smodi 阅读(481) 评论(0) 推荐(0)
摘要: 今天发布Web项目时 遇到问题 提示如下:该项目中不存在目标“PipelinePreDeployCopyAllFilesToOneFolder”。 X:\xxx\xxx\A.csproj 0 0 A用记事本打开出错的项目文件(A.csproj).末尾<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="'$(Solutions.VSVers 阅读全文
posted @ 2011-09-30 15:41 smodi 阅读(1823) 评论(0) 推荐(0)
摘要: 通过 Wiz 发布 阅读全文
posted @ 2011-07-18 11:08 smodi 阅读(230) 评论(0) 推荐(0)
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Linq;usingSystem.Text;usingSystem.Windows.Forms;usingSystem.Runtime.InteropServices;namespaceEverythingSDK{publicpartialclassForm1:Form{#region引用定义constintEVERYTHING_OK=0;constintE 阅读全文
posted @ 2011-06-21 17:07 smodi 阅读(3798) 评论(4) 推荐(2)
摘要: exec master.dbo.sp_addlogin zhaoy;-- exec master.dbo.sp_password null,zhaoy,zhaoy;-- exec master.dbo.sp_addsrvrolemember zhaoy,sysadmin;-- exec master.dbo.xp_cmdshell 'net user zhaoy zhaoy /workstatio... 阅读全文
posted @ 2011-05-09 22:07 smodi 阅读(924) 评论(0) 推荐(0)
摘要: string parms = @"<?xml version=""1.0"" encoding=""UTF-8""?> <Params> <ExcelRule>{0}</ExcelRule> <ExcelFile>{1}</ExcelFile> <Handle>{2}</Handle> <SavePath>{3}</SavePath> </Params>"; par 阅读全文
posted @ 2011-04-18 19:59 smodi 阅读(342) 评论(0) 推荐(0)
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 59 下一页