Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / March 2006

Tip: Looking for answers? Try searching our database.

Distributing WSE enabled client

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
na.arora@gmail.com - 30 Jan 2006 08:29 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.