Issue with OWIN on Ubuntu VM

117 views
Skip to first unread message

sam Reddy

unread,
Mar 18, 2015, 8:54:31 PM3/18/15
to net-http-a...@googlegroups.com

I have tried hosting a webpage on Koding.com Ubuntu VM using OWIN and getting the following exception. I have made sure the project is targeted to .net 4.5.1. Not sure whats happening. Any ideas?

Missing method Where in assembly /home/samreach/OWINSample/Microsoft.Owin.Hosting.dll, type System.Linq.Enumerable

Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly ‘System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e08
9′ or one of its dependencies.
File name: ‘System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089′
at Microsoft.Owin.Hosting.Services.ServiceProvider.Add (System.Type serviceType, System.Type implementationType) [0x00000] in :0
at Microsoft.Owin.Hosting.Services.ServicesFactory+c__DisplayClass1.b__0 (System.Type service, System.Type implementation) [0x00000
] in :0
at Microsoft.Owin.Hosting.Services.ServicesFactory+c__DisplayClass4.b__3 (System.Type service, System.Type implementation) [0x0
0000] in :0
at Microsoft.Owin.Hosting.Services.ServicesFactory.DoCallback (System.Action`2 callback) [0x00000] in :0
at Microsoft.Owin.Hosting.Services.ServicesFactory.DoCallback (IDictionary`2 settings, System.Action`2 callback) [0x00000] in :0
at Microsoft.Owin.Hosting.Services.ServicesFactory.Create (IDictionary`2 settings, System.Action`1 configuration) [0x00000] in :0
at Microsoft.Owin.Hosting.Services.ServicesFactory.Create (IDictionary`2 settings) [0x00000] in :0
at Microsoft.Owin.Hosting.WebApp.BuildServices (Microsoft.Owin.Hosting.StartOptions options) [0x00000] in :0
at Microsoft.Owin.Hosting.WebApp.Start (Microsoft.Owin.Hosting.StartOptions options) [0x00000] in :0
at Microsoft.Owin.Hosting.WebApp.Start[Startup] (Microsoft.Owin.Hosting.StartOptions options) [0x00000] in :0
at Microsoft.Owin.Hosting.WebApp.Start[Startup] (System.String url) [0x00000] in :0
at OwinSample.Program.Main (System.String[] args) [0x00000] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly ‘System.Core, Version=4.0.0.0, Culture=neut
ral, PublicKeyToken=b77a5c561934e089′ or one of its dependencies.
File name: ‘System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089′
at Microsoft.Owin.Hosting.Services.ServiceProvider.Add (System.Type serviceType, System.Type implementationType) [0x00000] in :0
at Microsoft.Owin.Hosting.Services.ServicesFactory+c__DisplayClass1.b__0 (System.Type service, System.Type implementation) [0x00000
] in :0
at Microsoft.Owin.Hosting.Services.ServicesFactory+c__DisplayClass4.b__3 (System.Type service, System.Type implementation) [0x0
0000] in :0
at Microsoft.Owin.Hosting.Services.ServicesFactory.DoCallback (System.Action`2 callback) [0x00000] in :0
at Microsoft.Owin.Hosting.Services.ServicesFactory.DoCallback (IDictionary`2 settings, System.Action`2 callback) [0x00000] in :0
at Microsoft.Owin.Hosting.Services.ServicesFactory.Create (IDictionary`2 settings, System.Action`1 configuration) [0x00000] in :0
at Microsoft.Owin.Hosting.Services.ServicesFactory.Create (IDictionary`2 settings) [0x00000] in :0
at Microsoft.Owin.Hosting.WebApp.BuildServices (Microsoft.Owin.Hosting.StartOptions options) [0x00000] in :0
at Microsoft.Owin.Hosting.WebApp.Start (Microsoft.Owin.Hosting.StartOptions options) [0x00000] in :0
at Microsoft.Owin.Hosting.WebApp.Start[Startup] (Microsoft.Owin.Hosting.StartOptions options) [0x00000] in :0
at Microsoft.Owin.Hosting.WebApp.Start[Startup] (System.String url) [0x00000] in :0
at OwinSample.Program.Main (System.String[] args) [0x00000] in :0

Damian Hickey

unread,
Mar 19, 2015, 12:03:48 AM3/19/15
to net-http-a...@googlegroups.com

Hi Sam, this mailing list is for discussion of OWIN *the specification*. It appears you are having issues with Microsoft.Owin. You should direct your question to katana project on codeplex or perhaps stackoverflow.

Reply all
Reply to author
Forward
0 new messages