Web服务可以从服务器运行,但不能运行本地计算机。 [英] Web service can run from server, but not my local machine.

查看:130
本文介绍了Web服务可以从服务器运行,但不能运行本地计算机。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个VB.NET 2010程序正在调用供应商的web服务。出于某种原因,我是 现在从本地计算机运行时出现身份验证错误。当我从服务器运行它时,我没有问题。我真的需要能够在本地运行
进行调试,因为我现在必须将返回的数据推送到数据库中。有任何想法吗?我知道它连接到供应商webservice,但是我收到错误"身份验证失败 - 客户端没有提供有效的凭据"。我在服务器和本地使用相同的用户和
密钥。我知道它们是正确的,因为它从服务器运行时连接。在此先感谢您的帮助。

I have a VB.NET 2010 program that's calling a vendor's webservice. For some reason, I'm  now getting authentication errors when running from my local machine. When I run it from the server, I have no problem. I really need to be able to run it locally for debugging purposes since I now have to push the returned data into a database. Any ideas? I know it connects to the vendors webservice, but I get an error "Authentication Failed -- Client did not provide valid credentials". I'm using the same user and key both when on the server and locally. I know they're correct since it connects when run from the server. Thanks in advance for any help.

推荐答案

使用Fiddler,我收到消息"No Proxy" - 授权标题存在。"和"没有授权标题存在。",但他们为什么不在那里?

Using Fiddler, I get the messages "No Proxy-Authorization Header is present." and "No Authorization Header is present.", but why wouldn't they be there?


这篇关于Web服务可以从服务器运行,但不能运行本地计算机。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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