Monthly Archives: May 2012

Host RESTful WCF(3.5) Service – IIS 6.0 – HTTP 404 – File not found

I ran into this issue today, the fix is  simple and very easy to overlook.  I thought I’d share it.

HTTP Error 404 – File or directory not found.

Internet Information Services (IIS)

I was setting up a WCF REST service on a production server .  The service had been successfully running on two other servers in development and staging.  It runs in the Net 3.5 framework and is hosted in II6 on windows server 2003.

This server has a number of Net applications running , however, it didn’t appear that any websites or web services had been hosted in IIS. So I assumed it was just a setup issue, but setting the website to allow “Directory browsing” served up the directory listing. I began to Google and found a number of posts and articles on the subject.

Other developers reported solving similar issues by running ASPNET_REGIIS, ServiceModelReg.exe, setting up .svc MIME type, and creating a wild card mapping to aspnet_isapi.dll. I discounted the MIME type and wild card mapping since they were not required on our other servers. However, since we’d never hosted a website on this machine let alone a WCF service I decided to run the commands to register ASP.Net applications with IIS and the service modle registration tool. Neither of these solved the issue, so I played with directory security to make sure it matched our other servers, still no luck.

Finally, after a little more research I found that by default in II6 the web service extension is set to a status of prohibited for security purposes.  The fix was as simple as opening Web Service Extensions in the IIS manager and setting the extension to allowed.

The point is,I focused too much on the specifics of my problem and looked past the basic issue.  Which was that IIS had not been fully setup to host applications.  I was “in the weeds” as they say.



Someone Is Always Faster – An Older Wiser Runner Knows This

It’s not like I’ve been running around with the illusion that I’m a fast runner, or faster than most, or even faster than many… Maybe faster than some. However, at my best I’m a middle of the pack runner.

During my run today I was reminded of this fact. It was about four  in the afternoon, sunny and in the low sixties. Perfect day for a run.  I was about two or so miles into it, feeling pretty good, I had just started to settle into my run.  Just then, some young guy blew past me, probably running a good minute faster.  To be fair, my day started off at 6am when my youngest got up.  And consisted of laundry, lots of playing with the kids, and cutting the grass. I’m not saying I would of kept up with this guy if I was just starting off my day.  I’m just saying my day had been pretty full and his had mostly likely just started.  Or, I’m just trying to save my ego…

Nevertheless, I stayed on pace and kept myself in my run.  However, it wasn’t so long ago that I would have tried to keep up, or at least would speed up so it wouldn’t look so easy to blow past me.  Just another futile effort to save my ego.   But, if I had, it would have been  to the detriment of my run.

You see,  I was on a six mile run. Which is not a terribly long distance, but for me lately that is a long run.  I’m trying to get my training back on track, it’s been off for probably more than a year now.  The point is, no matter if you’re on a training run or in a race you need to run your run and run your race. If you let somebody else dictate your run and get you off your game, you may not get from your run what you set out to….

Can’t talk about being wise without Yoda!

A Few Of My Favorite Local Races

My last post, The Affect of a Fun Run, was an attempt at making a point on the importance of local fun runs.  As a follow up, I thought I’d list a few I like that are coming up soon.  Starting with the one nearest and dearest to my running heart.

As I mentioned in my last post this race was the first formal race I ran, since my illustriousness high school track career that is.  It’s a really fun race that takes place prior to the city Memorial Day Parade.  It’s a fast flat out and back.  But, there is a challenging twist.  The race is at noon at the end of May.  This makes for an unusually hot 5k making a personal best unlikely and adding a little challenge to this fun run.  Additionally, the parade goers add a captive audience and an unusually large crowd to cheer the runners on.  The race director, who started the race as part of her reign as Miss St. Clair Shores, has done an excellent job growing the race by adding chip timers and USATF certification in recent years.  Another unique aspect to this race is the cause it supports.  The proceeds are used to provide scholarships for student athelets.

