Hi there,
I have created an Outlook addin which has a custom winform with an infragistics win ultracombo, ultraoptionset and ultralabel on it. The solution installs fine and is picked up in outlook. However when I click a button to launch the winform it crashes with the following error:
Could not load file or assembly 'Infragistic2.Win.v7.3, Version=7.3.20073.38, Culture=neutral, PublicKeyToken=7dd5c316f2cd0cb' or one of its dependancies. Failed to gant permission to execute. (Exception from HRESULT: 0x80131418)
Please could you tell me how to grant permission to the assembly?
Thanks
Dan
Hi Andre
Thanks for your reply. I fixed this the other day. You are correct in saying that the DLL's need to have full trust associated with it. What I did was create a new class library project to run a command line for CASPOL. Once I deploy and install the install helper project I created assigns full trust to the assemblies.
Thanks for your help
Hi Dan,
It looks like your assembly needs full trust in order to create an instance of the Infragistics assemblys.
Have a look at the following walkthrough, which explains the necessary steps:http://msdn2.microsoft.com/en-us/library/aa537179(office.11).aspx
Andre