I am trying to create a SharePoint webpart using SignalR. At first I tried solution on MVC web site. And I moved files on SharePoint to get solution but it didn't happen. After that I research on the web again and agreed to develop it on SharePoint Hosted app. It worked! When I try to use it in SharePoint page as an App Part it has been in an iframe and it was not the thing what I want.

Returned to the beginning.

Checked all steps at that blog


and still no solution and getting error on ULS :

System.IO.FileNotFoundException: Could not load file or assembly 'Owin, Version=, Culture=neutral, PublicKeyToken=f0ebd12fd5e55cc5' or one of its dependencies. The system cannot find the file specified.
at Microsoft.Owin.Host.SystemWeb.OwinBuilder.Build()

In my web config there is no version Owin

Can anyone help?

  • You probably need to add the assemblies to your Package. Although I'm not sure why you would run SignalR in SharePoint when the app approach should work great (Provider-hosted, not SharePoint hosted), also, SignalR works well with CORS so you could run in instance anywhere really
    – eirikb
    Feb 23, 2015 at 19:55
  • In SharePoint apps I already launched my example. I need it in visual webpart.
    – canperk
    Feb 24, 2015 at 6:36
  • What I'm trying to get at is; why is an iframe (used in App Part) a problem? You can have access to all the SharePoint data from within the iframe, CRUD on behalf of the user.
    – eirikb
    Feb 24, 2015 at 6:42
  • SharePoint App is good but is there any way to show SP.ModalDialog in whole page using App Part on SharePoint Page? If I try to use it for example it shows only its own iframe zone
    – canperk
    Feb 25, 2015 at 15:44
  • You could instead show the app inside a dialog (iframe to the app). Not sure what the best approach is, but I did a simple test by calling OpenPopUpPage with the iframe src for an app part, and it worked
    – eirikb
    Feb 25, 2015 at 21:29

1 Answer 1


I solved my problem with adding all dll references which are dependent. Owin, Newtonsoft.JSON, Microsoft.ASPNET.SignalR.* like that... It works now

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.