Nuget Server返回403和404 [英] Nuget Server returning 403's and 404's

查看:192
本文介绍了Nuget Server返回403和404的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正尝试在以下主机上托管我的Amazon EC2 VPS,但出现问题.

I'm trying to host nuget on my Amazon EC2 VPS, and I'm having issues.

  1. 我已按照此处的说明进行操作(托管您自己的NuGet Feeds )
  2. 我已阅读此线程( NuGet:远程服务器返回错误( 403)禁止).
  1. I've followed the instructions here ( Hosting your own NuGet Feeds )
  2. I've read this thread ( NuGet: remote server returned an Error(403) Forbidden ) along the same lines.
  1. 我没有运行TFS
  2. 可能"是代理问题,但我不确定如何检查.

我的NuGet提要位于 http://nuget.infinitas.ws .您会注意到, http://nuget.infinitas.ws/nuget/Packages http://nuget.infinitas.ws/Packages 抛出错误.

My NuGet feed is located at http://nuget.infinitas.ws. You'll notice that both http://nuget.infinitas.ws/nuget/Packages and http://nuget.infinitas.ws/Packages are throwing errors.

任何帮助,将不胜感激.

Any help with this will be greatly appreciated.

推荐答案

您可能正在Web站点项目中运行NuGet.Server.尝试改为通过ASP.NET Web应用程序运行它(在Visual Studio中,您可以通过文件->新建->项目-> ASP.NET Web应用程序创建一个)

You are probably running the NuGet.Server in a Web Site-project. Try to run it via an ASP.NET Web Application instead (in Visual Studio you can create one via File -> New -> Project -> ASP.NET Web Application)

这篇关于Nuget Server返回403和404的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