Microsoft MVP성태의 닷넷 이야기
WCF 서비스를 이용한 데이터 전송 중 Exception 문의 [링크 복사], [링크+제목 복사]
조회: 11331
글쓴 사람
김우형
홈페이지
첨부 파일
 

클라이언트에서 서버로 WCF서비스를 통해 데이터를 전송하는 중에 몇 시간이 흐르면 다음과 같은 Exception이 발생됩니다.
Exception이 발생되지 전까지는 문제없이 전송이 잘됩니다.
wsHttpBinding 을 사용 중입니다. 구글링을 해봤지만 문의는 있어도 답변이 없어 글을 올리게됐습니다.


System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at System.Collections.ArrayList.ArrayListEnumeratorSimple.MoveNext()
   at System.Configuration.PropertyInformationCollection..ctor(ConfigurationElement thisElement)
   at System.Configuration.ElementInformation.get_Properties()
   at System.ServiceModel.Configuration.MessageSecurityOverHttpElement.ApplyConfiguration(MessageSecurityOverHttp security)
   at System.ServiceModel.Configuration.NonDualMessageSecurityOverHttpElement.ApplyConfiguration(NonDualMessageSecurityOverHttp security)
   at System.ServiceModel.Configuration.WSHttpSecurityElement.ApplyConfiguration(WSHttpSecurity security)
   at System.ServiceModel.Configuration.WSHttpBindingElement.OnApplyConfiguration(Binding binding)
   at System.ServiceModel.Configuration.StandardBindingElement.ApplyConfiguration(Binding binding)
   at System.ServiceModel.Description.ConfigLoader.LookupBinding(String bindingSectionName, String configurationName, BindingCollectionElement bindingCollectionElement, Binding defaultBinding)
   at System.ServiceModel.Description.ConfigLoader.LookupBinding(String bindingSectionName, String configurationName, ContextInformation context)
   at System.ServiceModel.Description.ConfigLoader.LoadChannelBehaviors(ServiceEndpoint serviceEndpoint, String configurationName)
   at System.ServiceModel.ChannelFactory.ApplyConfiguration(String configurationName, Configuration configuration)
   at System.ServiceModel.ChannelFactory.ApplyConfiguration(String configurationName)
   at System.ServiceModel.ChannelFactory.InitializeEndpoint(String configurationName, EndpointAddress address)
   at System.ServiceModel.ChannelFactory`1..ctor(String endpointConfigurationName, EndpointAddress remoteAddress)
   at System.ServiceModel.EndpointTrait`1.CreateSimplexFactory()
   at System.ServiceModel.ClientBase`1.CreateChannelFactoryRef(EndpointTrait`1 endpointTrait)
   at System.ServiceModel.ClientBase`1.InitializeChannelFactoryRef()
   at System.ServiceModel.ClientBase`1..ctor()
   at BulkDataServiceClient..ctor() in D:\Projects Source\Work\Hugeflow\NS2012\v1\NS.IOServiceProxy\BulkDataService.cs:line 42
   at Edas.IIS.Helpers.ProxyFactory.CreateBulkDataServiceClient() in D:\Projects Source\Work\Hugeflow\NS2012\v1\Edas.IIS\Helpers\ProxyFactory.cs:line 13
   at Edas.IIS.Modules.ServiceManager.TransmitBulkDatas(Int32 driverID, IEnumerable`1 channelDatas) in D:\Projects Source\Work\Hugeflow\NS2012\v1\Edas.IIS\Modules\ServiceManager.cs:line 271








[최초 등록일: ]
[최종 수정일: 3/23/2012]


비밀번호

댓글 작성자
 



2012-03-23 02시10분
^^ 답변이 없을만 하군요. 문제 재현이 되어야 어떻게 해볼텐데, 몇 시간이 흘러야 발생하는 문제라면 쉬운 문제는 아닌 것 같습니다. (아쉽게도, 위의 오류를 경험해 본적도 없습니다.)

일단, 지금 위의 콜스택을 보면 마이크로소프트 이외의 개발자 측면에서 할 수 있는 것은 없어보입니다. 따라서, 마이크로소프트 측에 기술 지원을 요청하는 것이 좋을 것 같습니다. (마이크로소프트 측 버그로 판명되면 무료로 처리됩니다.)

그 다음으로, 문제를 우회하는 것을 생각해 볼 수 있는데요. 위에서 보니까, System.Configuration 이 나오는 것을 보니 Proxy 가 app.config 에 있는 정보를 기반으로 생성되도록 만드신 것 같은데... 맞나요? 따라서, configuration 작업을 app.config 에 의존하지 말고 코드로 바꿔보는 것도 시도해 볼만할 것 같습니다.
정성태

... 31  32  33  34  35  36  37  38  39  40  [41]  42  43  44  45  ...
NoWriterDateCnt.TitleFile(s)
4829윤현수4/26/201714671System.Text.Encoding 질문 [1]
4828jaem...4/20/201710916시스템 종료시 block 함수 xp 지원가능한 방법 질문 [2]
4827ds4/13/201712696매서드 정의로 이동시 [메타데이터에서]에서 라고 나오는 것은 뭔가요? [1]
4826김솔지4/11/201710052CxImage 문자 출력 [1]
4825플메4/10/201710445덱스트 업로드 하는데 구성요소 서비스에 엑셀이 안뜨네요..ㅜㅜ [1]파일 다운로드1
4824김상경4/9/20179830win7에서 vb6.0을 이용해서 프로그램을 만들었습니다.(제가 만든건 아니고 옆 동료가 만들었습니다.) [1]파일 다운로드1
4823조상현3/28/201710873windows event log 에 대한 정보는 어디서 얻을 수 있을까요? [1]
4822부우3/24/201712525글수정이 안되어 다시올려드립니다ㅠ [12]파일 다운로드2
4821부우3/22/201726156파일이나 어셈블리 중 하나를 로드에러 좀 봐주세요 [9]파일 다운로드1
4820듀이3/20/201710944오차 없이 동시에 명령을 보내게 가능한가요? [2]파일 다운로드1
4819popo3/20/201712287C# sslstream 사용시 Cipher List 설정 [3]
4818부우3/16/201721155DllImport 사용시 진입점을 찾을수 없습니다 [2]
4817yun3/15/201710510서피스프로4의 HYPER-V로 윈도우7을 깔았는데... [1]
4816부우3/15/201713239C++ DLL함수 사용 질문드립니다 [10]
4815김지용3/14/20179302.net core linux 오류 [2]
4814김솔지3/13/201710382인쇄 시 , 출력화면을 이미지 파일로 저장하고 싶습니다. [1]파일 다운로드1
4813spow...3/8/201711922멀티 스레드 환경에서 처리하여야 할 목록을 효율적으로 사용하는 기법 질문 드립니다 [2]
4812popo2/23/201711978.NET Window ClassName 변경 질문 드립니다. [1]
4809힘찬도약2/15/201715048C# 가상 시리얼 [4]
4808이길용2/9/201713788WCF 외부 접속 관련해서 질문드립니다ㅠ [1]
4807헬조선식...2/8/201720380WPF의 속도에 대해서 궁금합니다. [3]
4803헬조선식...2/7/201713796WPF로 메신져 메세지 박스 구현 문의 [2]
4802spow...2/6/201710828특정 범위의 값을 다른 값으로 치환하는 메소드를 만들어야 할 때 가장 빠른 방법은? [7]
4804spow...2/7/201710704    답변글 [답변]: 특정 범위의 값을 다른 값으로 치환하는 메소드를 만들어야 할 때 가장 빠른 방법은?
4805spow...2/7/201710377    답변글 [답변]: 특정 범위의 값을 다른 값으로 치환하는 메소드를 만들어야 할 때 가장 빠른 방법은? (글삭제가 안돼 재첨부합니다)파일 다운로드1
4801spow...2/3/201710255C#의 참조 동작관련하여 아이디어 문의 드립니다 [4]
... 31  32  33  34  35  36  37  38  39  40  [41]  42  43  44  45  ...