Thursday, May 09, 2013

Permission problem

When Try Qwinsta to Windows Server 2008 R2, it Give error 5. Which not happen to others server.
After some Study, Can try the command below.

Psexec.exe \\123.123.123.123 qwinsta

OR

runas /netonly /user:administrator "qwinsta /server:123.123.123.123" 
* which will prompt for the server password.

And Windows Server 2008 not allow to remote to physical console anymore, no wonder how u connect it will not connect to session 0 (which reservce for service used).
But for your infor, for some of the purpose, you might need to use /admin (or /console) for the connection.

Wednesday, October 10, 2012

Interaction with SQL Studio

This is actually not recommend since SQL is not for user interaction purpose.
and my stupid way which actually is IN PROCESSING when waiting for user to feedback.
Here you go. (the example)
You need 2 interface.

first screen:
create table T1(a varchar(1))

-- run this 1 as main
declare @answer varchar(250)
while @answer is null
print 'Enter Yes or No'
select @answer=a from T1
if (select a from T1)='N'  and (select a from T1) is not null
print 'You reject'
else
print 'You Accept'
waitfor delay '0:0:5'
End

-- get interaction in second screen
second screen:
when after run the main script.
every 5 second it will track the table T1.
So you can insert 'N' into T1 (start with empty table) as reject.
else insert other as accept.



Wednesday, July 25, 2012

WebUIValidation.js Problem

IF you try re-register or copy the file with aspnet_regiis -c or other way not work.
Can try to change APP POOL for that website, when prompt for virtual direcorty just select the related row.
APPLY and OK. done.
Try again after restart the App Pool. Success, no more WebUIValidation.js Prompting.

Tuesday, July 17, 2012

Not too sure why sudden cant show the properties of IIS (when right click).
It stuck at process REGASM.EXE, after i kill it then the properties able to show (pop up).
Maybe after I update windows (with restart).

Situation, maybe will cause to NET1.1 in windows 2003 64bit.
but i fix it with double click to run the REGASM.EXE at the path ...NET\Framework\v1.1.4322\.

Tuesday, July 03, 2012

Wrapper log size grow like crazy


Weird Case happen like this:
Wrapper (wrapper.log) file size is grow and over limit.
Suspect something happen when turn from wrapper.log to wrapper.log.1. cause after wrapper.log.1 missing, then wrapper.log size keep grow.

File size limit: 124K
Max log file: 20
wrapper.exe: 3.0.5 version

ASPNET1.1 on w2k3 64bit

There is 1 thing need to check when aspnet 1.1 not work in windows2003 64bit after enable and setting.
go to:
website -> properties ->home directory tab -> configuration -> application extensions:
change aspx (or those extension that use 1.1) to isapi:1.1

Tuesday, May 22, 2012

After 1 days of checking, finally I got Y the RowCounts from sql profiler got problem. it cause by AUTO STATISTICS. here is some pic of the problem.

Friday, March 23, 2012

别想着做好每一件事,要想每一件事做好

Tuesday, October 18, 2011

Just some error.


From site: http://sinchew.com.my/taxonomy/term/2?page=2
Dangerours Converter.

Friday, August 26, 2011

OpenVPN fail

After a period didnt use OpenVPN, I come back for it again.
at start i try for start the GUI and connect. but keep fail for errcode=31
and show some permission message. I check around the internal to solve it, but still fail.
i thought it was cause by
- i add domain to server
- didnt update virtualbox (i thought the version not sync to host)
- windows update

but i keep on checking on permission.
and check on openvpn server.

what i do:
- stop star service
- restart server and client
- reinstall ( and with ltest version)

but still fail. then i try on another cert which give me another error. (but both cert is same setting)
make me blur why same setting may cause different error.
finally, i get it.
i start service from clinet side which shouldnt start.
cause once u start the service, it will use up TAP network, and GUI not able to use it.
Actaully not openvpn fail, Is me fail.

Saturday, July 09, 2011

领悟

今天我领悟到一句话: 老虎不发威,你当我老婆!

Friday, July 08, 2011

用脑说话和用嘴说话

老婆打电话和老爷拿钱-
case1:
老婆:爸爸,你可以寄点钱给老公吗?要给孩子学费,因为老公没给我钱。
老爷:#@#$%^&*I(*&^$!!

case2:
老婆:爸爸,你可寄点钱吗?因为我们这边不够给孩子学费了。

case1 or case2?

Thursday, April 21, 2011

老婆的时间

老婆如果9点醒,糟了,迟了,赶时间,这边喊,那边叫。
所以老婆8.30醒,糟了,迟了,赶时间,这边喊,那边叫。
老婆就早点8点醒,糟了,迟了,赶时间,这边喊,那边叫。
到底要几早醒才不赶时间?
今天12点醒,没赶时间了。因为没做工。

Saturday, March 19, 2011

Time Square Soju

last time go to penang time square soju.
once my son sit down and tell the waiter that give on the menu: I WANT 面.
then the waiter showed dont know.
and we all laugh.
but the service they very disappointed me (and family). they hire many foreigner but can not take order.
only a fat guy (that can take order) is very very very busy and no time to service us.
but those waiter (foreginer that can not take order) they are very free after pass us the menu.

managment not good.

Latitude c840

Help people to format Dell latitude c840 laptop.
his screen is flip and flick. maybe is hardware is "old".
after setup of winXP. just install the DELL driver he have in drive D.
found that sound driver not work properly. (code:10)
it seem not compatible with BIOS. so i downgrade the BIOS from A13 to A12. but is same.
try use other version of driver and setup to Win7. but same.
check out and try on ubuntu. it work.
so the sound driver(crystal WDM) fuck the microsoft(windows) and Dell(laptop).
Driver may FUCK dell laptop and cause this problem once awhile. but no statistic on it.
------------------conclusion:
setup to winXP.
try to uninstall and reinstall back the sound driver EVERY TIME after boot. it may worked.

Monday, March 07, 2011

研究

有專家研究有甚麼方法可以吃甜時不用我們身上的胰岛素,好讓我們可以吃些甜的?
至少不會拿麼快給用完阿.
is any professional study about the way for body to dilute the SUGAR without use any insulin from our body? and there is no influenced (harm) our body.

Tuesday, February 15, 2011

只是喝茶

為什麼警察會稱為警察.
有個公安知道不可以吃咖啡錢.
當有人向他給咖啡錢時, 他說:"僅茶".
人就以為公安也稱為警察.

Sunday, January 09, 2011

2011的书包

协和小学:
我去接女儿。
好难认哦,各个都是粉红色书包。
差不多50%粉红,接着是蓝和青(Ben 10), 然后是黑黄等等。
你的学校呢?

Wednesday, December 29, 2010

puki

my manager's son:
when my manager's son want his mommy start the car's engine. he will say puki puki...
he actually say PUT KEY.

Saturday, December 18, 2010

问了就放心了

有天,去夜市。
走了一轮,在菠萝蜜档前。看着“已”包好的菠萝蜜,想买两包。
女客:一包多少钱?
男老板:一包5元。
女客:给我一包(因为贵)。
女客多问了一句:是不是现开的。
男老板:是,是现开的。 (都已包好还睁着眼睛说是现开的)
女客接过了菠萝蜜,给了钱。。。就回了。