1

I'm using installshield to install my website to IIS, it works fine on windows server 2003, 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?

Mitch Dempsey
  • 38,725
  • 6
  • 68
  • 74
Ji Yalin
  • 1,180
  • 2
  • 9
  • 14

1 Answers1

0

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