Ji Yalin
Ji Yalin

Reputation: 1250

Can't find IISROOTFOLDER on Windows Server 2008

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?

Upvotes: 1

Views: 371

Answers (1)

user3107312
user3107312

Reputation: 46

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

Upvotes: 0

Related Questions