Free Support Forum - aspose.com

Aspose Licensing Issue

I work for the Florida Legislature and I have a question for you about how your licenses work. Our office has a Site Small Business License. We have a solution that is using the Aspose.Words dll and Aspose.PDF.dll. The dlls are referenced in a Business Service project that is utilized in several projects. This business service project is referenced by 4 web applications and 3 windows services. The actual code that uses the Aspose dll is utilized in one web sites.

We have 2 dev environments, 2 test environments and one production environment. Each of these sites are on a cluster of 2 servers. We would like to know how many licenses would this use. We believe that because this is used in a common code area, it is exceeding our license limit.

We also have a different application that is utilizing the Aspose.PDF software and it is used in 3 environments. These applications are written in Visual Studio C#

Below is the error message from our application.

Error Message:
Microsoft.Practices.Unity.ResolutionFailedException: Resolution of the dependency failed, type = “JAPCPortal.BusinessServices.Interfaces.Internal.IAdminBusinessService”, name = “(none)”.
Exception occurred while: Calling constructor JAPCPortal.BusinessServices.Implementation.Internal.AdminBusinessService(JAPCPortal.Repository.Interfaces.Internal.IRepositoryManager repositoryManager).
Exception is: NotSupportedException - The invoked member is not supported in a dynamic assembly.

At the time of the exception, the container was:

Resolving JAPCPortal.BusinessServices.Implementation.Internal.AdminBusinessService,(none) (mapped from JAPCPortal.BusinessServices.Interfaces.Internal.IAdminBusinessService, (none))
Calling constructor JAPCPortal.BusinessServices.Implementation.Internal.AdminBusinessService(JAPCPortal.Repository.Interfaces.Internal.IRepositoryManager repositoryManager)
—> System.NotSupportedException: The invoked member is not supported in a dynamic assembly.
at System.Reflection.Emit.InternalAssemblyBuilder.get_CodeBase()

@cobb_danny_leg_state_fl_us

Thanks for contacting support.

The issue you mentioned does not seem related to Aspose.PDF or Aspose.Words. However, could you please prepare a sample console application which is able to replicate the error in our environment and share with us. This would help us investigating the issue accordingly as the stack trace your shared is unclear and does not look like related to Aspose APIs.