种种原因,暂时搁浅了blog的内容,以后逐步充实内容。
posted @ 2008-08-12 09:48 work 阅读(8) | 评论 (0)编辑

USING EXTPWD
------------
Before using EXTPWD, you should copy the EXTPWD program to the Notes
executable directory, which is the directory containing the Notes program
files and libraries. The name of the EXTPWD program DLL or shared library
depends on the platform, as follows:

        nextpwd.dll        32-bit Windows
 libextpsw.so       Solaris SPARC and Intel Editions

You also need to instruct Notes to load the EXTPWD program by adding one
of the following entries to notes.ini, the Notes environment file (do this
before starting Notes):

 PC platforms:      EXTMGR_ADDINS=extpwd
 Solaris:           EXTMGR_ADDINS=libextpsw.so

When Notes requires a password, it will read the password from a text file
called password.txt in the Notes data directory.  Be sure to create this
file in the Notes data directory before using EXTPWD.

Note: The main entry point in the EXTPWD program is called by Notes when
      Notes starts, and should NOT be called from your own application code.

You can test that the EXTPWD is working correctly by starting Notes after
performing the steps described above.  You should find that you are not
prompted for your password in circumstances where you would have been
prompted without using EXTPWD, for example when first accessing a remote
database.

Once you establish that your Notes client no longer prompts you for a
password, you should be able to run any Notes C or C++ API application
without being prompted for a password.

As mentioned above, keeping an unencrypted password in a text file is not
recommended for a real application, because it makes the password available
to anyone with access to the file.

 

这是IBM官方提供的解决方案,我将提供给大家nextpwd.dll解决这个问题。

 

The DLL:http://files.cnblogs.com/al-zerone/notesnopass.zip

posted @ 2008-08-12 09:44 work 阅读(40) | 评论 (0)编辑

A. Windows server 2008 微软发布了相当长一段时间了,一直没有机会试用,有幸因工作需要进行研究配置,无奈本人技术有限,在研究配置的同时写下相关文档,供新手参考使用。

B. (本人研究配置的只于本人工作需要有关,其他的一些相关研究大家可以email于我共同探讨)

C. 试用安装前提:

申请微软windows server 2008 试用key---只要具有微软live ID即可,在微软官方网站下载使用,至于网上很多经过修改的版本建议大家三思后再下载,如果你只是简单的使用体验那无妨,如果作为服务器进行配置试用,还是官方的好些。

至于安装给大家提个醒---第一次安装的时候,选择language(不幸选择了english@.@!!!锻炼英语。。。),在以后的使用中肯定需要安装一些中文软件进行支持,到时还得进行调试并且会比较麻烦,因此建议大家直接安装选择chinese(PRC)。

(另外刚开始安装不需要输入key进行激活,默认的是3天试用,你申请的key可以稍后激活,下文将给出激活位置。)

D.安装过程相当简单,相当于无人安装,以前xp 03系列的安装选择regional...都在最开始配置完毕了,并且2008支持几乎大部分的驱动,因此不必担心驱动的问题。

下面是安装好的logon界面:

E. 登陆界面后,熟悉03的都知道会弹出一个服务器的配置界面,08的同样具备,不过08更为人性化和专业化,具备了set time zone;configure networking;Provide....(下图)

这个界面进行简单的配置即可正常使用Server 2008,虽然都是英文但是都非常简单,相信大家多几次click就ok了。

F. 下面将详细介绍 Configure networking,Add roles,Add features,Enable Remote Desktop,以及Configure Windows Firewall

Configure networking—相信一定有人说网络配置就不用说了吧。。。用过操作系统的都知道。呵呵,话是不错,不过这里不再介绍ipv4的配置,即正常的ip配置,但是还是需要配置进行连网的,因为server 2008已经内置并公开支持ipv6,默认是已经安装的,因此介绍ipv6的配置。

这个的前提是ipv4已经配置完毕,而对于有些需要支持ipv6的局域网,最最简单的配置。。。(别板砖我,我说了是对于新手而言的。)

如上图设置,address--fec0:aaaa:aaaa:aaaa:aaaa:aaaa:aaaa:aaa1

同理局域网内的其他机器相应的为...:aaa2;...:aaa3注意是16进制。

(请关注陆续系列,希望大家共同探讨,email,workwang@gmail.com
另召集系统网络安全高手,莫非阁下是传说中的红客。。。email我吧,学习交流合作。

posted @ 2008-03-10 14:44 work 阅读(324) | 评论 (2)编辑

当我 create a user from the web site administration tool provided by Asp.NET.时抛出异常:
The following message may help in diagnosing the problem: Exception has been
thrown by the target of an invocation. at
System.RuntimeMethodHandle._InvokeMethodFast(Objec t target, Object[]
arguments, SignatureStruct& sig, MethodAttributes methodAttributes,
RuntimeTypeHandle typeOwner) at
System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[]
arguments, Signature sig, MethodAttributes methodAttributes,
RuntimeTypeHandle typeOwner) at
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean
skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object
obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo
culture) at
System.Web.Administration.WebAdminMembershipProvid er.CallWebAdminMembershipProviderHelperMethodOutPa rams(String
methodName, Object[] parameters, Type[] paramTypes) at
System.Web.Administration.WebAdminMembershipProvid er.CreateUser(String
username, String password, String email, String passwordQuestion, String
passwordAnswer, Boolean isApproved, Object providerUserKey,
……………………

去google 了一下没有什么结果,不过在一个英文站点发现有人说关于数据库lock的可能性,于是发现自己使用的是一个示例站点,里面已经存在了ASPNETDB,尝试着删除这个数据库并重新建立成员即可。

This is the answer from "mlotfi"   :

If you are copying the project from another computer (downloaded), to solve the problem just delete ASPNETDB  from App_data, and go to website--> ASP.NET Configuration and add a new user.
posted @ 2008-03-05 09:34 work 阅读(40) | 评论 (0)编辑