I'm using installshield to install my website to IIS, it works fine on windows server 2003,开发者_C百科 but while running on windows server 2008, it raise an error saying:
Error 1606. Could not access network location {IISROOTFOLDER}
.
How can I fix this problem?
First you need to check your iisrootfolder. In default website properites check home directory - local path. Some times its missing changes so you could try vbscript custom action to get the "true" root directory: Dim objIIsWebService Set objIIsWebService = GetObject("IIS://localhost/W3SVC/1/ROOT") MsgBox objIIsWebService.Path
精彩评论