Definetly there is a solution
We all would have encountered the same problem, when upgrading from xp to vista, for passionate developers of ASP AND
DATABASES.
Understanding the scenario.
After using XP for 7 years and upgrading to VISTA ULTIMATE AND IIS 7 I tried to run my asp projects by creating virtual
directories. The physical path to my asp files would be in different drive than the C:\inetpub\wwwroot\... coz it is easier
for me to keep my data safe.
Then running the site http:\\localhost\myproject1 in IE7. mY ASP pages did not work and i got the error
"An error occurred on the server when processing the URL. Please contact the system administrator."
After the changing the send error to browser property to TRUE in the IIS 7 manager I got the error
Microsoft JET Database Engine error '80004005'
Unspecified error
since i was trying to make a database connection.
I spend nearly 24 hrs searching solution in various forums and blogs. Microsoft has clearly stated in their article how to rectify this problem in the following link.
http://support.microsoft.com/kb/926939
According to the article I change the permissions to the temporary directory by entering the following commands in the CMD while running as administrator.
icacls %windir%\serviceprofiles\networkservice\AppData\Local\Temp /grant Users:(CI)(S,WD,AD,X)
icacls %windir%\serviceprofiles\networkservice\AppData\Local\Temp /grant "CREATOR OWNER":(OI)(CI)(IO)(F)
But i did not follow the workaround solution as it may compromise the security.And again running the site it did not work.Then i followed the workaround solution compromising the security
Entering the following commands in the CMD by running as administrator
%windir%\system32\inetsrv\appcmd set config /section:applicationPools /
[name='DefaultAppPool'].processModel.loadUserProfile:false
Now my site works great, compromising security. I thing we are classic asp programmers not IIS managers. We could write a strong code but it is for microsoft to bring a better solution.
IIS 7 has been made with tons of features, I would appreciate if there is a easy way working on with IIS 7 than entering all the commands in CMD to run you ASP'S.