AlanBarber.Org
Tips & Tricks
Saturday, January 28, 2006
Could not create a Disk Cache Sub-directory for the Application Pool
Error: The Template Persistent Cache initialization failed for Application Pool ‘DefaultAppPool’ because of the following error: Could not create a Disk Cache Sub-directory for the Application Pool. The data may have additional error codes..
If you happen to see this error pop up on your Windows Server 2003 system here’s how to fix it.
Basically, the problem is there are two user groups (IIS_WPG and NETWORK SERVICE) that don’t have permissions set on the following three folders:
%systemroot%\Help\IISHelp\Common
%systemroot%\System32\Inetsrv\ASP Compiled Templates
%systemroot%\IIS Temporary Compressed Files
%systemroot% is usually C:\windows or C:\winnt by the way!
For “%systemroot%\Help\IISHelp\Common ” give both groups; Read and Execute, List Folder Contents, and Read permissions.
For “%systemroot%\System32\Inetsrv\ASP Compiled Templates” and “%systemroot%\IIS Temporary Compressed Files” give both groups full control.
then after that you’ll have to restart IIS.
1. Click Start, click Run, type Services.msc, and then click OK.
2. Right-click IIS Admin, and then click Restart.
That should fix that silly problem!
on 01/28/2006 at 12:14 PM
Computers & Technology • Tips & Tricks • (0) Comments • Permalink
Wednesday, July 20, 2005
Fixing SQLAgent is not allowed to run error
This is for anyone running Sharepoint on Microsoft Windows Server with MS-SQL and you are getting an error along the lines of “SQLAgent is not allowed to run”.
All you have to do is make a small registry change. Navigate to:
“HKEY_LOCAL_MACHINE/ SOFTWARE/ MICROSOFT/ MICROSOFT SQL SERVER/ SHAREPOINT/ SQLSERVERAGENT”
Look for the key “GUID” and delete it.
the SQLAgent service should now start up without problems.
I had a heck of a time figuring out this problem but after some searching this seemed to do the trick.
Cheers!
on 07/20/2005 at 06:55 PM
Computers & Technology • Tips & Tricks • (0) Comments • Permalink
Sunday, May 22, 2005
How to delete an undeletable Web Service Extension in IIS 6.0 on Windows Server 2003
Here’s a quick tip for anyone trying to delete a Web Service Extension in IIS 6.0 on Windows Server 2003. As you know there are some extensions that don’t have the options of being deleted.
Here’s how to change that.
First you’ll need to download the Internet Information Services (IIS) 6.0 Resource Kit Tools from Microsoft.
You really only need to install the Metabase Explorer but feel free to do a full install as all the tools can be handy to have.
Start up the Metabase Explorer and navigate to to SERVER(local) / LM / W3SVC. Look for the key named “WebSvcExtRestrictionList”. On my system it as an ID of 2168 but it might be different on yours.
Double click on the “WebSvcExtRestrictionList” key and a window will open with all the extensions.
Each line’s format follows this basic format (separate by commas):
Status (0 Prohibited, 1 Allowed)
File Name
Delete Flag (0 Can’t Delete, 1 Can Delete)
Service Extension Short Name
Service Extension Display Name
Just click on the extension you want to delete and set that delete flag to 1. Click OK and exit the Metabase Explorer. Open up IIS Manager or at least refresh the Web Service Extensions window. You should now be able to delete the Extension you want.
on 05/22/2005 at 12:19 PM
Computers & Technology • Tips & Tricks • (0) Comments • Permalink
Sunday, May 15, 2005
Watch out for those phishing emails!
I shouldn’t have to say it but since I’ve been getting many of these fake emails lately I figured It wouldn’t hurt to post a reminder.
Watch out for phony emails asking for user account or credit card info! The technique is called phishing. Phishing attacks are called that because the senders are “fishing” for people’s personal information. Common attacks target users of online banks, Paypal and eBay. The email will claim there is a problem and your account will be closed or whatnot if you don’t correct the problem. They nicely provide a link in the email message to the login page. Here’s the problem. That link, while it may seem to be a valid url to the company’s site, actually points to a fake webpage crafted to look legit.
Let me give an example that I actually received today!
quote:
Dear eBay member,
We at eBay are sorry to inform you that we are having problems with
The billing information of your account. We would appreciate it if you
Would visit our eBay Billing Center and fill out the proper
Information that we are needing to keep you as an eBay member.
If you don’t comply until the June 2005, your eBay membership may be suspended.Sign in Here https://signin.ebay.com/ws/eBayISAPI.dll
As outlined in our User Agreement, eBay will periodically send you
Information about site changes and enhancements. Visit our Privacy
Policy and User Agreement if you have any questions.Thank you!
Sure sounds and looks legit doesn’t it! However, I’m not a moron and I know it’s fake. Here are the 3 things that show it’s a fake. Now these aren’t easy to spot so you have be a bit knowledgeable of these things.
1) The message was sent to an email account that isn’t in any way associated with my eBay account! Now if you only have one email account you won’t be able to catch this flaw but for people with multiple email accounts it will be. I know I registered my ebay account with account@this_domain.com but this message showed up in the inbox of account@some_other_domain.com.
2) The to address doesn’t match. The message arrived in the inbox of account@some_other_domain.com but in the header the to address is set to some hotmail.com user. Again, this should be a rather duh moment for people yet so many would never notice this. Why would this message show up in my inbox but be addressed to some random hotmail user? Probably because someone is using a spamming program that just spits out random too addresses when it sends out messages.
3) The link to the login page doesn’t go to an eBay url! Oh, sure it looks pretty legit when you see the page but it’s actually a different website. I won’t post the actual url/ip but suffice to say when you visit the page you are NOT anywhere close to an eBay server.
So what can you do to protect yourself? The easiest answer is this. Any time you get an email message from your bank, eBay, Paypal, etc that asks you to click on a link to log in because your account is going to be cancelled or whatever, DON’T CLICK THE LINK! Instead, open up your browser, type in your banks url manual and log in. That means clicking on the url bar at the top and typing each letter of H T T P : / / W W W . E B A Y . C O M and pressing the enter key. Phishing relies on one simple fact. Users are lazy and will follow the path of least resistance. That means just clicking a link and following it blindly.
Take the time and log in securely and keep your accounts safe everyone!
on 05/15/2005 at 03:36 PM
Computers & Technology • General • Tips & Tricks • (0) Comments • Permalink
Monday, February 07, 2005
Microsoft Security Bulletin Advance Notification
quote:
On February 8, 2005, the Microsoft Security Response Center is planning to release:• 9 Microsoft Security Bulletins affecting Microsoft Windows. The greatest aggregate, maximum severity rating for these security updates is Critical. Some of these updates will require a restart.
• 1 Microsoft Security Bulletin affecting Microsoft SharePoint Services and Office. The greatest aggregate, maximum severity rating for this security bulletin is Moderate. These updates may or may not require a restart.
• 1 Microsoft Security Bulletin affecting Microsoft .NET Framework. The greatest aggregate, maximum severity rating for this security bulletin is Important. This update will require a restart.
• 1 Microsoft Security Bulletin affecting Microsoft Office. The greatest aggregate, maximum severity rating for this security bulletin is Critical. These updates will require a restart.
• 1 Microsoft Security Bulletin affecting Microsoft Windows, Windows Media Player, and MSN Messenger. The greatest aggregate, maximum severity rating for these security updates is Critical. These updates will require a restart.
Oh goody! Looks like I’ll be downloading updates all day tomorrow for the XP boxes here at home. Yesh!
Now everyone out there better update your Windows machines too! If you don’t there will probabbly be viruses and trojan horses out there within a few days that will be taking advantage of these security holes. So do your part and keep the net safe!
That is all!
on 02/07/2005 at 11:30 AM
Computers & Technology • Tips & Tricks • (0) Comments • Permalink
Thursday, February 03, 2005
The 80/20 Rule for Web Application Security
This is a goody for anyone doing web applications. It’s just a short article called “The 80/20 Rule for Web Application Security” about some easy to do steps that can help make your web applications more secure.
If you’re a web app developer most of this stuff should be in the “well duh!” category but just incase take a minute or two and read the article and follow the advice.
The one thing that I didn’t know and I’m looking into is the Apache Module mod_security. It seems like a very promising tool for helping to lock down your entire webserver and not just a web app.
on 02/03/2005 at 08:33 AM
Computers & Technology • Tips & Tricks • (0) Comments • Permalink
Thursday, August 26, 2004
Free Windows SP2 Update CD From Microsoft
Well this is for all you poor folks out in dialup land. If you’re running Windows XP you should be upgrading to SP2 but I’m sure you don’t want to bother downloading a 100MB+ file either.
Microsoft said they would make a big push to get SP2 distributed to the masses and they’ve made good on their promise. You can now order a SP2 CD directly from Microsoft free of change. You don’t even have to pay shipping!
Now the one problem. It’ll take 4 to 6 weeks for delivery. That is a long time to wait considering even for dialup you could get the SP2 installer downloaded in less time. But hey it’s free from Microsoft so why not take advantage of it? It’ll be handy for the future should you reinstall your OS at some point or just to loan to family and friends.
Head on over to the Microsoft Website and order your CD today. There’s no reason not to!
on 08/26/2004 at 02:49 PM
Computers & Technology • Tips & Tricks • (3) Comments • Permalink