none
PDF Export = System.DllNotFoundException: Unable to load DLL 'T2Embed': Access is denied

    Question

  • Hello,

    I am using the ReportViewer over asp.net pages on a web hosting service.  I am generating the reports independently of the 'Sql Reporting Services' windows service.  In fact I have 'Sql Report Services' service turned off.

    All export works okay when I test the report in IIS7 on my local machine and in Visual Studio.  After I FTP the web application to the remote web host the report still works but only the Excel exports properly.  The export to PDF or Word generates the error

    System.DllNotFoundException: Unable to load DLL 'T2Embed': Access is denied

    Other people have had this problem too but their remedy is to run cacls.exe and fidget around with t2embed.dll.  Maybe that will work for a local client machine but that is not something I can do on a web hosts server.  They seem to think the font has security issues and a hotfix may be causing it.  The next thing I will try will be to use a generic font in my report like Arial or Courier but I doubt that will fix it. 

    Any clues?
    Thursday, February 20, 2014 1:05 PM

Answers