DevNewz News Archives About Us Feedback

Recent Articles

ASP.NET - Trackback Spam Fighting
Recently, I joined the Subkismet project which is an open source stand-alone comment spam filtering library for ASP.NET web applications founded by Phil Haack. My task is to write mechanisms for fighting trackback and...

Preventing Direct Access To A CFC
Chad asks: I am using a CFC for an AJAX-based shopping cart and it works great. But along comes a customer who is behind a proxy. The proxy is trying to request the CFC through a GET request (instead...

Testing Your Code
I was asked to write a post about my views on unit testing because it is a hot subject at the moment. I'm very ambivalent about unit testing and always have been for many different reasons. Although testing is...

Money - A Good Measure Of OSS Success?
This comment from Stacey (Hyperic) got me thinking…is money a good measure of OSS success? Before I go on, let me clear something up. My 1.8% comment was...

ASP.NET Security: Remove The X-AspNet-Version...
I've always been a little annoyed by the fact that ASP.NET websites sends the version number as a HTTP header. For an ASP.NET 2.0 application this is added automatically to the headers and you cannot remove it from code.

A Scorpio Gem
Back in September last year, I listed my top four Scorpio wish list items. I couldn't come up with five at the time. Those four were: sftp support, proper command-line invocation of CFCs, the ability to archive CAR file...

Windows Live Commercial API Details
The Windows Live Dev news site details the new usage of the Windows Live API, which will let larger websites use the API beyond typical restrictions by paying for it. See, almost all web APIs have a limit of how many...

Contributor Agreements & Code Scrubbing
What happens when you read that "GPL Code Found In OpenBSD Wireless Driver" and "Google used rival's database ‘inadvertently‘" within a few days of each other? Well, I call up a friend/colleague in legal and...


08.15.07


Vista, IIS7 & BlueDragon

By Sean Corfield

I'm trying to set up a full-blown development environment on Vista, just to see how I get on and to compare it with my regular development environment on OS X.

Having beaten SQL Server Express into submission after much pain, I figured I'd talk about my experiences getting BlueDragon 7 .NET installed and running.

First off, I knew that IIS was not enabled by default but poking around in what I thought were the obvious places didn't give me any clues about how to enable it. Google quickly directed me to a tech note (on MSDN or Microsoft's support site) that showed me the way. The more I work with Vista, the less I like the new Control Panel layout compared to XP. Anyway, I enabled IIS per the instructions and verified that I could access it locally. A quick tweak to the firewall allowed me to access it from OS X as well. All good so far and not too painful.

Now that IIS 7 was running, I figured BD7.NET would be a simple install. The install went fairly smoothly but IIS7 refused to serve any pages up afterward. The friendly error message pointed at a problem with applicationHost.config so I tracked that file down (another Google search) but couldn't figure out how to open it (because of security restrictions). Another Google search revealed that I needed to locate Notepad in the Start Menu and right-click Run As Administrator and then Open... and navigate back to the configuration file. By pure guesswork, I changed:



and IIS7 came back to life. Yay me! Unfortunately, when I tried to run the BlueDragon Admin, I got a 500 error and something about a bad "ManagedPipelineHandler" in the BlueDragon configuration (and, of course, that text was nowhere to be found in the config file!).


Google turned up one reference to this, on New Atlanta's self-help mailing list. Someone called Brian had hit the exact same error back in July but no one had replied. Darn!

So I emailed New Atlanta's support and today I got a response from Lori who confirmed that the applicationHost.config settings were correct (with path="") but asked me to check a couple of things... Number one was whether I had installed ASP.NET. Hmm, I thought that was built into IIS7 so it hadn't occurred to me I'd need to set that up independently. It also hadn't occurred to me that BD7.NET would require ASP.NET but that's another story.

Lori had attached a screen shot of the same Windows program features dialog that I'd used to enable IIS7 but she showed the options I needed to check to enable ASP.NET.

Things still didn't work right but now I could figure out the solution on my own: since I'd installed BD7.NET before ASP.NET, applicationHost.config wasn't what BD expected so all I had to do was merge the BlueDragon handlers into the ASP.NET handlers. Yes, that worked as expected!

IIS7 works. BlueDragon works. I can access both from Vista and from OS X. I configured a MS SQL Server data source (to connect to the SQL Server Express instance) and that worked too! Yay!

Then I tried to configure a MySQL data source and got "Could not load file or assembly 'MySql.Data' or one of its dependencies." *sigh*

So I downloaded the Connect/NET 5.0 ADO-based driver and installed that and rebooted. Still the same error message.

Back to Google I guess...

Comments


About the Author:
Sean is currently Senior Computer Scientist and Team Lead in the Hosted Services group at Adobe Systems Incorporated. He has worked in the IT industry for nearly twenty-five years, first in database systems and compilers (serving eight years on the ANSI C++ Standards Committee), then in mobile telecoms, and finally in web development. Sean is a staunch advocate of software standards and best practices, and is a well-known and respected speaker on these subjects. Sean has championed and contributed to a number of ColdFusion frameworks, and is a frequent publisher on his blog, http://corfield.org/


About DevNewz
DevNewz has assembled experts around the world to deliver helpful advice to application developers. Our in-house news staff focuses on keeping you updated with the latest new software and trends in application development. DevNewz provides Knowlege For Application Developers.

DevNewz is brought to you by:

SecurityConfig.com NetworkingFiles.com
NetworkNewz.com WebProASP.com
DatabaseProNews.com SQLProNews.com
ITcertificationNews.com SysAdminNews.com
LinuxProNews.com WirelessProNews.com
CProgrammingTrends.com ITmanagementNews.com


-- DevNewz is an iEntry, Inc. publication --
iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509
2007 iEntry, Inc.  All Rights Reserved  Privacy Policy  Legal

archives | advertising info | news headlines | free newsletters | comments/feedback | submit article


Knowlege For Application Developers DevNewz Home Page About Article Archive News Downloads WebProWorld Forums Jayde iEntry Advertise Contact