내 문제는 내가 내 솔루션을 실행할 때문제
다음서비스 출력
모습입니다, 나는 아무 문제가 없었다이다 형성 그리고 내 링크는이
좋아하는 그리고 그것은 올바른
하지만이 솔루션을 배포 할 때, 내가
난 아직도 액세스하지만 출력이
처럼가는 수를 만든 설치 프로그램에서 설치 프로그램을 사용하여 설치 내가 그것을 그것을 이동하려고 이처럼 보이는 그것은
내가 그것을 어떻게 해결할 수있는 출력이 없기 때문에 그것은 옳지 않아? Visual Studio에서 실행할 때 예상되는 결과를 얻을 수 있지만 배포 할 때가 아니므로 이미 확인되었습니다.
서비스의 app.config
당신이 <serviceBehaviors>
<behavior name="NewSVCBehavior0"> >
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
</serviceBehaviors>
그리고 대신
<service name="WcfServiceLibrary.Service">
쓰기를 추가해야 <behaviors>
섹션에서
<?xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="WcfServiceLibrary.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</sectionGroup>
</configSections>
<system.web>
<compilation debug="true"/>
</system.web>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
<system.serviceModel>
<behaviors>
<endpointBehaviors>
<behavior name="NewBehavior0">
<webHttp defaultOutgoingResponseFormat="Json" />
</behavior>
</endpointBehaviors>
</behaviors>
<services>
<service name="WcfServiceLibrary.Service">
<endpoint address="" behaviorConfiguration="NewBehavior0" binding="webHttpBinding"
bindingConfiguration="" name="Basic" contract="WcfServiceLibrary.IService" />
<host>
<baseAddresses>
<add baseAddress="http://PHWS13:8080/service" />
</baseAddresses>
</host>
</service>
</services>
</system.serviceModel>
</configuration>
이 서비스에 대한 web.config를 공유 할 수 있습니까? 메시지마다 서비스 동작 태그에 를 추가해야합니다. –
@SandeepKumar, 업데이트 됨. – SHINHAN
관리자 모드에서 winforms 응용 프로그램을 실행 해보십시오. (마우스 오른쪽 버튼으로 클릭하고 관리자 권한으로 실행) –