Saturday, 31 January 2015

Error yang amik mase bermiggu utk solve...haha

ok... client aku ade complaint die ade dpt error on 1 of my cascading dropdown list and i find out it was because of the data has increased.. so it means my web service or json or watever its cannot handle the large data for the cascading dropdown list...

So aku google la as always... tp sume suggestion yg aku try, sume x jalan...most of suggestion suh aku increased length of maxJsonLength dekat web.config... this is the code...

>system.web.extensions>
>scripting>
>webServices>
>jsonSerialization maxJsonLength="50000000"/>
>/webServices>
>/scripting>
>/system.web.extensions>


tp bila tukar pun still error jugak..macam x function jer..sengal giler!!!

berminggu gakla xsolve bende nih...aku bosan giler...

so aku solve error lain dulu...bila come back to this error aku still stuck giler...da suh team mate tgkkn pun die xleh solve...plus die pun ade lots of projects to handle currently...so die suh aku tukar manually...giler nk tukar manually...lg susah aku rase...n die akan jd slow...user mane suke bende slow2 nih..

but now, by hook or by crook i have to solve it as my manager want the "Work Order" yg register dkt iSi7 to be signed and verified by client...mcm nk pecah pale aku carik solution...

luckily i stumble into this website . so when i applied this line of code dekat web service page tu, wallaa error solve. Yeay!!!... im a happy girl in the world...ya i know its lame...kahkahkah...tp pedulik ape aku...ahhahha

owhhh...below are the lines of code that i applied.

String confString = HttpContext.Current.Request.ApplicationPath.ToString(); Configuration conf = WebConfigurationManager.OpenWebConfiguration(confString); ScriptingJsonSerializationSection section = (ScriptingJsonSerializationSection)conf.GetSection("system.web.extensions/scripting/webServices/jsonSerialization"); section.MaxJsonLength = Int32.MaxValue; conf.Save();


Basically, above code die akan resetting blk maxJsonLength tu kepada max value of integer which is 2147483647 (2 GB).

Then, as usual, lps dpt solve error aku akan wat housekeeping..remove sume trial n error aku wat utk solve the error tuh sume yg xjadi/xjln...then baru aku find out that yg aku ubah maxJsonLength tu rupenyer aku ubah salah file..duhhhhhh...i felt so stupid...but the default is at the web service web.config bukannyer dekat connection web.config...duhhhh lg skali...geramnyer...

so i remove the resetting maxJsonLength code tu and keep the proper setting for maxJsonLength dekat webconfig jer...as for me its better and proper...but i just comment jer line coding tu utk future reference...hehe..

Anyway, its a good finding tough...so im decide to put it in my dusty blog as reminder and as reference also...haha....

that's all folks...till we meet again my blog...have a nice day...daaa

Assalamualaikum..

Friday, 21 September 2012

Hari sengal di ofis...

Hari ni mmg hari sengal aku kt ofis...email dr manager aku si S tuh telah membuat aku murung n rs useless...waaaaa Smlm ade meeting project progress..manager aku si S tye pasal email integration aku tuh da siap ke belom...so I said blom siap...then die suh demo ape yg aku da buat...1st aku buat ade pop up utk user key in email n password...then die xnk pop up sbb system tu is one time login je...so xnk user login byk2 kali...then die ade ckp suh refer a guy ni kt JB sbb die ade buat email integration gak...but then smlm mse aku email die soklan aku tuh da slh...aku tye cmner die login email...bknnye cmne die buat integration email...tp sbb meeting continue smp kul 6 da tlmbtla nk btlkn...so arinih...tyela blk btl2...smp ke ptg die xreply2...kol2 rupenyer die cuti or mc ke ape xtaula...sbb mse 1st kol die kate die kt clinic suh kol blk...da kul 5 aku kol blk...tye org tuh die xde buat ape2 email integration pun...so reportla blk kt manager aku tuh...pastuh die reply die kate 'I said study the webmail module available in siteforum system.Tq' Perghh menusuk kalbu rs...walaupun ayat die pendek je...ape yg aku melamun smlm pun xtaula...tp amik minute meeting...tp mslahnye aku punye supervisor system analyst si A tuh pun bpikiran yg same ngn aku...sbb die yg confirmkn suh tye psl email integration tu kt guys kt JB tuh...so bkn aku sorg la yg slh phm kan...tp still terase mcm aku ni bodoh sgt...waaaa...sedih...mst die rs cam, eh minah ni aku ckp punyela pjg lebar smlm die bole slh lg...berangan la tuh...waaa...malu...aku xtau nk reply ape... Tanye si hensem Af plak...die ckp manager aku tu sbnrnye suh wat login 1 time only tuh utk email...bkn pegi tye kt hanif psl email integration tu..tp aku still xphm kenape die suh aku tye si hanif tu at the 1st place klau x suh aku tye psl system yg si hanif tu buat...n rsnyer bkn aku sorg yg slhkan sbb si ambok pun were thinking the same thing as what I thought si sam tuh suh aku buat which is pegi tye si hanif tu mcm mne die buat email integration tu..cmne die prompt user utk key in email n password tu...everytime suh key in ke 1 time key in jer...waaa...sedih...xtau cmne nk ilangkan kemurungan ini...geram pun ade gak nih...alamak da tertulis name btl...kiki...mls nk edit bole x... :P Eh da xmurungla...hahhaa...okeh...nk dinner...bye3...

Sunday, 2 September 2012

kerje giler

Mlm ni aku buat keje giler... Aku setuju nk jmp dak ym jab lg... Tp skrg aku cam ragu2 plak... Nk cancel tp aku xde no fon die plak...aku je yg bg no fon aku... Pandai kan aku...mmg pandai sgt...*tgn ke bahu* Ni sume tanda2 aku da nk periodla nih...aku mst gatal ngn lelaki lebih dr biasa klau aku da nk period...ke ini cume alasan aku jer?haish...diri sendiri pun xkenal diri sendiri cmno?parah...parah... Skrg ni pun da 3.30 am...bdk nih xjd kot...aku rs aku nk tdo jela...kang klau die da smp mst die kol aku kan...huhu...

Monday, 27 August 2012

U

Sy xkisah masa lalu awak...betapa jht or nakal awk dulu... Yg sy kisah adalah awak yg sekarang...adakah awak masih seperti dulu? Atau awak da berubah menjadi lebih baik..sbb sy mahu awak pimpin sy ke jln yg betul juga...same2 menuju ke jln redha ilahi wak... :)

Saturday, 25 August 2012

Assumption...

Assumptions... Never good...not good at all... But people always tend to make an assumptions of everything... N u know wat...assumptions can lead to fitnah... So please watch ur mouth when u say something... Think carefully when when u post at fb, twitter, blog or any social network... Assumptions could be hurt...