Is there a verison that is compatiable with IIS?

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
greenmonkey777
TestLink user
Posts: 4
Joined: Mon Aug 25, 2008 7:03 pm

Is there a verison that is compatiable with IIS?

Post by greenmonkey777 »

I have seached the forums repeatedly and there are tons of post about problems running testlink in IIS. The only solution so far that I have found using IIS 6 is to load verison 1.6.3 which I am unable to find. Are there plans to make 1.7 and 1.8 IIS compatiable? I have tried evey version of TL from 1.7 to the new 1.8 beta. None seem to work. If version 1.6.3 works with IIS and the newer verisons do not it would seem to be a change in the code that is the problem.

The problem all seems to point to permission problems with the testlink directory, but all tries to change these permission and allow TL to load have failed.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

I do work and test on apache.
I would like to know what are your specific problems

Please add issue on mantis.
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

Your search was not successful, but there is topic for this. All TestLink versions works with IIS. Check if the user "Internet guest account (hostname\IUSR_hostname)" has read/write/execute permissions. Do not forget to set-up all childs as well (tick the checkbox "Reset permissions on all child objects and enable propagation of inheritable permissions").

See http://coppermine-gallery.net/tutorial/ ... ns/iis.php.
greenmonkey777
TestLink user
Posts: 4
Joined: Mon Aug 25, 2008 7:03 pm

Post by greenmonkey777 »

Thanks so much for your reply. I found a fix for this issue shortly after my original post. There are a few references here to IIS, but most are in reference to IIS 5 (Windows XP) not IIS 6 (Server 2003). So, to help, I will post my error and resolution.

On instillation of TL version 1.7.1 - 1.7.3 I would recieve the well known smarty error:

Warning: Smarty::include(c:\Inetpub\wwwroot\testlink\gui\templates_c\\%%6A^6A5^6A537DD8%%login.tpl.php)

[function.Smarty-include]: failed to open stream: No such file or directory in

c:\Inetpub\wwwroot\testlink\third_party\smarty\Smarty.class.php on line 1247


On versions 1.7.4 - 1.8b I would recieve a blank screen.

The common reson for this error is due to insufficent rights to the folder. The common resolution for this error is to make sure that the Internet Guest Account has R/W/E permissions for the web directory. This is needed, and you will recieve this error if you do not give these rights. However, for my instaillation, I had to dig a bit deeper.

With the IIS v6 interation of windows MS added another group IIS_WPG. This group is resposible for web processes. To get a successful instillation I had to give full rights to both the group and the account. This allowed the web application to install, and also solitified the fact that it is in deed a permissions error and not an issue with TL. But, of course, I could not leave a group and an account with full access unneededly. So, I began removing permisssions until I recieved and error. Having both accounts with only R/W/E permissions allowed the application to load, but everytime I would move to a new page of the TL web application I would recieve the "smarty" error. To fix this issue I had to give the IIS_WPG account R/W/E/M permissions. This fixed the errors and they system is now running fine.

I found a MS KB arcticle that describes this account in more detail and I will be reviewing it to make sure I have not left any security holes with this permission setup. I am glad this application is back up and running. Our production verison is many versions behind the new one. Our QA department is looking forward to its new features once my department has released it, and approved it for production enviroment.

Thank you for the replys and help.

Testing System Configuration:
Microsoft Windows 2008, Standard x64 with Hyper-V
Running VM of Microsoft Windows 2003, Web edition
IIS 6
PHP 5
Back end MySQL DB 5
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

Thank you to add the explanation.
Post Reply