dotnet security:
I am trying to secure an Excel smart document using WSE3 and VSTO. I have
Office 2003 Pro, VS 2005, WSE3, and VSTO installed (not SE).
I have downloaded the Excel Invoice Sample application and modified it to
work with a web service I developed that is secured using WSE3 extensions and
the wse3policyCache file.
The web service works as expected from my Windows Forms smart client.
However, when I try to configure the proxy class in the excel document I get
the following error at runtime:
WSE032: There was an error loading the microsoft.web.services3 configuration
section.
************** Exception Text **************
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. ( ....
(remaining error text omitted)
I am developing on my local machine. All of the files are local, except the
web service, which is on another server in the same domain. Can someone tell
me why my Excel document is a "partially trusted caller" instead of a "fully
trusted" caller?