Ektron: The Controls collection cannot be modified …

For the past couple of hours I have been banging my head and pulling my left over few strands of hair to figure out what’s wrong with my code causing the below exception.

The Controls collection cannot be modified because the control contains code blocks (i.e. < % ... %>)

I finally found out the solution from a least expected settings. Continue reading

Login failed for user ‘IIS APPPOOL\DefaultAppPool’.[EkSite->GetSiteVariables()]

As I have mentioned earlier, I started playing around with the Ektron 400 CMS.NET content management system. Soon after I installed starter kit websites, I got the below error.

Login failed for user 'IIS APPPOOL\DefaultAppPool'.[EkSite->GetSiteVariables()]

My system configuration is Windows 7 x64, IIS 7, .NET 3.5, SQL 2008 (with NT Authentication) and Ektron 7.6.6. If you got that error, this one could be your fix. Continue reading

How to set property of an object created using Reflection?

The VB.NET to C#.NET converter tool from Developer Fusion is awesome! It convert code from VB to C# or vice versa and primarily used by enthusiasts to learn the other language syntax. The tool does a great deal of work in trans-coding. However, not every thing is translated appropriately and you may have to clean up a little bit. Here is an example of issues I faced while using Reflection. Continue reading

.NET Reverse Stream Reader

How to read file bottom up:
Read text file bottom up:

When we process the flat files, most of the times we process it top to bottom. However, there might be only a few times situation come where you you have to read bottom up. Like the other day, I have huge flat file about 250 MB and I need some information could be located anywhere in last 50 lines. Since length, size and # of lines I might have to look into in such files vary, reading top to bottom isn’t an optimal solution. Continue reading

grub setup stage 2 error while parsing number

Well, as I stated earlier I was trying to get openSuse 10.2 installed on my machine, which already has Vista on first partition. Though I never had issues while installing openSuse 10.2, Red Hat Linux, Enterprise Linux 10, this time I had issues with installing 10.2

My 10 days old DVD got corrupted, new iso download got corrupted, 1 DVD after buring got corrupted etc. Its quite evident that there is something really wrong with the wirelss downloads and my DVD’s. The error I get at the installation of the Boot Loader is

grub>setup --stage2=/boot/grub/stage2 (hd0) (/dev/hda,5)
error 23: error while parsing number

Even my linux dude got no clue what’s going on. He suggested me to iso downloads from wired pc and install again. Yet i get the same old error. Pretty much pissed and thought of going back to Vista with half hearted. Right at that moment my friend called and said that most of the dudes on the web get this error while installing on partition with Vista already on the first partition. So, something poped into my mind and I did this.

  • Downloaded gparted, gnome partition editior.
  • selected the window partition drive and in the properties, I unchecked boot and checked hidden
  • now I did a fresh install. this let s teh linux install the system with no flaws as it sees windows was present in nowhere
  • and vola! installation went smoot no errors. Now restart with gparted in the cd drive and now make Vista drive unhidden and that’s it.

You should be able to choose both linux and windows from the grub. Let me know if it works for any of you Thanks

Shyam K. Arjarapu