Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files from any .NET platform (C#, VB.NET, ASP.NET, .NET Core) and Java applications (J2SE and J2EE) with fast and high quality performance.

Thu Sep 20, 2012 7:53 pm

Hi

My site is hosted on a shared hosting environment. I encounter the following exception: SecurityException: That assembly does not allow partially trusted callers.
when executing the code : Spire.Doc.Document document = new Spire.Doc.Document();

Any ideas on how to get around this.

Thanks in advance.

imraan.marks@gmail.com
 
Posts: 4
Joined: Tue Aug 28, 2012 9:30 am

Fri Sep 21, 2012 2:24 am

Hi,

Thanks for your inquiry.
Could you tell us what are your software development environment and site environment, how to set your web site access permission? So that we can work out a solution about your problem quickly. Thanks.

Thanks and best regards,
Amy
e-iceblue support
User avatar

amy.zhao
 
Posts: 2325
Joined: Wed Jun 27, 2012 8:50 am

Fri Sep 21, 2012 5:08 am

The site is developed using .Net 4.0, hosted on a medium trust level environment.

imraan.marks@gmail.com
 
Posts: 4
Joined: Tue Aug 28, 2012 9:30 am

Fri Sep 21, 2012 8:53 am

Hi,

We have done a test, you need to improve trust level on your site, we provide you a link how to set trust level, please refer to the link http://technet.microsoft.com/zh-cn/library/cc753658(v=ws.10).aspx. Hope it can help you.
If you have any problems, please feel free to contact us.

Best regards,
Amy
e-iceblue support
User avatar

amy.zhao
 
Posts: 2325
Joined: Wed Jun 27, 2012 8:50 am

Mon Sep 24, 2012 8:25 am

Hi,

Due to the site being hosted on a shared environment, I am unable to set the trust level, it is controlled by the host.

imraan.marks@gmail.com
 
Posts: 4
Joined: Tue Aug 28, 2012 9:30 am

Tue Sep 25, 2012 9:14 am

Hi,

We are sorry that inconvenience caused by us.
About your problem, we have created a research, we are strugging to solve it. Once we have any progress, we will inform you immediately.

Best regards,
Amy
e-iceblue support
User avatar

amy.zhao
 
Posts: 2325
Joined: Wed Jun 27, 2012 8:50 am

Mon Oct 01, 2012 6:54 am

Hi

Any progress on this issue?

Kind Regards

imraan.marks@gmail.com
 
Posts: 4
Joined: Tue Aug 28, 2012 9:30 am

Mon Oct 01, 2012 11:52 am

Hi,

It is very difficult to change the trust level of the server environement by Spire.Doc, we cant find a simple solution by now. Sorry for that.
If we change the trust level of our product, it needs more time.

We are researching and considering other solution, if we take the new progress, we will inform you.

Thanks and Regards,
Harry
Technical Support / Developer,
e-iceblue Support Team
User avatar

harry.support
 
Posts: 180
Joined: Mon Nov 08, 2010 3:11 pm

Return to Spire.Doc