的NuGet:远程服务器返回禁止错误(403) [英] NuGet: remote server returned an Error(403) Forbidden

查看:812
本文介绍了的NuGet:远程服务器返回禁止错误(403)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我试图安装一个软件包,我得到这个错误

Whenever i attempt to install a package i get this error

remote server returned an Error(403) Forbidden

我可以用其他命令,如获得包-ListAvailable,并发现是否有更新已经安装的软件包,但通过的NuGet实际上不能安装任何东西。

I can use other commands, such as get-package -ListAvailable, and discover whether there are any updates for installed packages but cannot actually install anything via Nuget.

这是相同的命令行和包管理器图形用户界面。

This is the same for the command line and the package manager GUI.

我使用的Visual Web Developer 2010。

I'm using Visual Web Developer 2010.

我在企业环境中也一样,我怀疑是主要的问题。

I'm in a corporate environment too, which i suspect is the chief issue.

任何可能的指针?

推荐答案

您使用TFS?这似乎引起奇怪的问题,有一个在论坛上的信息有关删除DLL来变通办法:

Are you using TFS? It seems to cause weird problems, there's info in the forums about removing a DLL to workaround it:

HTTP://nuget.$c$cplex.com/discussions/246381

如果它不是 - 你有一个的NuGet不与正常认证代理这可能吗?这里有一个问题,关于这个错误追踪:

If it's not that - is it possible you have a proxy that NuGet isn't authenticating with properly? There's an issue in the bugtracker about this:

HTTP://nupack.$c$cplex.com/workitem/231

看起来像它可能已被最近固定的(虽然不知道这是否是把它做成一个发布版本还)。

Looks like it may have been fixed recently (though not sure if it's made it into a released build yet).

如果做不到这一点,你能捕捉提琴手和后期细节在这里确切的请求?

Failing that, could you capture the exact request with Fiddler and post details here?

这篇关于的NuGet:远程服务器返回禁止错误(403)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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