The server factory could not be located for the given input: Microsoft.Owin.Host.HttpListener

  The server factory could not be located for the given input: Microsoft.Owin.Host.HttpListener

运行WebApi服务器报错:

The server factory could not be located for the given input: Microsoft.Owin.Host.HttpListener


问题分析:

项目没有添加:Microsoft.Owin.Host.HttpListener.dll


解决方案:


工程项目-->鼠标右键-->管理Nu程序包-->浏览-->输入:Microsoft.Owin.Host.HttpListener-->安装。


贴图图片-项目添加Microsoft.Owin.Host.HttpListener.dll



C/S框架网|原创精神.创造价值.打造精品

扫一扫加微信
C/S框架网作者微信 C/S框架网|原创作品.质量保障.竭诚为您服务


版权声明:本文为开发框架文库发布内容,转载请附上原文出处连接
C/S框架网
发表评论

评论内容
昵称:
关联文章

The server factory could not be located for the given input: Microsoft.Owin.Host.HttpListener
FastReport报错:TfrxReportClass cold not be found!
How to changing the asp.net development server port?
ASPNET WebApi服务器三种承载方式:SelfHosting,IIS Hosting, WinService Hosting
基于Owin自承载Microsoft.AspNet.WebApi服务器NuGet程序包运行环境
异步实现Socket Server&Client
The Database principal owns a schema in the database
WebApi框架:编译提示缺少Microsoft.Owin.Extensions引用
C# ASP.NET WebApi服务器搭建详解 - 自承载(Self Hosting
调用WebApi接口POST操作失败Unable to connect to the remote server
Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the s
承载 Service Host 和使用 WCF 服务
C# ASP.NET WebApi服务器搭建详解 - Win服务承载(Windows Service Hosting宿主)
升级程序DataTable.ReadXml报错:MySql.Data.Types.MySqlDateTime is not allowed here
[下载]DataSet Remoting(DataSetSurrogate)
打开设计窗体报错:To prevent possible data loss before loading the designer
原因是未找到“LC.exe”,或未安装正确的 Microsoft Windows SDK
the pre-login handshake. (provider: SSL Provider, error: 0
C#实现SQL查询分析器(C# Visual SQL Query Designer)
SQL Server 判断是否存在数据库,表,列,视图