[Solved] SignalR not working after deploying in IIS

makumbi
 
on Aug 27, 2022 02:51 AM
3094 Views

Please my SignalR App works well locally but after deploying to IIS win 10 it doesn't work.

I have tried to activate web sockets but all in vain please help how can i configure SignalR to work in my IIS.

I am using windows 10

Please help

Download FREE API for Word, Excel and PDF in ASP.Net: Download
dharmendr
 
on Aug 27, 2022 03:24 AM

Hi makumbi,

Add the following in the Web.config file.

<configuration>
    <system.webServer>
        <validation validateIntegratedModeConfiguration="false" />
        <modules runAllManagedModulesForAllRequests="true">
        </modules>
    </system.webServer>
</configuration>

Reference: https://stackoverflow.com/questions/8053229/signalr-hub-not-loading-in-iis-7-but-working-correctly-in-visual-studio