Viene visualizzato il messaggio di errore seguente quando si tenta di avviare la app ASP.Net Core utilizzando IIS Server v7.5. Ho pubblicato il sito Web (opzione File System in Visual Studio) in una directory specifica. Si avvia correttamente dal file approot/web.cmd. Ma quando provo a collegarlo al server IIS e puntarlo alla cartella wwwroot, ottengo il seguente errore:Server IIS e nucleo ASP.Net: non è possibile accedere alla pagina perché i relativi dati di configurazione per la pagina non sono validi
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
- Detailed Error Information
- Module IIS Web Core
- Notification Unknown
- Handler Not yet determined
- Error Code 0x8007000d
- Config Error
- Config File \?\D:\WebDevelopment\UAT\creativeNamePROD\wwwroot\web.config
- Requested URL http://10.2.177.226:59/
- Physical Path
- Logon Method Not yet determined
- Logon User Not yet determined
- Failed Request Tracing Log Directory
Qui di seguito sono due diversi file web.config ho provato qualsiasi nessuno ha funzionato. Quando provo ad accedere a Configuration Editor in IIS, ottengo anche un errore non chiaro. Qualsiasi aiuto sarebbe molto apprezzato!!!
<configuration>
<system.web>
<httpRuntime maxQueryStringLength="64768" maxUrlLength="65536" />
</system.web>
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxQueryString="64768" />
</requestFiltering>
</security>
<handlers>
<add name="httpplatformhandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified" />
</handlers>
<httpPlatform processPath="..\approot\web.cmd" arguments="" stdoutLogEnabled="false" stdoutLogFile="..\logs\stdout.log" startupTimeLimit="3600"></httpPlatform>
</system.webServer>
</configuration>
web.config # 2 -gets lo stesso errore
<configuration>
<system.webServer>
<handlers>
<add name="httpplatformhandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified" />
</handlers>
<httpPlatform processPath="..\approot\web.cmd" arguments="" stdoutLogEnabled="false" stdoutLogFile="..\logs\stdout.log" startupTimeLimit="3600"></httpPlatform>
</system.webServer>
</configuration>
Chiunque? Qualcuno può fornire un file web.config di esempio che funzioni per loro utilizzando IIS? Sarebbe molto apprezzato !!! – andre
Nessuna risposta? Questo è deludente. –
stesso errore per me, ma solo un suggerimento, sul mio Windows 10 macchina funziona bene, ma gli stessi file esatti, distribuiti su Win Server 2013 R2, risultati sopra l'errore –