Aspose.Words.lic IIS 6. permissions

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.