Please subscribe to my feed.
Although PHP is a very much preferred programming language on the web now, especially on open source applications, but we must not forget Microsoft IIS. I was doing a web project for a client when I realized their server is running on Microsoft Windows and obviously their application server is running on IIS. I had no choice but to adhere to their requirements and develop the project in ASP and Microsoft Access. Yes, they are a perfect match for small to medium sized applications.
Now, my local computer is running Windows Vista with IIS7. Running classic ASP applications on this setup is not as smooth sailing as it used to be when we were using Windows XP or Windows 2000… I just hate the new security that were introduced in newer version of Windows.
There are a few changes in IIS7 which Classic ASP developers should be aware of… but one of them which has been bugging me for a while is the dreaded:
message thrown when my ASP script tried to read and write to the Access database. Stupid ACL security on Windows Vista.
How do you fix this problem?
The answer is obviously with the ACL… The following commands will grant the Network Service temp directory to allow creator write and read privileges.

How do you run the above commands? Go to a DOS prompt with Administrator privileges, and run them. If the above still failed to work, run the following line too.
No, I didn’t invent these lines, it was the awesome work of these people. Read to understand more on loadUserProfile, IIS7 and temporary directory failures. Hope this makes your ASP coding a little bit easier.
Horizon
April 30th, 2009 at 11:31 pm
My IIS used to run OK in Windows XP and it was a breeze to setup. When I moved to Windows Vista last year, it was like you said… just impossible to setup IIS in Vista. So I’ve given up with IIS & ASP. Why bother??!!
PHP, Apache & MySQL is much better!
PEI real estate
May 5th, 2009 at 7:02 pm
PHP is very good language for software professional and i am also learning
Neil Patmore
October 13th, 2009 at 3:34 am
Are people still coding in classic ASP and access?? I would have thought at a minimum, ASP.NET with SQL Server Express would be a far better option.
ferforje
January 1st, 2010 at 5:12 pm
i’m using asp.net and it’s amazing.Db access is easier than ever.
pays to live green
February 15th, 2010 at 9:49 pm
I can’t stand working with access. I have used it in the past and have only had bad results as it doesn’t scale well and is really only for small projects. It sucks that they bought such a specific server when they could have gotten a linux box and ran a much wider array of options.
Buy LED TV
July 31st, 2011 at 7:59 pm
Are people still coding in classic ASP and access?? I would have thought at a minimum, ASP.NET with SQL Server Express would be a far better option.
Buy canon lens
August 1st, 2011 at 6:42 pm
Are people still coding in classic ASP and access?? I would have thought at a minimum, ASP.NET with SQL Server Express would be a far better option.
Buy canon lens
August 1st, 2011 at 6:43 pm
I can’t stand working with access. I have used it in the past and have only had bad results as it doesn’t scale well and is really only for small projects. It sucks that they bought such a specific server when they could have gotten a linux box and ran a much wider array of options.