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

클라이언트에서 서버로 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)
5319권대현4/10/20206281C++(UWP)Dll에서 C#(UWP)Dll 호출이 가능한가요? [1]
5318이승준4/9/20207139동영상 관련 업계 근황? 입니다. [1]
5317kskk...4/7/20209163OpenCV 이용 해상도 설정 질문 입니다.. [3]
5316윤현수4/7/20206392pipe 비동기방식 질문 [1]파일 다운로드1
53154/6/20207069dll파일 로드 원리? 부분에서 도움받고싶습니다. [3]
5314강성욱3/31/20208947메서드 내에서 await 2번 등장할 때의 이해 [11]파일 다운로드1
5313강성욱3/27/20206745await 2번 [1]
53121a2a...3/20/20206529Re raw data write 질문 관련 [1]파일 다운로드1
53111a2a...3/20/20207317Raw data write 관련 질문 [1]파일 다운로드1
5310아스파넬3/15/202073431초에 5회 함수호출 제한 관련 질문입니다. [1]
5309하태3/11/20209236안녕하십니까. c# Winform UI 질문드리겠습니다! [3]파일 다운로드1
5308질문3/9/20208046Window XP SP3 32bit 환경(Window Update 모두 완료)에서 .Net Framework 4.0.3 으로 빌드된 .dll 파일 gacutil.exe 등록 관련 문의 [5]
5306개발자3/9/20206910C#을 통해 인터넷 접속 가능한 이더넷을 선택할 수 있는지요? [1]
5305JaeS...3/9/20206592RAW파일 생성 질문드립니다 [8]파일 다운로드1
5303궁금하당2/27/20208915C#에서 C++ DLL읽기 (아래 글쓴이) [1]
5302궁금하당2/27/202010974C#에서 C++ DLL호출 ('PInvokeStackImbalance') [4]파일 다운로드1
5301질문합니...2/27/20206445소켓 대량 데이터 디자인 문의 [1]
5300nals...2/27/20207067vs2013에서 BinaryFormatter Serialize 후 vs2015에서 Deserialize시 예외 발생 [3]파일 다운로드1
5298질문2/26/20208459.lic 파일에 대해 질문 있습니다. [9]
5297임한승2/26/20206025vs2013에서 BinaryFormatter Serialize 후 vs2015에서 Deserialize시 예외 발생 건 [1]파일 다운로드1
5295나그네2/25/20207423클라이언트 PC 정보 조회관련.. [2]
5294닷넷초보ㅠ2/25/20207404윈폼으로 socket통신프로그램 만든후 release로 디버깅한 실행파일을 다른컴퓨터에서 실행할때 반응이없어요 [1]
5293탱코2/21/20207320검색을 하고 싶은데 어떻게 검색을 해야 할 지 모르겠습니다. [1]
5292아부리2/19/20207215XingApiNet 관련 질문 [3]
5291지현명2/15/20207977JsonConvert.Serialize 하고 Deserialize 할때 간헐적으로 한글 깨짐 현상 문의 합니다. [3]
5290베도빈2/15/20207329직접 제작한 사용자 정의 콘트롤 DLL, 실행파일에 포함시켜 배포할 수 있을까요? [1]
... 16  17  18  19  20  21  22  23  [24]  25  26  27  28  29  30  ...