IIS Extension Error : Unknown error has occurred when trying to initialize Web Server Module

%3CLINGO-SUB%20id%3D%22lingo-sub-1097133%22%20slang%3D%22en-US%22%3EIIS%20Extension%20Error%20%3A%20Unknown%20error%20has%20occurred%20when%20trying%20to%20initialize%20Web%20Server%20Module%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1097133%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20guys%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20take%20a%20small%20look%20on%20this%20issue%20but%20can't%20find%20something.%3C%2FP%3E%3CP%3EAfter%20installing%20the%20IIS%20extension%20and%20the%20IIS%20Administration%20plugin%20on%20my%20remote%20server%2C%20i%20always%20get%20this%20error%20%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EUnknown%20error%20has%20occurred%20when%20trying%20to%20initialize%20Web%20Server%20Module%3A%20%22La%20connexion%20sous-jacente%20a%20%C3%A9t%C3%A9%20ferm%C3%A9e%26nbsp%3B%3A%20Une%20erreur%20inattendue%20s'est%20produite%20lors%20de%20la%20r%C3%A9ception.%22%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThe%20part%20in%20french%20should%20be%20%22The%20underlying%20connection%20was%20closed%3A%20An%20unexpected%20error%20occurred%20on%20a%20send.%22%20(I%20think)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EIn%20the%20debug%20console%20I%20have%20an%20error%20400%20on%20a%20put%20(%2FpowershellApi%2Fpssessions%2Fwac-iis-newSession%3Fapi-version%3D2019-02-01%20400%20(Bad%20Request))%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3Eand%20this%20stack%20%3A%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E(object)%3A%20Script%20%23%23Initialize-AdminAPI%23%23%3AInitialize-AdminAPI.ps1%20failed%3C%2FP%3E%3CP%3E(object)%3A%20AjaxError%3A%20ajax%20error%20400%3C%2FP%3E%3CP%3E(object)%3A%20Unable%20to%20parse%20error%20message%20SyntaxError%3A%20Unexpected%20token%20L%20in%20JSON%20at%20position%200%2C%20the%20error%20must%20be%20unexpected%3C%2FP%3E%3CP%3EERROR%20Error%3A%20Uncaught%20(in%20promise)%3A%20Unknown%20error%20has%20occurred%20when%20trying%20to%20initialize%20Web%20Server%20Module%3A%20%22La%20connexion%20sous-jacente%20a%20%C3%A9t%C3%A9%20ferm%C3%A9e%26nbsp%3B%3A%20Une%20erreur%20inattendue%20s'est%20produite%20lors%20de%20la%20r%C3%A9ception.%22%3CBR%20%2F%3Eat%20resolvePromise%20(zone.js%3A814)%3CBR%20%2F%3Eat%20resolvePromise%20(zone.js%3A771)%3CBR%20%2F%3Eat%20zone.js%3A873%3CBR%20%2F%3Eat%20ZoneDelegate.push..%2Fnode_modules%2Fzone.js%2Fdist%2Fzone.js.ZoneDelegate.invokeTask%20(zone.js%3A421)%3CBR%20%2F%3Eat%20Object.onInvokeTask%20(core.js%3A19821)%3CBR%20%2F%3Eat%20ZoneDelegate.push..%2Fnode_modules%2Fzone.js%2Fdist%2Fzone.js.ZoneDelegate.invokeTask%20(zone.js%3A420)%3CBR%20%2F%3Eat%20Zone.push..%2Fnode_modules%2Fzone.js%2Fdist%2Fzone.js.Zone.runTask%20(zone.js%3A188)%3CBR%20%2F%3Eat%20drainMicroTaskQueue%20(zone.js%3A595)%3CBR%20%2F%3Eat%20ZoneTask.push..%2Fnode_modules%2Fzone.js%2Fdist%2Fzone.js.ZoneTask.invokeTask%20%5Bas%20invoke%5D%20(zone.js%3A500)%3CBR%20%2F%3Eat%20invokeTask%20(zone.js%3A1540)%3C%2FP%3E%3CP%3E%3CSPAN%3EAny%20idea%20%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Regular Visitor

Hi guys,

 

I take a small look on this issue but can't find something.

After installing the IIS extension and the IIS Administration plugin on my remote server, i always get this error : 

 

Unknown error has occurred when trying to initialize Web Server Module: "La connexion sous-jacente a été fermée : Une erreur inattendue s'est produite lors de la réception."

 

The part in french should be "The underlying connection was closed: An unexpected error occurred on a send." (I think)

 

In the debug console I have an error 400 on a put (/powershellApi/pssessions/wac-iis-newSession?api-version=2019-02-01 400 (Bad Request))

 

and this stack : 

 

(object): Script ##Initialize-AdminAPI##:Initialize-AdminAPI.ps1 failed

(object): AjaxError: ajax error 400

(object): Unable to parse error message SyntaxError: Unexpected token L in JSON at position 0, the error must be unexpected

ERROR Error: Uncaught (in promise): Unknown error has occurred when trying to initialize Web Server Module: "La connexion sous-jacente a été fermée : Une erreur inattendue s'est produite lors de la réception."
at resolvePromise (zone.js:814)
at resolvePromise (zone.js:771)
at zone.js:873
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:421)
at Object.onInvokeTask (core.js:19821)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:420)
at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:188)
at drainMicroTaskQueue (zone.js:595)
at ZoneTask.push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask [as invoke] (zone.js:500)
at invokeTask (zone.js:1540)

Any idea ?

0 Replies