I made a mistake in updating webmatrix 2, which works for me to the latest version, and now it has broken everything!
From the about this screen, I run:
Version 2.0 WebMatrix: 7.1.1674.0 IIS Express: 8.0.8418.0 .NET Framework: 4.0.30319.269 (RTMGDR.030319-2600) Web Deploy: 7.1.1631.0 SQL Server Compact: 4.0.8854.1 Web Platform Installer: 7.1.1622.0 ASP.NET Web Pages: 2.0.20715.0
Everything worked fine until I installed the latest version of webmatrix 2, in which now I get this error:
iisnode could not read the configuration file. Verify that the syntax of the web.config file is correct. In particular, verify that the iisnode configuration section matches the expected pattern. The iisnode section diagram that your iisnode version requires is stored in the% systemroot% \ system32 \ inetsrv \ config \ schema \ iisnode_schema.xml file.
What the hell does that mean ???? scheme?
Here is my web.config file. I have not changed anything in it, why does webmatrix complain about it ???
I even try to run sample templates, but they display the same message. What did you do Microsoft to break things ????
<rule name="LogFile" patternSyntax="ECMAScript" stopProcessing="true"> <match url="^[a-zA-Z0-9_\-]+\.js\.logs\/\d+\.txt$"/> </rule> <rule name="NodeInspector" patternSyntax="ECMAScript" stopProcessing="true"> <match url="^server.js\/debug[\/]?" /> </rule> <rule name="StaticContent"> <action type="Rewrite" url="public{REQUEST_URI}"/> </rule> <rule name="DynamicContent"> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="True"/> </conditions> <action type="Rewrite" url="server.js"/> </rule> </rules> </rewrite> <iisnode node_env="%node_env%" nodeProcessCommandLine=""%programfiles%\nodejs\node.exe"" nodeProcessCountPerApplication="1" maxConcurrentRequestsPerProcess="1024" maxNamedPipeConnectionRetry="3" namedPipeConnectionRetryDelay="2000" maxNamedPipeConnectionPoolSize="512" maxNamedPipePooledConnectionAge="30000" asyncCompletionThreadCount="0" initialRequestBufferSize="4096" maxRequestBufferSize="65536" watchedFiles="*.js;node_modules\*;routes\*.js;views\*.ejs;middleware\*.js" uncFileChangesPollingInterval="5000" gracefulShutdownTimeout="60000" loggingEnabled="true" logDirectoryNameSuffix="logs" debuggingEnabled="true" debuggerPortRange="5058-6058" debuggerPathSegment="debug" maxLogFileSizeInKB="128" appendToExistingLog="false" logFileFlushInterval="5000" devErrorsEnabled="true" flushResponse="false" enableXFF="false" promoteServerVars="" /> </system.webServer>
PazoozaTest Pazman
source share