Wednesday, September 26, 2012

"ConfigFileMissing" error when silverlight client register for duplex channel on self hosted WCF service

"ConfigFileMissing" error when silverlight client register for duplex channel on self hosted WCF service

I am getting CofigFileMissing error when my silverlight client requests a duplex channel on a self hosted WCF service. Silverlight client has clientaccesspolicy.xml at its root, and client endpoint is mentioned in its web.config. The WCF service get started properly and its configuration is in app.config present at the statup project.

Any help would be highly appreciated. Since I am stuck because of this error.

Following is the stacktrace for the error-

[XmlException: [Xml_InternalError] Arguments: Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.0.61118.00&File=System.Xml.dll&Key=Xml_InternalError] System.Xml.XmlXapResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) +329 System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext) +109 System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings settings, XmlParserContext inputContext) +44 System.ServiceModel.Configuration.ServiceModelSectionGroup.GetSectionGroup() +78

[InvalidOperationException: [ConfigFileMissing] Arguments: Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.0.61118.00&File=System.ServiceModel.dll&Key=ConfigFileMissing] System.ServiceModel.Configuration.ServiceModelSectionGroup.GetSectionGroup() +136 System.ServiceModel.Configuration.ServiceModelSectionGroup.get_Current() +19 System.ServiceModel.Description.ConfigLoader.LookupChannel(String configurationName, String contractName, Boolean wildcard) +35 System.ServiceModel.Description.ConfigLoader.LoadChannelBehaviors(ServiceEndpoint serviceEndpoint, String configurationName) +56 System.ServiceModel.ChannelFactory.ApplyConfiguration(String configurationName) +44 System.ServiceModel.ChannelFactory.InitializeEndpoint(String configurationName, EndpointAddress address) +66 System.ServiceModel.DuplexChannelFactory1..ctor(Object callbackObject, String endpointConfigurationName, EndpointAddress remoteAddress) +103 System.ServiceModel.InstanceContext.System.ServiceModel.IInstanceContext2.CreateChannelFactory(String endpointConfigurationName) +61 System.ServiceModel.EndpointTrait1.CreateDuplexFactory() +150 System.ServiceModel.ClientBase1.CreateChannelFactoryRef(EndpointTrait1 endpointTrait) +22 System.ServiceModel.ClientBase1.InitializeChannelFactoryRef() +46 System.ServiceModel.ClientBase1..ctor(IInstanceContext callbackInstance) +111 System.ServiceModel.DuplexClientBase`1..ctor(InstanceContext callbackInstance) +5 UINx.Framework.Client.ServiceModule.SL.PivotViewerClient..ctor(InstanceContext callbackInstance) +37 UINx.Framework.Client.ServiceModule.SL.PivotViewerService.RequestResources(BaseRequest request) +100 UINx.IA.Client.ResourceManagement.Workflow.SL.BOPivotViewer.GetResources(String filterId) +156 UINx.IA.Client.ResourceManagement.UILayer.ViewModel.SL.PivotViewerViewModel..ctor(String FILTERID, BOPivotViewer boPivotViewer) +158 PivotDataViewer.Web.PivotDataViewerRequestPage.Page_Load(Object sender, EventArgs e) in d:\Code_Dev\IAResourceManagement05Sep2012\ResourceManagement\PivotDataViewer.Web\PivotDataViewerRequestPage.aspx.cs:25 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51 System.Web.UI.Control.OnLoad(EventArgs e) +92 System.Web.UI.Control.LoadRecursive() +54 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772

Answers & Comments...




No comments:

Post a Comment

Send us your comment related to the topic mentioned on the blog