मैंने वेबमैट्रिक्स 2 को अपग्रेड करने की गलती की है जिसे मैं नवीनतम संस्करण में चला रहा था और अब यह सबकुछ टूट गया है!वेबमैट्रिक्स 2 टूटा
इस बारे में स्क्रीन से मैं क्या चला रहा हूँ है:
iisnode था: जब तक मैं WebMatrix 2 का नवीनतम संस्करण स्थापित
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
सब कुछ सही चल रहा था जो अब मैं इस त्रुटि हो रही है में कॉन्फ़िगरेशन फ़ाइल को पढ़ने में असमर्थ। सुनिश्चित करें कि web.config फ़ाइल वाक्यविन्यास सही है। विशेष रूप से, Iisnode कॉन्फ़िगरेशन अनुभाग सत्यापित स्कीमा से मेल खाता है सत्यापित करें। Iisnode अनुभाग की स्कीमा जो iisnode के आपके संस्करण की आवश्यकता है% systemroot% \ system32 \ inetsrv \ config \ schema \ iisnode_schema.xml फ़ाइल में संग्रहीत है।
इसका क्या मतलब है ???? स्कीमा?
यहां मेरी वेब.कॉन्फिग फ़ाइल है, मैंने इसमें कुछ भी नहीं बदला है, वेबमैट्रिक्स इसके बारे में शिकायत क्यों कर रहा है ???
मैंने टेम्पलेट उदाहरणों को चलाने का भी प्रयास किया है लेकिन वे एक ही संदेश प्रदर्शित करते हैं। चीजों को तोड़ने के लिए आपने माइक्रोसॉफ्ट क्या किया है !!! ???
<!-- Don't interfere with requests for logs -->
<rule name="LogFile" patternSyntax="ECMAScript" stopProcessing="true">
<match url="^[a-zA-Z0-9_\-]+\.js\.logs\/\d+\.txt$"/>
</rule>
<!-- Don't interfere with requests for node-inspector debugging -->
<rule name="NodeInspector" patternSyntax="ECMAScript" stopProcessing="true">
<match url="^server.js\/debug[\/]?" />
</rule>
<!-- First we consider whether the incoming URL matches a physical file in the /public folder -->
<rule name="StaticContent">
<action type="Rewrite" url="public{REQUEST_URI}"/>
</rule>
<!-- All other URLs are mapped to the Node.js application entry point -->
<rule name="DynamicContent">
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="True"/>
</conditions>
<action type="Rewrite" url="server.js"/>
</rule>
</rules>
</rewrite>
<!-- You can control how Node is hosted within IIS using the following options -->
<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=""
/>
<!-- <iisnode watchedFiles="*.js;node_modules\*;routes\*.js;views\*.ejs;middleware\*.js"/>-->
<!-- watchedFiles="*.js" -->
</system.webServer>
यह मेरे लिए काम किया। धन्यवाद! – mpen
मुझे iisnode को अनइंस्टॉल करना था और उपरोक्त नील द्वारा नोट किए गए https://github.com/tjanczuk/iisnode से x64 पैकेज को पुनर्स्थापित करना पड़ा। –