Reinstall ASP.NET 2.0

When your IIS is installed after the .NET 2.0 SDK was installed, you have to prep the IIS server configuration manually or reinstall .NET SDK. To manually configura IIS use ASP.NET IIS Registration Tool (Aspnet_regiis.exe) , Running: aspnet_regiis -i, does the trick when you get [NullReferenceException: Object reference not set …

MediaWiki: Additional user group and non-default permissions

I had to deploy some king of Knowledge Base web application, my first choice was a Wiki for it’s easy page creation and edition. There is one major drawback, Wiki was originally designed to be editable any and all users. A drawback that can be overcome by proper configuration.

Automatic Email account configuration

Today I have been testing new hosting provider for my company, they have a nice little feature for automatic Outlook Express configuration (actually a Wisepanel feature). I have succesfuly used it, and then import that conifugration to my Outlook 2007 accounts, quicker that typing everthing myself 😉 Here’s a example …

Kalendarz Outlook -> Kalendarz Google

Jak eksportujesz kalendarz z polskiego Outlooka to nagłówki w pliku CSV będą po polsku. Google Calendar ich nie rozumie (przynajmniej jeszcze nie) i dlatego trzeba je nadpisać ich angielskimi odpowiednikami. Subject, Start Date, Start Time, End Date, End Time, All Day Event, Reminder On/Off, Reminder Date, Reminder Time, Meeting Organizer, …

Custom protocol opening your application

When you want to give users the ability to quickly navigate to your WinForms application by URL with custom protocol, you just have to define your protocol in a simple registry key 🙂 See http://msdn.microsoft.com/workshop/networking/pluggable/overview/appendix_a.asp, for the Notepad example shown by MS. Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\note] @=”URL:Note Protocol” …

Bindable control property – The server tag is not well formed

When I was doing my first ASP.NET I spend a lot of time looking for clue why statement like this one: Text=”” … did not work, and caused an „all telling” exception: System.Web.HttpException: The server tag is not well formed.

DataFormatString=”{0:yyyy-MM-dd}”

Wyjaśnienie dlaczego nie działa formatowanie daty w np. asp:BoundField, bo data jest HtmlEncoded zanim zostanie podstawiona do formatu. Więc zawsze połączeniu z formatem należy użyć HtmlEncode, przykład: <asp:BoundField HeaderText=”Data” DataField=”OrderDate” DataFormatString=”{0:yyyy-MM-dd}” HtmlEncode=”false”/>

Back to Top