P
Philip Colmer
I'm trying to create a very simple web part that makes use of an external
DLL. The DLL tries to communicate with an external web site and I'm getting
a permissions exception when I try to add the web part to a SharePoint page.
From the research I've done, I think that this is because I've installed the
web part into the bin folder where the trust level is low and access to
external sites is not permitted.
I therefore want to rebuild the part with a strong name so that I can
install it into the GAC. Adding a strong name to my own code is
straight-forward enough but the Interop DLL that Visual Studio built for the
external DLL does not have a strong name and I can't figure out how to add
one.
So that is my problem. I'm using a DLL that I did not build. Visual Studio
has built an Interop DLL and I need to ensure that it is built with a strong
name.
Can someone please tell me what steps I need to take?
Thanks.
--Philip
DLL. The DLL tries to communicate with an external web site and I'm getting
a permissions exception when I try to add the web part to a SharePoint page.
From the research I've done, I think that this is because I've installed the
web part into the bin folder where the trust level is low and access to
external sites is not permitted.
I therefore want to rebuild the part with a strong name so that I can
install it into the GAC. Adding a strong name to my own code is
straight-forward enough but the Interop DLL that Visual Studio built for the
external DLL does not have a strong name and I can't figure out how to add
one.
So that is my problem. I'm using a DLL that I did not build. Visual Studio
has built an Interop DLL and I need to ensure that it is built with a strong
name.
Can someone please tell me what steps I need to take?
Thanks.
--Philip