관리자 그룹에있는 Windows 8.1 컴퓨터에서 WCF Net.Tcp 서비스를 호스팅 할 때 다음 오류가 발생합니다. 액세스가 거부 되었기 때문에 서비스 끝점에서 'net.tcp : // localhost : 9001/dataservice'URI를 수신하지 못했습니다. 현재 사용자에게 SMSvcHost.exe.config의 해당 allowAccounts 섹션에 액세스 권한이 부여되었는지 확인하십시오.net.tcp의 WCF 오류 "액세스가 거부 되었기 때문에 서비스 끝점에서 URI를 수신하지 못했습니다.
이<?xml version="1.0" encoding="utf-8"?>
<!-- The configuration file for SMSvcHost.exe -->
<configuration>
<runtime>
<gcConcurrent enabled="false" />
</runtime>
<system.serviceModel>
<!-- SMSvcHost ETW traces are redirected by default to an etwProviderId different from WCF's default.
To trace to the default provider, remove the etwProviderId attribute below. -->
<diagnostics performanceCounters="Off" etwProviderId="{f18839f5-27ff-4e66-bd2d-639b768cf18b}"/>
</system.serviceModel>
<system.serviceModel.activation>
<net.tcp listenBacklog="10" maxPendingConnections="100" maxPendingAccepts="2" receiveTimeout="00:00:10" teredoEnabled="false">
<allowAccounts>
<add securityIdentifier="S-1-5-18"/>
<add securityIdentifier="S-1-5-19"/>
<add securityIdentifier="S-1-5-20"/>
<add securityIdentifier="S-1-5-32-544" />
<add securityIdentifier="S-1-5-21-2476327175-1934278006-4092406606"/>
</allowAccounts>
</net.tcp>
<net.pipe maxPendingConnections="100" maxPendingAccepts="2" receiveTimeout="00:00:10">
<allowAccounts>
<add securityIdentifier="S-1-5-18"/>
<add securityIdentifier="S-1-5-19"/>
<add securityIdentifier="S-1-5-20"/>
<add securityIdentifier="S-1-5-32-544" />
<add securityIdentifier="S-1-5-21-2476327175-1934278006-4092406606"/>
</allowAccounts>
</net.pipe>
<diagnostics performanceCountersEnabled="true" />
</system.serviceModel.activation>
</configuration>
하지만 여전히 같은 오류가 발생,이 함께 잘 작동 : 제안
나는 심지어 설정에 사용자를 추가 W7 머신의 컨피규레이션 변경에 대한 필요성은 없습니까?
내 컴퓨터에서 실행중인 서비스가있는 것 같지 않지만 구성 변경 후에도 컴퓨터를 다시 시작하려고했으나 여전히 같은 오류가 발생했습니다. – Rubans