I've been breaking my head for a couple of days about an issue that is so obvious i missed it!

I decided to create a new virtual machine (using Virtual PC 2007) running Vista Ultimate, SQL Server 2008 and VS2008. Installing all software went just fine, and after a few cups of coffee i was able to install and run DNN from within the virtual machine. All was fine untill i opened up a module project containing an ASP.NET AJAX UpdatePanel.

That was about the same time i noticed that none of the AJAX controls (like UpdatePanel, ScriptManager) where available in the Toolbox. In design mode, my i saw an error "failed to create designer" wher.e my update panel was supposed to be.

Now, i like Google a lot, but i had no luck finding anything related to my issue. I tried to rebuild the Toolbox, but to no avail. A repair install of VS2008 had no effect either. As a last resort i decided to reinstall VS2008 completely. No effect. No i was getting a bit worried... my plan for a virtual develop environment was falling apart.. or was it?

Suddenly i tried the obvious:  create a new website project in Visual Studio and PRESTO: all my AJAX control were there? To my horror I have to confess that just at that moment I remembered that AJAX is built in in ASP.NET 3.5, and available as an extension to ASP.NET 2.0. As all my modules are still ASP.NET 2.0, and i run my DNN sites in ASP.NET 2.0 as well, of course the AJAX extensions were not available.

As it turned out.. a simple installation of the ASP.NET 2.0 AJAX extensions fixed my problem. Well.. another lesson learned I guess: never expect Microsoft to think about everything..... Wouldn't you agree that it would have been much more logical if the Visual Studio setup also installed the ASP.NET 2.0 AJAX Extensions?

Posted in: DotNetNuke

Comments

Jon Ebersole
# Jon Ebersole
Wednesday, November 12, 2008 4:58 PM
Amen!! Not to mention, if you 3.0 and 3.5 are built on top of 2.0, wouldn't you also think that it could check to see if 2.0 extensions are installed when you install 3.0, 3.5, and 3.5 SP1??
Erik van Ballegoij
# Erik van Ballegoij
Tuesday, November 18, 2008 12:24 PM
Jon, totally agree with you... sorry for late reply... was away for conference...
Tum T
# Tum T
Friday, October 09, 2009 10:05 AM
Thanks, I ran into the same problem.

Post Comment

Name (required)

Email (required)

 I am Erik van Ballegoij. I work for DotNetNuke corporation as Technical Lead and Evangelist. On this blog I blog about DotNetNuke tips and tricks and whatever else comes to mind

powered by dotnetnuke follow me on twitter linkedin rss feed