My app runs fine when it's in a folder on any given user's machine on the
network. However, when I move the app to a location on the server, I get
this error: Request for the permission of type
System.Security.Permissions.SecurityPermission, ..., failed. I'm looking
through some of the security documentation and it's confusing. What's the
best way to fix this problem?
Thanks.
"Bill S." <wsch...@comcast.net> wrote in message
news:KJ6dneE9rKEsByTe...@comcast.com...
Thanks!
"Nicole Calinoiu" <calinoiu REMOVETHIS AT gmail DOT com> wrote in message
news:uGbswSGE...@TK2MSFTNGP14.phx.gbl...
"Bill S." <wsch...@comcast.net> wrote in message
news:G5ednboP6PoSfCfe...@comcast.com...
Thanks!!!
"Nicole Calinoiu" <calinoiu REMOVETHIS AT gmail DOT com> wrote in message
news:OOmPhmfE...@TK2MSFTNGP15.phx.gbl...
That's because you need to run tlbimp against the original COM DLL, not an
existing interop assembly. Tlbimp will generate a new interop assembly from
the COM DLL, applying a strong name signature to this new assembly if
specified.
> I downloaded those PIA's from Microsoft's site a while back, but these are
> not signed. Where are the signed versions located?
For Office 2003, they're installed with Office. See
http://msdn.microsoft.com/library/en-us/dv_wrcore/html/wrrefofficeprimaryinteropassemblies.asp
for details.
For Office XP, they can be downloaded from
http://msdn.microsoft.com/library/en-us/dnoxpta/html/odc_oxppias.asp.