Hi
We are currently developing a Sharepoint 2010 webpart where it will convert word documents into pdf format and merge them together. During debug whenever we hit an area where the ceTe object library is called it errors giving type initializer exception. We have added it to the safe controls list. Any further ideas?
Thanks
Type Initilizer Exception Sharepoint
Re: Type Initilizer Exception Sharepoint
Support · Mar 9, 2011Hello,
Can you please send over the full stack trace of the error message to our support team at: [^a|mailto:support@cete.com|opennewiwndow|support@cete.com^] so that they can look into it further? Also so send over the information regarding the version of the .NET framework which your application is targeting.
Thanks,
ceTe software Support Team.
Re: Type Initilizer Exception Sharepoint
Forum member · Mar 9, 2011After a bit head scratching we seem to have fixed the issue by ensuring the dynamicpdf.20.dll is deployed to the GAC when when we deploy the webpart. Having the assembly in the bin directory didn't seem to work even with a safe controls entry and a custom CAS policy on the Sharepoint server.
The assembly was targeting v3.5 btw. Sharepoint 2010 doesn't seem to like assemblies targeting any other version.
Cheers for your reply though.