Save The Manatee 5K (May 19)
That’s right, this race has a unique cause,  at least for Michigan.  The race director is a local teacher who organizes this race with her students to raise money for the Save the Manatee Club.  I’ve run this one the last couple years and really like it.  It’s a lot of fun and a great to bring the kids.   It offers several distances so the whole family can get involved and is run inside Metro Beach.  Additionally, it’s really cool to see all the kids out running and volunteering, it’s a real community event.

It’s been a couple years since I’ve run this one.  But I really liked it the last time I did.  This race is run on the trails inside the park which are a mixture of concrete, dirt, grass, and gravel.  It also has a few small hills.  It’s a nice change of pace from the typical road race.

Run Like a Mother (May 12)
I ran this for first time last year.  This was a fun race which also runs through Metro Beach for part of it.  The event offers shorter distances for the kids, another great family and community event.  The race starts and ends at an apartment building.  Last year they had a great after party.  Complete with almost every option you can think of for post race recovery, live music, hot dogs, free zumba  (no I didn’t).

The Affect of a Fun Run

In my first running blog post I noted that I began running local races about five years ago.  That race was a local 5k in it’s second year(now in it’s sixth) and occurs before the Memorial Day Parade in my town.  It’s a really fun race that I’ve run every year since and plan to run again this year.  Running this race really opened me up to running.  I had so much fun I ran a couple other 5ks that year.  In the years that followed I ran more 5ks, some 10ks, and a couple half marathons.

With this race coming up soon I’ve been reflecting on the affect these types of runs have on our communities and those of us who participate.  Most of these runs are held to benefit a worthy cause.  Anything from fighting cancer or some other horrible disease, to supporting animal rights or local schools.  But, the benefit to the community often goes much deeper then just the charity or cause it supports.  And the impact on the runner can be long lasting, and perhaps life changing.

These races promote healthy living teaching adults and children alike about the benefits of a healthy life style.  In my case, I was already a runner.  But, the previous year when I watched the race I was motivated to give it a try and here I am five years later still running races.  Perhaps in other cases, people who have never run are motivated to run or to start exercising in some way.

Additionally, they provide a way for runners as a community to compete and participate in their sport.  That sense of community  helps to motivate recreational runners to keep running as well as new runners to start.

Finally, because these local runs are usually 5ks and in many cases have a 1mile run it allows runners of any level to participate.

Now I’m a Runner…Or Have I Been?

Running has been a part of my life for a long time.  I’ve been an active runner and running local 5k, 10k, and half marathons  for 5 years.  Prior to that, running was an on and off again part of my exercise routine for at least 10 years.  I even ran track in high school a couple of years, albeit badly.  Yet, for some reason I didn’t consider myself a runner until somewhat recently(last few years).

Even after I began to run local races I didn’t equate myself as a “runner”.  If someone asked, or it came up in conversation, I’d say “I run but I’m not a runner”.  For me, I think I had some idea in my head of what a runner was.   Like I had to be able to run a certain distance or speed.  Maybe I thought I had to look a certain way.  Or perhaps, I worried that other people thought those things and wouldn’t take me seriously if I said I was a runner.

Over time as I ran more races, began reading about running,  and met more runners I found out that this wasn’t the case.  In fact, I learned that running as a sport, recreation, and competition is open to all types of runners.  Those that fit the stereotype and those that don’t.

For me, I found that running is first a competition with oneself.  As such, determining if your’re a runner is really up to you. There is no minimum speed, distance, age, or body weight required.  It doesn’t matter if you’re training for a marathon or running to keep fit.  Being a runner is about running and what you get out of it.  You define it, determine your goals, and enjoy it however you want.

In addition to health benefits some of the things I get from running are community, confidence, pride, and a clear head.

Sure, I don’t run nearly as much as I’d like to right now.  But, I’m thankful for being able to.

%d bloggers like this: