DarenHan's Blog

I am a Dot net asp.net developer working with VS 2005 and SQL 2005 now.

May 2008 - Posts

I got this error prety long ago till now we managed to find the root cause why this error happens though i cannot find any article on google that clearly explains why.

I got the answer from Microsoft Support staff. 

 We have one windows 2003 Service Pack 2 server as application server in Production.

The rest of the web and app servers are on windows 2003 Service Pack 1.

The error:
System.Web.HttpUnhandledException: Exception of type System.Web.HttpUnhandledException was thrown. ---> System.Runtime.Serialization.SerializationException: Type missing for member of type Object '_ContextID'. Server stack trace: at System.Runtime.Serialization.Formatters.Soap.ObjectReader.ParseMember(ParseRecord pr) at System.Runtime.Serialization.Formatters.Soap.ObjectReader.Parse(ParseRecord pr) at System.Runtime.Serialization.Formatters.Soap.SoapHandler.EndElement(String prefix, String name, String urn)

Reason why it happen: 

According to http://support.microsoft.com/default.aspx?scid=kb;EN-US;944925

There is a file in c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322

system.runtime.serialization.formatters.soap.dll 

When it was on win2k3 SP 1,

system.runtime.serialization.formatters.soap.dll
version is 1.1.4322.2300
128 KB (131,072 bytes)

When it was on win2k3 SP 2,

system.runtime.serialization.formatters.soap.dll,  version is 1.1.4322.2306,  132 kb

So the differences of the version of this file results in the Dot net CLR unable to serialise and deserialise properly as the app and web servers are using different version of dll after windows 2003 service packs after the load balancer assign the specific web server (win2k3 SP 1) to specific app server (win2k3 SP2). 

The solution is to maintain the same version of this dll throughout the servers which use the serialisation feature in Dot Net Remoting.

Now my infrastructure guy keeps quiet cos he know that his aggressive system patching has crippled the web application because of this dll, since he has no idea what will Microsoft patch after the Service Pack 2 was applied on the server. Lolz

 

 

Posted by darenhan | with no comments
http://www.acronis.co.uk/mag/pcpro/ati8pe

Just fill in the registration form and they will send u an email to create an acronis account .
Then go to the registrated products under your acronis web account and u can see the serial number.

Free. Yes.
Posted by darenhan | with no comments

Error Message: “destination DLL disabled. CrystalEnterprise.DiskUnmanaged”
Error Message: destination directory error. CrystalEnterprise.DiskUnmanaged: Access is denied.

Solution:
1. Enable  Destination - CrystalEnterprise.DiskUnmanaged    under Crystal Report Job Server
2. Under the sharing tab for the folder to be used,
       click  Permissions,
       Add the domain user account that is being used by the Crystal Report Job Server,
       Allow Change access.
3. Under the security tab for the folder to be used,
       Add the domain user account that is being used by the Crystal Report Job Server.
       Allow read, write access.

Posted by darenhan | with no comments
http://photoshop.aws.sitepoint.com/

For a limited time only (30 days download), a complete copy of Corrie Haffly’s Brilliant Photoshop Web for 30 days.

This  book teaches Photoshop for web design, and contains 101 problems and solutions.
Posted by darenhan | with no comments
http://www.pimpmynews.com/

if u got a mp3 player like ipod , this url can make your fav. blogs talk and u just listen...
Posted by darenhan | with no comments

Today I got a surprise. I got a token from appreciation from sgdotnet for helping around in the forum and posting my tech-bits here. I got a community heros award 2008.

Thanks guys.

 Well, I am quite pleased with the community launch of VS 2008 as there are some showcases of new technologies which I can learn and pick up in my work..grinz. First, I can see that microsoft is improving.. no more viewstate in silverlight compared to viewstate in asp.net 1.1 and 2.0 resulting in heavy pages that loads slow. Second, I think microsoft can help tell users why we need to update security patches in our OS. For instance, everytime we are told to update our operating systems but we have no idea what the patches do behind our kernel OS. I believe users do have a right to know in case the patch breaks the OS.

Third, I think perhaps it will be fun to participate in security camps to try hack the OS. If we know what can breaks the OS, surely we can find ways ourselves to protect it. It is an chicken and egg thing.

This blog has evolved since the day I found sgdotnet via google and I have been attending sgdotnet meetings (if my work allows). I need to thank Alvin for giving me my blog space here. :)

 Well at the last note, the Blue hero Matt happen to say something about Windows Media Centre. Well actually, when I am on Medical Leave at home,

I did try out some new technologies relating to media servers and I finally got a working project that streams audio/video from my Laptop to my Iphone which I bought some time ago. Yes its awesome but given the miserable upload speeds given by telcos here, It can only prove to work at home not on the outside. Pics attached as below. Yes, there are some configurations to be done for this mini project to work. Yes, the Apple Iphone don't have radio built-in, that is why I tried this particular software, and it did produces some amazing results. No wonder, it clock 1 million downloads on its website.

What is different from TVersity and Microsoft Media centre is that it transcodes on the fly meaning it can change a avi file to mp4 file in 15 mins depending on the file size and the processing speed of the PC/Laptop, of cos. Cool huh? :P

radio1

radio2

Posted by darenhan | 1 comment(s)

Below is the link for dengue fever hotspots. Please be careful if you happen to live near or in the hotspots.

Recently I was biten by the Aedes Mosquito and was lucky to have survived. In Year 2005, 8 deaths are reported locally. 
I was hospitalised in SGH hospital, everyday the nurses will be taking my blood tests. The best part is the nurses come and take my blood at 3am or 4 am (wee hours of the day when I have not eaten anything) :( now i am recuperating at home.

Well, it is during this time when I am sick that I can see who really cares about me and it make me treasure friendship and my parents even more.
http://app.nea.gov.sg/cms/htdocs/category_sub.asp?cid=239

Posted by darenhan | with no comments