Hello,
I created an infoPath application in C#.
When I call my webservice I have this message :
System.Configuration.ConfigurationException
Configuration file C:\Program Files\Microsoft Office\OFFICE11\INFOPATH.EXE.config does not have root <configuration> tag (C:\Program Files\Microsoft Office\OFFICE11\INFOPATH.EXE.config line 1)
at System.Configuration.ConfigurationRecord.ScanFactoriesRecursive(XmlTextReader reader)
at System.Configuration.ConfigurationRecord.Load(String filename)
at System.Configuration.DefaultConfigurationSystem.System.Configuration.IConfigurationSystem.Init()
at System.Configuration.ConfigurationSettings.SetConfigurationSystem(IConfigurationSystem configSystem)
at System.Configuration.ConfigurationSettings.GetConfig(String sectionName)
at System.Web.Services.Configuration.WebServicesConfiguration.get_Current()
at System.Web.Services.Protocols.SoapClientType..ctor(Type type)
at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor()
at InfoPathProjectAxone_V2.ws_Axone.WebService..ctor() in D:\Mes Documents\Visual Studio Projects\InfoPathProjectAxone_V2\Web References\ws_Axone\Reference.cs:line 30
at InfoPathProjectAxone_V2.InfoPathProjectAxone_V2.buttonWSS_OnClick(DocActionEvent e) in d:\mes documents\visual studio projects\infopathprojectaxone_v2\formcode.cs:line 43
at Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnClick(DocActionEvent pEvent)
Michel DEGREMONT.