Does anybody have an answer for this ? I tried searching the internet and
could not find help. It's really a problem and i can't install it for the
client.
I see there are other replies to questions in this newsgroup so there must
be somebody answering questions. Can somebody at least reply and say they
don't have an answer or tell me where i can go to find out more.
Thanks again.
Tony
Hello.
I developed a VS.NET 2003 VB (XP Pro) XML Web Service client program to
consume a service on the internet. I created the install program and put in
a disk, took it to another XP Pro machine and installed it.
When i run it after the install it gives the message below.
I have no idea of what this is. It installs and runs fine on the
development computer.
Any help would be gratefully appreciated.
Thanks,
Tony
---------------------------
ConduitWebServiceClientSample
---------------------------
System.Configuration.ConfigurationException: WSE032: There was an error
loading the microsoft.web.services2 configuration section. --->
System.Configuration.ConfigurationException: Could not create
Microsoft.Web.Services2.Configuration.WebServicesConfiguration,
Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35
at System.Configuration.ConfigurationRecord.GetFactory(String configKey)
at System.Configuration.ConfigurationRecord.Evaluate(String configKey)
at System.Configuration.ConfigurationRecord.ResolveConfig(String configKey)
at System.Configuration.ConfigurationRecord.GetConfig(String configKey)
at
System.Configuration.DefaultConfigurationSystem.System.Configuration.IConfigurationSystem.GetConfig(String configKey)
at System.Configuration.ConfigurationSettings.GetConfig(String sectionName)
at Microsoft.Web.Services2.Configuration.WebServicesConfiguration.Initialize()
--- End of inner exception stack trace ---
at
Microsoft.Web.Services2.Configuration.WebServicesConfiguration.Initialize()
at Microsoft.Web.Services2.Referral.ReferralCache.Initialize()
at Microsoft.Web.Services2.Referral.ReferralCache.ResolvePath(Uri uri)
at Microsoft.Web.Services2.WebServicesClientProtocol.set_Destination
(EndpointReference value)
at Microsoft.Web.Services2.WebServicesClientProtocol.set_Url(String value)
at
ConduitWebServiceClientSample.XataNetConduitWebService.XataNetConduitWebServiceWse..ctor()
at ConduitWebServiceClientSample.Form1.GetList(ClassType classID, Int32
orgID)
---------------------------
OK
---------------------------
Carlos J. Quintero [VB MVP] - 27 Apr 2006 16:39 GMT
Hi Tony,
No idea but the exception is thrown at
System.Configuration.ConfigurationRecord.GetFactory(String configKey). You
can use Reflector for .NET (http://www.aisto.com/roeder/dotnet/) to
decompile the System.dll assembly, System.Configuration.ConfigurationRecord
class, GetFactory method. Looking at the source code you will see that
several ConfigurationException can be thrown and can give you a clue (or
copying and pasting the code and debugging it). Specifically see at the
line:
Throw New
ConfigurationException(SR.GetString("Could_not_create_type_instance", New
Object() { text1 }))
The problem happens creating an instance of the type:
Microsoft.Web.Services2.Configuration.WebServicesConfiguration,
Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35
You could start creating a small app that tries to create an instance of
that type on the client machine.

Signature
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
> Does anybody have an answer for this ? I tried searching the internet and
> could not find help. It's really a problem and i can't install it for the
[quoted text clipped - 64 lines]
> OK
> ---------------------------