Clicking ‘Choose items’ on the toolbox crashes Visual Studio 2008

I’ve had my current installation for a few months now, and I’ve used it for development purposes. Today I suddenly encountered an error when trying to add items to the Toolbox. Visual Studio 2008 simply disappeared… No errors, no warnings, it just went away.

After some searching and a lot of trying, I found that deinstalling the PowerCommands for Visual Studio 2008 did the trick. I’m guessing that the installation of a service pack (for either Visual Studio or .NET Framework) changed something somewhere, making Visual Studio disappear into thin air when having PowerCommands installed and clicking the ‘Choose items’ context menuitem. Anyway: the problem is gone now…!

According to some forumposts I read reinstalling the PowerCommands after this problem was solved does not cause the problem to reappear. I haven’t come to testing that yet ’cause I’m working on a deadline here… (Why do these things always happen when you have a deadline…?)

Hope this helps.

Nice new addition to ASP.NET

Scott Guthrie posted about a cool new ASP.NET server control: Chart. It can be used for free with ASP.NET 3.5 to enable rich browser-based charting scenarios.

Read more over here:

New website

Our company has (the first draft of) a new website online. We’re still working on the content, but the design is now online. Check it out @ (Dutch).

By |November 21st, 2008|Link, Work|0 Comments

Inline wrappers & Response.Redirect() == Error

While developing a page that was to be used through an inline wrapper, I got an error: “Validation of viewstate MAC failed”. This error can usually be resolved by disabling event validation, viewstate encryption or viewstate for the MAC. In my case these solutions did not resolve the issue.

After some testing Response.Redirect appeared to be the cause. I changed the page so it doesn’t need the redirect any more, and the problem disappeared. I’ll try if ending the response when redirecting will help, but for now I can continue working…

Hope this helps.

By |November 20th, 2008|.Net, Development, Error|0 Comments

I will return…

I’ve been busy the last couple of weeks. Between (the announcements at) all the congresses to follow like PDC and Tech·Ed, all the projects to do, the rehearsal for the musical I’m in in December (Dutch) and the start of our new company (Dutch), I didn’t have a lot of time to blog…

Since we expect things to settle down in the next couple of days, I’m expecting to pick up where I left in a week or so. Hang in there, and if you have any subjects you would like me to blog about or any questions you would like answered: let me know. Oh, and try to keep those subjects and/or questions development related. ;)

PS I’m guessing you know why I didn’t title this post “I’ll be back” :)

By |November 12th, 2008|Blog, Congresses, Personal|0 Comments

Ajax Control Toolkit controls don’t show up in Visual Studio toolbar

Because I stopped working at Avanade and started my own company (this web site is under construction and in Dutch), I had to buy and install a new laptop. Everything went great and I was up and running in half a day. Or should I say half an evening… ;)

The next day I wanted to continue developing a web site we are working on. I needed one of the Ajax Control Toolkit controls, so I added it to my toolbar the way you should go about this (create a separate tab, right click, ‘choose items’, browse for the assembly). Strange enough, none of the toolkit controls showed up in my toolbar. I tried again, restarted Visual Studio and even restarted my computer. All to no avail…
After a while, I checked the ‘Show all’ option for the toolbar, and there were my Ajax controls, all of them disabled (grayed out). And if you think that is weird, read on for the cause of this behavior ;).

After some searching, I found something that I thought could be a solution. Unfortunately this did not solve my problems. Not even after repeating the steps several times. Luckily there were several people that commented on that same post, stating the proposed fix didn’t actually fix the problem. One of them said something about Microsoft wireless hardware being the culprit. I removed the wireless receiver of my Microsoft Wireless Notebook Optical Mouse, and the controls all appeared on the toolbar. Enabled and all…!

Now, whenever I need the Ajax controls in Visual Studio, I do the following:

  • Start Visual Studio (if not started already)
  • Open up a web page or a user control, or at least something you can place an Ajax control on
  • Open up the toolbox (note: no Ajax controls!)
  • Unplug the wireless device and see the controls appear like magic
  • Plug in the device: the controls should stay where they are

Hope this helps some of you…

A new challenge …

As of today, I am no longer working for Avanade. I had a good time over there, but my personal goals changed. I found a new challenge: I started a company with a good friend of mine. We’re still building the website, so the information is not there yet. But it will be soon. So check the website every now and again.

We’re very excited and can’t wait to get started!

By |October 1st, 2008|Personal, Work|1 Comment

I’m a PC

We all know the “Get a Mac” videos from Apple. And to be honest, they’re pretty funny sometimes. Most of the time… ;) After a horrible start with the Seinfeld commercials (no offence Jerry), Microsoft might be on to something with their new campain “I’m a PC” (Seinfeld commercials to be found there, too).
They got an actor that looks like the PC guy in the Get a Mac commercials and used him to introduce some new videos, telling us how many different kind of PC’s there are. And it wouldn’t be Microsoft if they didn’t put in some celebrities like Eva Longoria, Pharrell Williams, Deepak Chopra and of course bill’s there too. There’s (always) room for improvement, but they’ve made the first (big) steps.

”I’m a PC, and I’ve been made into a stereotype…”

Both the Microsoft PressPass and the Youtube video can’t be embedded over here. So have a look over here:

Or paste this link in Windows Media Player or iTunes to open the movie:

By |September 20th, 2008|Funny, Link|0 Comments

An inline wrapper and having too much on your head

We developed an ASP.NET page (A) to be wrapped in an existing PHP page (B) using an inline wrapper. After a few days in which both pages displayed nicely, our page (A) suddenly got displayed twice inside the existing page (B).  And even weirder was that the postbacks of the first occurrence didn’t work, and the postbacks of the second were executed outside of the wrapper.

We had changed some stuff the night before, so I finally checked the file line by line against an earlier version. The problem we eventually found was small and not too easy to find. But so easy to solve… Because of an external editor, the page’s (A) header had received an ID, probably because of the runat=”server” tag. Removing the ID tag was enough to have both pages working fine again.

By |September 18th, 2008|.Net, Development, Error|0 Comments

iTunes 8 translation glitch

I installed iTunes 8 on our laptop, and connected an iPod to check if all worked accordingly. The iTunes was installed in Dutch, so the displayed information was also. Apparently, when you’re Dutch, you get some extra capacity on your iPod, free of charge!


iTunes displayed the free space on the iPod as being ‘Gratis’, the Dutch word for when you don’t have to pay for stuff. Because free in English means both ‘not occupied’ and ‘for free’, the wrong one seems to have been translated into Dutch here…

By |September 10th, 2008|Error, Funny|1 Comment