MS의 Visual Web Developer에서 완전히 기본 ASP.NET 웹 서비스 프로젝트와 다른 프로젝트가 있습니다. 두 번째 프로젝트에서 오른쪽 클릭 메뉴를 사용하여 "Add Service Reference"를 실행하면 옵션으로 나열된 첫 번째 프로젝트를 찾을 수 있지만 선택하려고하면 오류가 발생하여 오류가 발생합니다."서비스 참조 추가"가 실패했습니다
Metadata contains a reference that cannot be resolved: 'http://0.0.0.0:3495/Service1.asmx?wsdl'. There was an error downloading 'http://0.0.0.0:3495/Service1.asmx?wsdl'. Unable to connect to the remote server The requested address is not valid in its context 0.0.0.0:3495 Metadata contains a reference that cannot be resolved: 'http://localhost:3495/Service1.asmx'. Metadata contains a reference that cannot be resolved: 'http://localhost:3495/Service1.asmx'. If the service is defined in the current solution, try building the solution and adding the service reference again.
WCF 서비스를 사용할 때도 동일한 문제가 발생했습니다.
내가 뭘 잘못하고 있니?
나는 this service 가지고 일을 그와 함께 작동 this reference을 발견했다. ( WhyT_은 기본 서비스가 바로 작동하지 않는 이유는 무엇입니까?)
기쁨을 Ctrl 키 F5가 보인다 서비스를 시작하지만, 난 여전히 같은 오류는 '서비스를 추가'옵션 및 IIRC도 밖으로 그냥 F5의 회색이 경우에도 작동을 얻을 I 다른 VS 세션에서 동일한 솔루션을 엽니 다. – BCS
흠 ... IIS를 사용하여 서비스를 디버그 한 다음 참조를 추가 할 수 있습니까? –
포인트를 물리 칠 수 있도록 추가 참조 비트를 디버깅하려고합니다. – BCS