Home All Groups Group Topic Archive Search About

Invoking WCF client from Excel VBA

Author
25 Apr 2007 11:26 PM
Arun
Has anybody try to invoke a WCF (.NET 3.0) web service client
from unmanaged code (and especially from Excel VBA) ?

When I tried it I got:
--cut here--
An error occured creating the configuration section handler for

system.serviceModel/client: That assembly does not allow partially

trusted callers.
--cut here--

It has probably something to do with .NET 3.0 security model
and I suppose it is somehow configurable.

Any ideas ?

-Arun

Author
26 Apr 2007 2:46 AM
Cowboy (Gregory A. Beamer)
WCF V1 does not support partially trusted callers. Dominick Baier came up
with a workaround:
http://www.leastprivilege.com/WCFProxiesInPartiallyTrustedASPNETApps.aspx

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*********************************************
Think outside the box!
*********************************************
"Arun" <arun.gu***@gmail.com> wrote in message
news:1177543612.444210@news1nwk...
Show quote
> Has anybody try to invoke a WCF (.NET 3.0) web service client
> from unmanaged code (and especially from Excel VBA) ?
>
> When I tried it I got:
> --cut here--
> An error occured creating the configuration section handler for
> system.serviceModel/client: That assembly does not allow partially
> trusted callers.
> --cut here--
>
> It has probably something to do with .NET 3.0 security model
> and I suppose it is somehow configurable.
>
> Any ideas ?
>
> -Arun

AddThis Social Bookmark Button