Free Support Forum - aspose.com

Aspose.Words.lic IIS 6. permissions

<w:LatentStyles DefLockedState=“false” LatentStyleCount=“156”>
</w:LatentStyles>
<![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;}

<![endif]–>

Hello
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
Why?
How can I fix it once and for all?

Thx

Hi

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

license.SetLicense(Server.MapPath("Aspose.Word.lic"))

Hope this helps.

Best regards.