Windows Installer and Extensibility.dll

Windows Installer is one of my favorite problem childs – of course, when it has mysteriuos problems. I found a problem when installing Outlook add-in on machine that has no extensibility features installed on it. Something was missing and installer gave me the famous “Unable to get installer types” error. After pointless waste of time tracing installer and checking its logs I checked out what’s going on in file system.

Read more

MoreDefensiveDatasource

At the end of the previous month I wrote a posting on DefensiveDatasource class that can be used to associate ASP.NET’s GridView with collections containing objects of different types and based on one and the same base class. Dividing data into pages in GridView does, however, not succeed. An error message “The data source does not support server-side data paging” is displayed.

Read more

DefensiveDatasource

We recently implemented some changes in the software development methodology used at our company and quite by chance encountered an interesting .Net 2.0 problem. Namely, when an object array inherited from the same base class is cast on a base class and submitted to the data binder, the latter gets confused. The array contained objects from different classes but all these classes had one and the same base class.

Read more