c# - SQL CLR Exception when trying to convert PDF -
i'm using third party component within clr component (2.0) working until part try use 3rd party component conversion..
htmltopdfconverter.converturl(htmlpath);
the following error occurs.
system.exception: not start conversion. not assembly code base. full trust level required. check 'trust' section in configuration file. check if assembly blocked os , use unblock button in file properties enable , restart iis worker process.
i have unblocked assembly, granted full trust through .net configuration tool (all related assemblies) & set permission unsafe.
the component has .dat helper file & .xml file. not sure how these can granted permissions & unsure if may root of issue. reside in same folder. works in console test app. when implemented through sql problem.
not sure else try.
any appreciated.
Comments
Post a Comment