Add Web Reference prompts for credentials with “Discovery Credential” dialog but won't accept valid credentials

人走茶凉 提交于 2019-12-13 04:11:50

问题


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.

I have limited knowledge of SQL Reporting Services configurations. If anyone knows how to resolve this problem I'd really appreicate it.


回答1:


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.



来源:https://stackoverflow.com/questions/2255904/add-web-reference-prompts-for-credentials-with-discovery-credential-dialog-but

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!