'system.net/defaultproxy'구성에 지정된 웹 프록시 생성 : 내 웹 설정에서Log4Net : 오류 내가 아주 이상한 오류가 섹션
을 나는이 :
<system.diagnostics>
<trace autoflush="true">
<listeners>
<add name="textWriterTraceListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="C:\tmp\log4net.txt" />
</listeners>
</trace>
을 그래서 때 www.google.com (예 :)을 내 코드로 연결해보십시오.
<system.diagnostics>
<trace autoflush="true">
<listeners>
<add name="textWriterTraceListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="C:\log4net.txt" />
</listeners>
</trace>
모두 잘 작동 : 내가 가진 내 경로에서 TMP를 제거하면
Error creating the web proxy specified in the 'system.net/defaultproxy' configuration section
: 나는 오류가 있습니다.
이상한가요?
누군가가 아이디어가 있습니까?
tmp 폴더가 존재하고 웹 프로세스가 해당 폴더에 쓸 수있는 권한이 있는지 확인 했습니까? – Geoff
물론 C : \ log4net2.txt의 이름 만 변경하면 더 이상 작동하지 않습니다. – Tkanos