By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,991 Members | 1,887 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,991 IT Pros & Developers. It's quick & easy.

allow partially trusted callers

P: n/a
Hi all,

I have developped a set of WSs and everything works fine when I try it
on my local network. When I export them on my host's server though I
get the following error on my client:

System.Web.Services.Protocols.SoapHeaderException: Server unavailable,
please try later ---> System.ApplicationException: WSE842: The service
pipeline could not be created. --->
System.Configuration.ConfigurationErrorsException: WSE032: There was an
error loading the microsoft.web.services3 configuration section. --->
System.Configuration.ConfigurationErrorsException: An error occurred
creating the configuration section handler for microsoft.web.services3:
That assembly does not allow partially trusted callers. --->
System.Security.SecurityException: That assembly does not allow
partially trusted callers.

I have created the proxy using wsdl.exe /l:CS /sharetypes ... and
although I have searched how to solve this I still don't quite
understand everything.

I gathered that I should strongly name my assembly, I have therefore
added a /n:Hss.Com.Client.WebServices on my wsdl.exe command line, but
I still get this error.

I hope you can give me a hand on that and I'm looking forward to hear
about you.
Best regards,
Pierre

Mar 22 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Update:

The messages sent by the services are from another assembly then the
services. Perhaps this clears up the problem a bit...

Something like:
The messages: Hss.Com.WebServices.BusinessObjects
The services:
- Data Access Layer Hss.Com.WebServices.Facades
- Logic Hss.Com.WebServices.BusinessLogic

I hope you can give me a hand on that and I'm looking forward to hear
about you.

Best regards,
Pierre

Mar 22 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.