That assembly does not allow partially trusted callers. error when exporting PDF in Reports Server

Have tried installing both assemblies manually, the same error is returned for each as when installed using the MSI.

Tried the assemply attcahed to Post,

* [Posts 92](http://www.aspose.com/search/search-results.aspx?u=32174&o=DateDescending)

Aspose.Pdf.ReportingServices.rar got the following error

The license is not valid for this product.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Exception: The license is not valid for this product.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[Exception: The license is not valid for this product.] [Exception: An error occurred during rendering of the report.] [Exception: An unexpected error occurred in Report Processing.] Microsoft.Reporting.WebForms.ServerReport.ServerUrlRequest(Boolean isAbortable, String url, Stream outputStream, String& mimeType, String& fileNameExtension) +489 Microsoft.Reporting.WebForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension) +924 Microsoft.Reporting.WebForms.ServerReportControlSource.RenderReport(String format, String deviceInfo, NameValueCollection additionalParams, String& mimeType, String& fileExtension) +84 Microsoft.Reporting.WebForms.ExportOperation.PerformOperation(NameValueCollection urlQuery, HttpResponse response) +153 Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext context) +75 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +303 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

Hi,

Firstly, please make sure that the instance name of your sqlserver be ' MSSQLSERVER'. If not, you should configure it with the help of configuring tool as 'Install with Configuring Tool'.

Secondly, if it does not render well yet in the first step, please clean up the old log files of report server, the log files should be in the path of reporting services, such as ''D:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\LogFiles", then render the report file again, the rendering engine will write the errors into log files, please post all of the log files in this thread.

Thirdly, if you do not mind that AP4RS be installed again on another report server, please check whether the same error still exists or not.

If the license is not valid, it will be a good idea that you attach it with your post. We will check it.

Hi,

We have published hotfix 1.4.1. Please download and try it.

Downloaded latest version 1.4.1 and installed using MSI. Got the "

The license is not valid for this product. " error message again

1. sqlserver is MSSQSERVER.

2. Log Files attached

3. Installed on another server got the same error.

4. Not keen to attach License file to Posts.

Hi,
We have found the reason resulting in the exception about invalid license,
Now it have been fixed, you can try the attached assembly file.
Sorry for your inconvenience!

That works fine.