问题描述
我正在尝试将网络引用添加到我的ASP.Net 3.0项目中。这是对SQL Server Reporting Services Web服务的引用。我已经确认该服务已启动并且正在运行,但是当我尝试在项目中添加Web引用时,系统会提示我输入我的凭据,然后一次又一次地提示我。我必须点击取消以停止恶性循环。这样做时,服务定义会出现在窗口中,但是添加引用按钮被禁用,因此我无法将引用添加到我的项目中。
I'm attempting to add a web reference to my ASP.Net 3.0 project. This is a reference to the SQL Server Reporting Services web service. I have verified the service is up and running, but when I try to add the web reference in my project, I am prompted for my credentials, which I enter, and then prompted again and again and again. I have to hit cancel to stop the vicious cycle. When I do that the service definition comes up in the window, but the "Add Reference" button is disabled so I can't add the reference to my project.
我对SQL Reporting Services配置了解有限。如果有人知道如何解决此问题,我将不胜感激。
I have limited knowledge of SQL Reporting Services configurations. If anyone knows how to resolve this problem I'd really appreicate it.
推荐答案
一个漫长的周末后,我回到了这段代码,这次却神秘地起作用了。没有提示引用Web服务。这使我认为服务器上的某些配置已更改和/或服务器已重新启动。不确定这是否能解释所有问题。
I came back to this code after a long weekend and it just mysteriously worked this time. No prompts to reference the web service. This leads me to think that some configuration on the server was changed and/or the server was rebooted. Not sure that this actually explains anything.
这篇关于添加Web参考提示输入具有“发现凭证”的凭证。对话框,但不接受有效的凭据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!