Visual Studio 2012'de, hedef çerçevenin bulunduğu bir ASP.NET MVC 4 projesi oluşturdum. .NET Framework 4.5.Dosya veya derleme yüklenemedi 'System.Web.Http.WebHost, Sürüm = 4.0.0.0, Culture = neutral, PublicKeyToken = 31bf3856ad364e35'
Could not load file or assembly 'System.Web.Http.WebHost, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file
specified.
Description: An unhandled exception occurred during the execution of the current web request.
Please review the stack trace for more information about the error and where
it originated in the code.
Exception Details: System.IO.FileNotFoundException: Could not load file or
assembly 'System.Web.Http.WebHost, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
The system cannot find the file specified.
Source Error:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34237
Web konuşmasını kullandınız mı veya nasıl dağıttınız? – John
@John i yayınladıktan sonra bu dosyaları ana bilgisayara kopyalayın – user1688401
Doğrudan sunucuya yayınlayabiliyor musunuz? Veya web dağıtmak zip ya da bir şey kullanmak? Bu, tüm dosyaların dahil edildiğinden emin olacaktır. Ayrıca MVC'nin sunucuda kurulu olduğundan emin olun. – John