Adam Lewis - adamwlewis.com a blog from a guy in an office
RSS Feed for Adam Lewis - a blog from a guy in an office Subscribe
home photos tag cloud feed  
IIS 7 Not Serving Files - 404.7 Error
IIS 7 Not Serving Files I recently discovered that our IIS 7 server would not serve requests made for MDB files. It would instead serve a 404 error message. Having had a similar experience with IIS 6, I immediately went to check if there was a Mime Type added for MDB files. To my surprise… there was. I did some research and some reading and couldn’t find any reason why IIS would refuse to serve the file. I eventually turned on custom errors for the site having the trouble and was given a more specific 404 error message: a 404.7.

I read the “things you can try” section of the error message, which led me to the applicationhost.config file (located at C:\Windows\System32\inetsrv\config\). I opened it and did a find for .mdb. I found it under the RequestFiltering section of the config document. It was explicitly added with the attribute “allowed” set to “false”. Now, just verify that this was indeed the problem I deleted the entire line from the applicationhost.config and saved it. Immediately IIS started serving the MDB files.

Now, the problem with doing this in the applicationhost.config file is that it will allow MDB files to be served on ALL websites unless the website explicitly denies it. This isn’t what we want because it’s not exactly secure, it’s just needed for this particular client. The solution was to create a web.config file in the root of the website. I did this and configured it like so:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <system.webServer>
    <security>
      <requestFiltering>
        <fileExtensions allowUnlisted="true" >
          <remove fileExtension=".mdb" />
          <add fileExtension=".mdb" allowed="true"/>
        </fileExtensions>
      </requestFiltering>
    </security>
  </system.webServer>
</configuration>

This tells IIS to allow MDB files to be requested. You MUST include the <remove> tag otherwise you will get an error because the MDB extension has already been explicitly denied. By removing it you can then add it and explicitly allow it.
 
New Professional Photos
Saturday we went to MotoPhoto at the Dayton Mall to have a couple of photos taken of Lilliann and one family portrait. Of course, once we got there and they took 100 shots, we couldn't pick just 3... so we got the entire session. I think they turned out nice, and we were very pleased with the service we received. Below are the photos from Saturday.
lewisa08x1025146lewisaedg14974lewisaedg14983lewisa08x1025156
 
lewisaedg14984lewisa08x1025157lewisaedg14985lewisa08x1025158
 
lewisaedg14986lewisaedg14987lewisa08x1025160lewisa08x1025159
 
lewisaedg14988lewisaedg14981lewisa08x1025161Laughing Big
 
lewisaedg14982lewisa08x1025155lewisa08x1025153lewisaedg14980
 
lewisa08x1025152Sitting Pretty in A ChairNervous Lilli Biting Her Bottom Liplewisaedg14978
 
lewisa08x1025150lewisaedg14973Laying Down and Gigglinglewisaedg14975
 
lewisa08x1025149Just The Three of Uslewisa08x1025147Holding Onto Mom & Dad
 
lewisaedg14976   
 
BlackBerry Storm OS 4.7.0.148 Review
RIM released BlackBerry Storm OS 4.7.0.148 this past Sunday, but I held off upgrading until I heard if there were any major glitches with it. Well today I took the plunge and installed it... and so far, two thumbs up. The OS is much more responsive, and there are several updates that I really enjoy like:

The New Cursor
BlackBerry Storm Cursor Selection I could use the Storm's touch screen pretty good to choose a point on the screen and insert my text cursor there, however, it wasn't perfect. The newest update includes a revised cursor/selection tool that when active lets you scroll the cursor left, right, up, and down just like the "ball" on other BlackBerrys.
The New Copy/Paste
BlackBerry Storm Cursor Selection This is basically just an extension off of the first thing I love, but with the new cursor tool also incorporated into the copy/paste method of the BlackBerry Storm, this function is now even more easy to use and powerful.
The Portrait QWERTY Keyboard
BlackBerry Storm Portrait QWERTY Tool If you didn't notice in the previous two screen shots, this update now includes a QWERTY keyboard in portrait mode for those two don't wish to use the SureType or Multi-Tap keyboards. This was definitely a great addition.
 
Jungle Gym - Day 4 - Completion
Randy and I finished the playset Friday night and Saturday morning, finally! After it was done we both used the slide, and the swings. We climbed the rock wall and the ladder. We then climbed to the top of the swing beam and sat for a photo. While the playset isn't made of the best wood (none of them are now days apparently), it is very very sturdy. After we were done playing on it, I let me daughter start having fun.

IMG_4506 IMG_4504 IMG_4505
IMG_4516 IMG_4519 IMG_4520
Related Articles
Jungle Gym - Day 3 (Friday, May 22, 2009 9:09:04 AM)
Jungle Gym - Day 2 (Thursday, May 21, 2009 9:06:25 AM)
Jungle Gym - Day 1 (Monday, May 18, 2009 9:07:35 AM)
New Jungle Gym (Tuesday, May 12, 2009 9:29:16 AM)
 
 
Jungle Gym - Day 3
Yesterday was another productive day and we got quite a bit done. My brother, my friend Matt, and two guys from work came over to help. It was good having all the help though at times it did seem like there were too many cooks in the kitchen. We raked out another 6 cubic yards of mulch and then assembled the Grand Terrace portion of the play set. We also started framing in the upper deck of the tower. Hopefully we'll finish the project up today.

IMG_4498 IMG_4500 IMG_4502
Related Articles
Jungle Gym - Day 4 - Completion (Wednesday, May 27, 2009 8:48:24 AM)
Jungle Gym - Day 2 (Thursday, May 21, 2009 9:06:25 AM)
Jungle Gym - Day 1 (Monday, May 18, 2009 9:07:35 AM)
New Jungle Gym (Tuesday, May 12, 2009 9:29:16 AM)
 
 
<< Older Entries  
.siteSearch
 
.aboutMe
adam lewis
.name = adam lewis
.age = 23
.location = middletown, ohio
.occupation = software engineer
.categories
Financial
Funny Stuff
Most Popular
Personal
Random
Reviews
Technical
Tools
.popularTags
blackberry   building   cellphone   construction   economy   energy   feature   flickr   google   jungle gym   lilli   lilliann   middletown   personal   phone   playset   power   random   review   security   storm   swing set   swing-n-more   tool   video  
View Larger Tag Cloud
.latestArticles
IIS 7 Not Serving Files - 404.7 Err
New Professional Photos
BlackBerry Storm OS 4.7.0.148 Revie
Jungle Gym - Day 4 - Completion
Jungle Gym - Day 3
Jungle Gym - Day 2
Jungle Gym - Day 1
New Jungle Gym
RateBeer.com Is Linking To Me
Installing A French Drain
.contactMe
email adam lewis .email = adam@adamwlewis.com
contact adam lewis on aim .aim = adamwlewis6706
contact adam lewis on yahoo messanger .yahoo = adamwlewis@ymail.com
.findMe
adam lewis on facebook .facebook
adam lewis on flickr .flickr
adam lewis on linkedin .linkedin
adam lewis on twitter .twitter
.archives
July, 2009
June, 2009
May, 2009
April, 2009
March, 2009
February, 2009
January, 2009
All of 2008
.otherSites
Computer Rental - Engineer
MiddletownUSA.com - Editor
MainStreetMonroe.com - Editor
SMBNow.com - Editor
Tech-Army.org - Member
.friends
Andy Wendt
John Beagle
Mike Howard