Monthly Archives: November 2012

Using window.onerror How to Catch Unhandled Errors in Javascript

Client side scripting language Javascript has an event driven error handling model where you define a handler function for window.onerror to override the error handling. This method has three arguments error message, url and line number. It should return true … Continue reading

Solved : Reached End of File while parsing error in Java

This error generally comes when you are new to Java or too tired of working and then too developing something in java class.. LOL.. 🙂 In java if you try to execute following code, it will give you error. import … Continue reading

How to Type the Indian Rupee Symbol

The India Rupee symbol is now part of the Arial Unicode standard Font provided by Microsoft. It is working only with Word document and Excel sheet currently. You don’t need to install any other fonts. How to Type the Indian … Continue reading

Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack – C# : Resolved

Sometimes while executing following code you may get error “Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack” string url = “myURL.aspx?UserId=” + this.UserId.ToString(); Response.Redirect(url); It is because you … Continue reading

Resolved : A generic error occurred in GDI+ error in C#

Working with Copy image or Resize image. You may get error that “A generic error occurred in GDI+”. I have come across to following two codes. Code 1 : public void Resize(string oldFilePath, string newFilePath, OrgFile, NewFile) { try { … Continue reading