Free Support Forum -

Aspose.Words.lic IIS 6. permissions

<w:LatentStyles DefLockedState=“false” LatentStyleCount=“156”>
<![endif]–><!–[if gte mso 10]>

/* Style Definitions */ table.MsoNormalTable {mso-style-name:"טבלה רגילה"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;}


I am using Aspose words and It's running under windows 2003 server IIS 6.0 .Net framework 2.0
Recently there is a problem when I my code is calling the SetLicense function and throws an exception.
In order to fix it I have to set full control windows permissions to the file "Aspose.Words.lic" and the user IIS_WPG.
After a while it looses the permissions and I need to repeat this action
How can I fix it once and for all?



Thanks for your inquiry. I think in your case, you should put your license into the root folder of your application then you will be able to use the following code to apply the license:

Dim license As license = New license


Hope this helps.

Best regards.