Sale on 100% origional Designer Handbags
Welcome Guest Search | Active Topics | Members | Log In | Register

keyis not there in the dictionary. Options
steven
Posted: Thursday, August 20, 2009 5:13:42 AM
Rank: Advanced Member
Groups: Member

Joined: 4/3/2008
Posts: 127
Points: 381
Location: Sheffield, UK
The given key was not present in the dictionary.


actualll i want to add webservice to my XAML page then that error occur ..

exception snap shot :

Code:

{System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
  at System.ThrowHelper.ThrowKeyNotFoundException()
  at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
  at System.ServiceModel.Configuration.ServiceModelSectionGroup.get_Client()
  at System.ServiceModel.Description.ConfigLoader.LookupChannel(String configurationName, String contractName, Boolean wildcard)
  at System.ServiceModel.Description.ConfigLoader.LoadChannelBehaviors(ServiceEndpoint serviceEndpoint, String configurationName)
  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.ChannelFactory`1..ctor(String endpointConfigurationName)
  at System.ServiceModel.EndpointTrait`1.CreateSimplexFactory()
  at System.ServiceModel.EndpointTrait`1.CreateChannelFactory()
  at System.ServiceModel.ClientBase`1.CreateChannelFactoryRef(EndpointTrait`1 endpointTrait)
  at System.ServiceModel.ClientBase`1.InitializeChannelFactoryRef()
  at System.ServiceModel.ClientBase`1..ctor()
  at PLO.ClientWCF.ClientWCFClient..ctor()
  at PLO.ClientMaster..ctor()
  at PLO.Login.clientImage_MouseLeftButtonDown(Object sender, MouseEventArgs e)
  at System.Windows.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
  at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)}


what to do...



thanx in advance
Sponsor
Posted: Thursday, August 20, 2009 5:13:42 AM
Razi
Posted: Thursday, August 20, 2009 5:15:10 AM
Rank: Advanced Member
Groups: Member

Joined: 1/31/2008
Posts: 55
Points: 165
Location: India
Check this link


it will solve your problem
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

Powered by: YAF.NET
Copyright © 2010 HaqTech.com All rights reserved.
This page was generated in 0.060 seconds.