| Friday, March 7, 2008 |
| vista, IIS7 and classic ASP/access |
so, i finally moved to vista as my work grew, since XP/IIS5 doesnt allow more than one website running at a time. however, i was'nt greeted with everything running perfect the first time, as usual ;) so, i looked up the iis site, a few blogs there, and found the solution! (do these commands in CMD, though run CMD with administrative privileges)
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) %windir%\system32\inetsrv\appcmd set config -section:asp -scriptErrorSentToBrowser:true %windir%\system32\inetsrv\appcmd set config -section:asp -enableParentPaths:true these commands = heaven! although, something is still gonna bug you! yes, there you go, permissions! here's the solution to that... c:\inetpub\wwwroot > properties > security tab > IIS_IUSRS (groups or user names) > advanced > permissions tab > edit > give full control you might need to take ownership of the folder first.. this makes sure, that any changes to the database from the ASP application does get saved, rather than giving out the usual 'operation must use an updateable query' also described here
that's about it, should start running everything as smooth as you'd want it to be :)Labels: access, asp, db, iis7, vista |
| posted by ali zahid at 11:41 AM | 0 comments |