Internet Information Services-websites (IIS) die gebruikmaken van HTTP vertrouwen voor hun beschikbaarheid op meerdere belangrijke IIS-onderdelen. De Windows Process Activation-service (WAS), de World Wide Web Publishing-service (W3SVC) en de HTTP-service moeten allemaal juist worden uitgevoerd. Daarnaast moet een groep van juist uitgevoerde toepassingen beschikbaar zijn voor de toepassingen van de website. Als een van deze onderdelen niet werkt, is de website niet beschikbaar.
Het pad naar de toepassing voor een site instellen
Een website moet een geldig pad naar de toepassing hebben. Als het pad naar de toepassing onjuist is, zal de site niet starten. Stel een geldig pad naar de toepassing in voor de website en start de site opnieuw.
Een geldig pad naar de toepassing instellen voor de website
U stelt als volgt een geldig pad naar de toepassing in voor de website:
Open een opdrachtpromptvenster met verhoogde bevoegdheden. Klik op Start, ga naar Alle programma's, klik op Bureau-accessoires, klik met de rechtermuisknop op Opdrachtprompt en klik op Als administrator uitvoeren.
Typ cd % Windir %\system32\inetsrv\config
Typ notepad ApplicationHost.config.
Zoek in Kladblok naar de sectie Sites onder system.applicationHost, en zoek de website die de fout veroorzaakt.
Corrigeer het pad naar de toepassing of voeg het volgende toe aan de siteconfiguratie, zodat het een standaardpad betreft:
<application path="/">
<virtualDirectory path="/" physicalPath="%SystemDrive%\inetpub\wwwroot" />
</application>
De website opnieuw starten
De website opnieuw starten:
Klik achtereenvolgens op Start, Configuratiescherm en Systeembeheer.
Klik met de rechtermuisknop op Beheer van Internet Information Services (IIS) en selecteer Als administrator uitvoeren.
Vouw in het deelvenster Verbindingen IIS-beheer de computernaam uit.
Vouw sites uit.
Selecteer de website die opnieuw moet worden gestart.
Klik in het Actiedeelvenster op Stop om de site te stoppen.
Klik in het Actiedeelvenster op Start om de site te starten.
U kunt dit ook doen met de onderstaande koppelingen:
Website stoppen
Website starten
Target | Microsoft.Windows.InternetInformationServices.6.2.WebSite | ||
Parent Monitor | System.Health.ConfigurationState | ||
Category | ConfigurationHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.InternetInformationServices.6.2.WebSite.EventLogManualReset2StateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.6.2.WebSite.RootApplicationDefined.Monitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.WebSite" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.InternetInformationServices.6.2.WebSite.EventLogManualReset2StateMonitorType" ConfirmDelivery="false">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.InternetInformationServices.6.2.WebSite.RootApplicationDefined.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ManualResetEventRaised" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
<OperationalState ID="ErrorEventRaised" MonitorTypeStateID="ErrorEventRaised" HealthState="Error"/>
</OperationalStates>
<Configuration>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(5056|5161)$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-WAS</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>