Argh! Why does System.Web.Mvc.HandleErrorInfo get passed to my views?

Here is an issue on codeplex explaining why that error occurs. Quote from http://web.archive.org/web/20131004122626/http://aspnet.codeplex.com/workitem/1795 since original link is dead: HandleError Attribute should not store exception information in ViewData When the HandleError attribute handles an exception, it stores the exception information in the ViewData. This is a problem when the Error.aspx inherits from the site.master and … Read more

Docking a detached view with Eclipse

As per njol’s answer above, once you have your tab detached (showing as floating outside of your Eclipse IDE), simply click on the tab (not on the title of detached tab window) and drag. Then you will see mouse cursor change showing you where you can drop it to attach the tab to IDE.

IllegalArgumentException: width and height must be > 0 while loading Bitmap from View

I finally figured out a solution for my problem. I’m using the post method of the View, which will be executed only after the view measuring and layouting, this way getWidth() and getHeight() returns the actual width and height. Here’s the code sample: mImage.post(new Runnable() { @Override public void run() { mImage.setImageBitmap(loadBitmapFromView(mImage)); } }); Hope … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)