Hi,
I a have developed a client using WSE 2.0 SP3. And distributing it to
clients by simply having the Microsoft.web.services.dll in the bin
directory of the application and no WSE runtime installed.
This works fine untill i use <microsoft.web.services2>
<security>
<timeToleranceInSeconds>900</timeToleranceInSecon ds>
</security>
</microsoft.web.services2>
in my client's configuration file.
Gives me an exception:
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 Arbus.Server.MemberManagementService.MemberMgmtSvcWse..ctor()
at Arbus.Server.MemberManagementServiceAgent..ctor(String url,
ConfigProxyInformation objConfigProxyInformation)
at Arbus.Client.BusinessObjects.ServiceManager..ctor()
at Arbus.Client.WinUI.ArbusWizard.ArbusWizard_OnMoveNext(Control
ctrl, Int32 counter)
at Arbus.Client.WinUI.ArbusWizard.MoveNext()
at Arbus.Client.WinUI.ArbusWizard.btnNext_Click(Object sender,
EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32
msg, IntPtr wparam, IntPtr lparam)
Can anybody suggest how to overcome this problem. I dont want to
install the WSE runtime on the clients. I wanted to run the WSE anabled
client by simply having the microsoft.web.services2.dll in the bin of
the client.
Please help.
Thanks
Nitin Arora
Holger.Juenemann@gmail.com - 21 Feb 2006 15:46 GMT
Hi,
did you make progress in this topic?
I've got exactly the same prob ...
Regards Holger
Dmitry Gritsenko - 29 Mar 2006 21:24 GMT
Hi,
Just run into the same problem. Windows Forms application is executed
on client machine using no-touch deployment (through IE). It's using
WSE 2.0 to download DIME attachments. When application's config file
does not contain any WSE configuration data the "an error was
discovered processing the <Security> header" occurs. After adding wse
configuration tags, i am getting mentioned WSE032 error.
Something similar was discussed in this thread:
http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet.webservi
ces/browse_frm/thread/15cd0bf778bf3d13/5880df619114eafd?lnk=st&q=&rnum=4#5880df6
19114eafd
As I understand from that thread, installing
Policy.2.0.Microsoft.Web.Services2.dll to the GAC on client's machine
might resolve the issue, though it sounds not so good to me.
So the question is: is there a way to avoid any client installations
in order to make WSE 2 work? Does anybody have any progress on this?
Regards,
Dmitry.
> Hi,
>
[quoted text clipped - 69 lines]
> Thanks
> Nitin Arora