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

클라이언트에서 서버로 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 에 의존하지 말고 코드로 바꿔보는 것도 시도해 볼만할 것 같습니다.
정성태

... 16  17  18  19  20  21  22  23  24  25  [26]  27  28  29  30  ...
NoWriterDateCnt.TitleFile(s)
5257C#초보11/9/20197531파일 저장 방법에 대해 조언 부탁드립니다. [3]
5256세퉁11/8/20196841안녕하세요~ 질문은 아닙니다만.. [1]
5255C#초보11/6/20197385중첩 딕셔너리를 어떻게 만들 수 있을까요? [2]
5252김동수11/4/20197009Windows 10 로그인 ( Credential Provider ) 문의드립니다. [1]
5251kss11/1/20197080c#문법질문입니다. [1]
5250이대희10/31/20197181시작하세요 C# 7.3 프로그래밍 책이 절판이네요. [1]
5249황태관10/24/20197664c# 폼안에 특정 프로그램 불러오기.. [1]파일 다운로드1
5248황태관10/23/20198534C언어로 만든 dll 를 참조해서 c#으로 만들려면.. [3]
5245민성10/21/20197587안녕하세요 Ui 스레드 접근에 대해서 질문드리도록 하겠습니다. [1]
5244hbli...10/20/20197017두개의 쓰레드에서 하나의 Queue 리스트 사용시 질문드립니다. [2]
5243최선호 donator10/18/20196622Screen Capture 와.. Overlay 질문 좀 드릴게요 ㅠ.ㅠ ( 장문 주의..... ) [2]
5241C#초보10/16/20198647C# USB 통신 구현 관련 질문 드립니다! [1]
5240김동규10/15/20198587런타임 시 Encoding.Default를 UTF-8로 설정할 수 있을까요? [3]
5239밤톨이10/13/20196824시놀리지 DSM에 asp.net core 2 웹서버 구축이 가능한가요? [1]
5238권석헌10/2/20197376C# - C++ 간의 Memorymapped file 관련 Data 질문좀 드립니다 선생님 [1]
5237유호성10/1/20197145사용자 정의 컨트롤 VS IDE에서만 Exception 발생 [2]
5234koko9/25/20199404안녕하세요. 64bit WPF -> 32bit C++ DLL Import사용 문의 드립니다. [3]
5232fox3...9/24/20197207C# Memorymappedfile 재 업로드 드립니다.(실행순서 및 질문내용 정리) [7]파일 다운로드1
5231fox3...9/24/20197612C# 메모리맵드파일 관련 질문드립니다. 최소한의 재현가능코드 첨부후 재질문 드립니다. [2]파일 다운로드1
5230질문9/23/20197261C++ 로 만든 dll 을 C#에서 사용할 때 질문 [2]
5229fox3...9/23/20199657C# 메모리맵드파일 관련 질문드립니다. [2]
5227세퉁9/23/20198317WPF Textblock 폰트 크기에 따라 글자 색이 깨지는 현상이 있습니다. [3]파일 다운로드1
5226김대훈9/23/20197961정말 황당한 경우입니다.. [2]
5223김태균9/19/20197691책 소개 링크가 7.1버전판으로 이어집니다. [1]
5222냥냥이9/14/20198243프로그래밍 논리력이 많이 부족합니다 [3]
5219티지레몬9/9/20199750c# PCB 자동화 프로그램(윈도우 폼 위주로 작업) 제작 준비 [3]
... 16  17  18  19  20  21  22  23  24  25  [26]  27  28  29  30  ...