Windows 7 Login failed for user “IIS APPPOOLDefaultAppPool”

While starting development on a new project in Windows 7, I ran across the following error when trying to access the database.

Cannot open database "<Database Name>" requested by the login. The login failed.
Login failed for user 'IIS APPPOOLDefaultAppPool'.

 

I initially Googled the error and found this forum post that helped me solve the problem.  The site is in some other language so I will go over what you need to do here.

First, find the site that your application running under in IIS.

Select the site and click on “Advanced Settings” in the column on the right.  See which Application Pool your site is running under.

Now, click on “Application Pools” in IIS and select the application pool that your site is running under.  Click on “Advanced Settings”.

Scroll down to the “Process Model” section and click on the identity field.  Once it is selected, click on the “ellipsis” button.  In the dropdown under “Built-in Account” select “LocalSystem”.

Windows 7 Login failed for user “IIS APPPOOLDefaultAppPool”

Changing the battery in my 2004 Infiniti G35 6MT

I recently replaced my battery in my 2004 Infiniti G35 6MT and found the lack of instructions annoying so I am posting the steps I took to replace the battery.  I hope this helps others that either don’t live next to an Infiniti dealer or just want to do it themselves (I fall into both categories).  Any image can be clicked on the get a larger version.

Step 1

Remove the rubber lining around the battery cover that is closest to the windshield

Step 1 - Remove rubber guard

Step 2

Remove the pins from the battery cover using a flathead screw driver.  These should pop out rather easily. There should be 5 that you have to remove.

Step 2 - 5 pins to remove
The 5 holes where there are pins to remove
Step 2 - Use a flathead screwdriver to remove the pins
Use a flathead screwdriver to remove the pins

Step 3

Remove the battery terminals from the battery using either a wrench or a socket.  The negative cord should be easy to move out of the way, but the positive cord was a little tougher since it had some extra hardware on it.

Step 3 - The negative terminal has been removed and moved to the side
The negative terminal has been removed and moved to the side
Step 3 - Preparing to remove the positive terminal
Preparing to remove the positive terminal

Step 4

Unplug the two plugs from the bottom of the positive cord in order to maneuver it out of the way a little better.  Using a flatehead screwdriver push in on the little bracket that is holding each plug in place.

Step 4 - Push the clip in to remove the plug
Push the clip in to remove the plug
Step 4 - The first plug has been removed
The first plug has been removed
Step 4 - Both plugs have been removed and the main terminal is moved to the side
Both plugs have been removed and the main terminal is moved to the side

Step 5

Unbolt the crossbar holding the battery in place.  I only unbolted the end that is clearly visible and then unhooked the other end by twisting it around until it came unhooked.

Step 5 - Unbolt the crossbar holding the battery in place
Unbolt the crossbar holding the battery in place

Step 6

Remove the battery.  This can be tricky since there is very little clearance.  You may need to bend the plastic covering a little in order to have enough room to get it out.

Step 6 - Very little clearance to move the battery out
Very little clearance to move the battery out

Now that you have the battery out, you should be able to reverse the steps to put everything back together.  Back in step 1 when you are replacing the pins, make sure to slide the pin up a little before pressing it into the hole.  The image below should help out.

Pin position before reinserting it
Keep the “disc” of the pin around the middle when you insert it into the hole

After I got everything hooked back up I fired up the car and I was back on the road.

Changing the battery in my 2004 Infiniti G35 6MT