Solving ASP.NET application problems

I have been working with a partner of ours to get an ASP.NET web application running on my Windows 2000 computer at the office. We had no joy for several hours last night trying to figure out why none of the .aspx pages in the application could be contacted. We were getting an interesting error message:


Server Error in '/BogusAppname' Application.
----------------------------------------------------

The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested Url: /BogusAppname/login.aspx

----------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032

I had to give up with the guy from our partner company at 8 PM my time last night. This morning, I did some Googling and found an all-too-simple-sounding solution: the application wasn’t correctly registered as a virtual directory. I went to the IIS manager, created a new virtual directory with the same name as the directory I was trying to hit, and lo and behold the application started working.

The difference was only apparent in the properties dialog on the application directory. The virtual directories on the server had “Virtual Directory” as the first tab on the properties dialog, but our application directory had “Directory”.

Perhaps this will save someone’s thinning hair.

Calling BS

Two compelling cries of bullshit in the blogosphere this morning. First, Dave Winer pegs the onslaught of advertisements in RSS accurately: it represents lazy thinking by marketers:

Here’s some food for thought for “marketers” who say they need to put ads in RSS feeds to make them pay. By some calculations, in three years, 27 percent of the NY Times hits will originate from their RSS feeds. The BBC is aiming for 10 percent by the end of the year. Neither company puts ads in their feeds because: The feeds themselves are ads for the stories they link to, which are revenue-generators. Anything that keeps people from clicking, that confuses them, takes them off course, is going to drop the click-through rate. And it’s a good deal for the users, because they get the headlines and summaries for articles they only have a superficial interest in, and can easily access the full stories for articles that they want more information on. The rare win-win.

And Doc Searls posts an insightful criticism of the effects of bell-curve thinking on IT, the educational system, and individual achievers, in a post that follows up his equally insightful two-part review of Tom Friedman’s The World is Flat and “It’s a Flat World, After All”:

…all this might also help explain why I chafe at the caste system implied in labels like “Alpha blogger.”

What I love about blogging is that it isn’t school. Instead it’s a great way to discover how the long, flat tail features plenty of original and brilliant individuals. These good folks succeed by earning links, not grades. It’s a much better, and a much flatter, system.