2009-09-20

Usering OpenID as login ID

1. My blogger OpenID:
brothertu.blogspot.com

2. To allow OpenID users to post comments on your blog (for blogger only):
http://www.google.com/support/blogger/bin/answer.py?hl=en&answer=83064
Go to Settings->Comments tab and select "Registered Users" or "Anyone" for the "Who Can Comment" option



Reference reading:

Blogger Becomes an OpenID Provider
http://googlesystem.blogspot.com/2008/01/blogger-becomes-openid-provider.html

Federated Login for Google Account Users
http://code.google.com/intl/zh-CN/apis/accounts/docs/OpenID.html


OpenID 登陆的代码,支持Google 、Yahoo 、Windows Live ID,带演示
http://wangblog.org/2009/05/openid-google-yahoo-windows-live-id.html


Windows Live ID当作OpenID使用
http://wangblog.org/2009/04/windows-live-idopenid.html

Google的OpenID
http://wangblog.org/2009/04/googleopenid.html

2009-09-06

RSOP.MSC error: 64 help string specified more than once

Problem:
Got following errors when ran rsop.msc on a XP machine:
1. The latest versions of the adm files below are not available

2. The following error occurred in c:\windows\inf\aer_1044.amd on line 189:
error 64 help string specified more than once
The file can not be loaded.

Resolution:
Actually that's a bug: 574387 - DTS: Installation of .NET Framework causes Multi Language
Administrative Templates to display in RSOP console, you can call Microsoft to check it..
Also, you can follow steps below to resolve your issue:

Since there is no country specific version of .Net Framework 2.0 it
install the adm files for all of the languages supported. In order to only see the
results for US English remove the following adm files.
Search for the files with .adm extension, you may get the result as below.
AER_1025.ADM
AER_1028.ADM
AER_1029.ADM
AER_1030.ADM
AER_1031.ADM
AER_1032.ADM
AER_1035.ADM
AER_1036.ADM
AER_1037.ADM
AER_1038.ADM
AER_1040.ADM
AER_1041.ADM
AER_1042.ADM
AER_1043.ADM
AER_1044.ADM
AER_1045.ADM
AER_1046.ADM
AER_1049.ADM
AER_1053.ADM
AER_1055.ADM
AER_2052.ADM
AER_2070.ADM
AER_3076.ADM
AER_3082.ADM
The only AER_*.adm that needs to be there is AER_1033.adm. The 1033 designation is
the US country code.
So only keep AER_1033.adm file and delete rest of the files, close and reopen
RSOP.


additional information:
Have a look at %windir%\debug\usermode\userenv.log for more info.
If there's not enough info. in that log, enable verbose logging by settingthe following registry value to 30002 (Hex).
HKLM\ Software\ Microsoft\ Windows NT\ CurrentVersion\ Winlogon\UserEnvDebugLevel

Reference reading:
http://www.experts-exchange.com/Software/Server_Software/File_Servers/Active_Directory/Q_23762177.html

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/2003_Server/Q_22628560.html

2009-09-04

How can a VPN user get the group policy remotely

Problem:
When connecting office network from home via VPN, the user is not getting group policy applied on his home machine even it's a member of office domain.

Scenarios:

Remote VPN (PPTP, L2TP)
If the tunnel is not available at the time of logon the GP will not be applied. i.e. if it is a VPN connection that you are establishing after the remote user logs on to the PC then it is not possible to apply group policies, unless cached from a previous connection, on the LAN.

In order for the client to get the Group Policy, Winlogon has to get invoked for the logon request and this only happens with the "Logon with Dial-Up Networking". You must use windows VPN client in this case.

Site to site VPN:
If it is a site to site VPN connection there should be no problem, though certain policy settings need to be applied from group policy to enable slow link over VPN.

http://technet.microsoft.com/en-us/library/cc759191(WS.10).aspx

2009-09-03

Detecting Visual Studio 2008 Service Pack 1

Detecting Visual Studio 2008 Service Pack 1
http://blogs.msdn.com/heaths/archive/2009/05/29/detecting-visual-studio-2008-service-pack-1.aspx

Detecting Visual Studio 2005 Service Pack 1
http://blogs.msdn.com/heaths/archive/2006/12/17/detecting-visual-studio-2005-service-pack-1.aspx

windows user cannot access sql server problem

Problem:
We are running SQL Server 2005 on a Windows 2008 server and I have a situation where some of my users are unable to connect to the SQL Server unless they are a member of the sysadmin group.
Any attempts by these users to login result in a login failed,
Error: 18456, Severity: 14, State: 11
Which indicates that it is a valid user who does not have access to this SQL Server.

Solution 1:
Add user to local admin group, then use "run as administrator" to start SQL management studio. Use can access sql server database.

solution 2:
Enabling the TSQL TCP endpoint for the 'public' role fixed the problem.SQL management studio -> server properties-> permission->public->enable "connectSQL"

Reference reading
Users are unable to connect to SQL Server 2005 unless they are in the sysadmin group
http://social.msdn.microsoft.com/Forums/en-US/sqlsecurity/thread/309236fa-d86d-4294-a156-729e2c28b63f

Understanding "login failed" (Error 18456) error messages in SQL Server 2005
http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx

Troubleshooting: Login Failed for User 'x'
http://msdn.microsoft.com/en-us/library/ms366351.aspx

2009-09-02

windows DNS problem and troubleshooting

netdiag errors:
no dns servers have the dns records for this dc registered

failed to enumerate dcs by using the browser


cannot find a primary authoritative dns server

redir and browser test failed

netbt name test failed, at least one of your netbt names is not registered properly



10 DNS Errors That Will Kill Your Network
http://rcpmag.com/Articles/2004/05/01/10-DNS-Errors-That-Will-Kill-Your-Network.aspx?Page=1

DNS FAILURE
http://rcpmag.com/Articles/2004/05/01/10-DNS-Errors-That-Will-Kill-Your-Network.aspx?Page=2


http://www.chicagotech.net/dnstroubleshooting.htm#How to ensure that DNS is registering the Active Directory DNS records

netbt name test failed

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/2003_Server/Q_24281337.html

Going to provide you with a few links about DNS also for you to check out.

http://www.petri.co.il/dns.htm
http://www.petri.co.il/how_to_install_active_directory_on_windows_2003.htm
http://www.microsoft.com/technet/network/support/trblshoot/dnstshot.mspx
http://support.microsoft.com/kb/291382

Some are just the basics, but regardless if those basics are not setup correctly there are going to be problems for sure.



http://www.tomshardware.com/forum/195864-46-cannot-find-primary-authoritative-server-single

http://www.experts-exchange.com/Networking/Windows_Networking/Q_21577682.html

2009-09-01

backupexec "server paused" problem

Problem:
When i was trying to do something like backup, inventoty, import etc, the job just pending there and the job status shows " server pause"at the device staus, everything looks o.k.

Solution:
To remove the "server paused" simply do the following:
1. Select "Devices" tab in Backup Exec
2. Right-click on the server name and select "Paused" to "un-pause" the server.
Everything should now be back to "normal".