title: Javascript SignalR Stop Refused to execute script
body: <p>I'm getting this error when calling <strong>$.connection.hub.stop();</strong> </p>
  
  <p><strong><em>Refused to execute script from ... because its MIME type ('') is not executable, and strict MIME type checking is enabled.</em></strong></p>
  
  <p>SignalR Client: <strong>jquery.signalR-2.2.3.min.js</strong></p>
  
  <p>SignalR Server: <strong>All Nugets are up to date</strong></p>
  
  <p><strong>Startup.cs</strong></p>
  
  <pre><code> app.Map("/signalr", map =&gt;
          {
              map.UseCors(CorsOptions.AllowAll);
              var Configuration = new HubConfiguration
              {                    
                  EnableJSONP = true,
                  EnableJavaScriptProxies = true,
                  EnableDetailedErrors = true                    
              };
              map.RunSignalR(Configuration);
          });
  </code></pre>
  
  <p><strong>Javascript</strong></p>
  
  <pre><code>$.connection.hub.start({ jsonp: true }).done(function () { ... });
  </code></pre>
  
  <p>Any ideas about fix?</p>