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

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

Class is ambiguous in the namespace – Fixed

Last night, I slept early 10.45 PM, however wokeup @ 5.45 AM after having my regular # of sleep hours. I have tried my best to sleep for next couple of hours, as there is yet another long work day is awaiting me.

I stopped by work 8 AM this morning and started to work on my issues with code getting work on Visual Studio 2005 IDE. The following errors from yesterday’s port pissed me off.

  • Compiler Error Message: BC30456: ‘InitializeCulture’ is not a member of ‘ASP.login_aspx’.
  • ASPNET: Make sure that the class defined in this code file matches the ‘inherits’ attribute, and that it extends the correct base class (e.g. Page or UserControl).
  • Login is ambiguous in the namespace MyNameSpace.MyApplication

I had a source code with .aspx file containing

<%@ Page Language="VB" AutoEventWireup="false" 
          Inherits="MyNamespace.MyApplication.Login" %>

So, for some reason I changed CodeFile to CodeBehind and voila all the above problems fixed. Now, I need to figure out how in the hell I had CodeFile instead of CodeBehind and whatz the difference between them.

Shyam K. Arjarapu