For those of you who have successfully installed Mercury's Test Director, and have it die suddenly, you need to check the IIS/NTFS permissions. (Note, for those of you asking questions, you should read all four pages of comments - there are various questions and answers given throughout the comments, and you will be able to get your answer quicker than waiting for someone to see your question)

Test Director uses the IIS IUSR_SERVERNAME user by default, and if you haven't set your permissions correctly on your directories, this user will not have access to the files.
To see if this is the problem or not, go to the IIS Manager and the TDBIN directory, then choose directory security (make sure it is on anonymous access only) and edit the anonymous user to be the local Administrator account (type in the password).
Then try accessing your server again. If this works, then you know it is a permissions issue, and you should probably go change the anonymous user back to the IUSR_XXXX account, and fix the directory/NTFS permissions to allow the IUSR_XXX user access to the necessary Test Director directories.
For the record/search engines:
The error I got when I had this problem was:
Error in parameter: [TDsrvURL]
Error: Server is not initialized
Press OK to continue or CANCEL to close application
Not the most intuitive error message in the world

Posted by Jon Daley on November 17, 2004, 9:45 am | Read 45455 times
Category Programming: [first] [previous] [next] [newest]
Comments
1 2 3 4 5 6 7  Next»
can test director can be used as configuration managment like virtual source code? if show how.
Posted by sekhar on December 29, 2004, 7:42 am

I don't believe so, although I haven't used Test Director all that much.
Serena would want me to tell you to check out their Build product, which my company has looked at a little, but we haven't yet started using it.
Before you spend tons of money, see my post about Serena's products.
Posted by jondaley on January 4, 2005, 2:30 pm

Also, note some lines in the README:
To set up TestDirector as a service:

1. In the Start menu, choose Run. The Run dialog box opens.
2. In the Open box, type DCOMCNFG. The Distributed COM Configuration Properties dialog box opens.
3. Under Applications, select Mercury TD2000 Server and click the Properties button.
4. Click the Identity tab.
5. Select This user and type a local NT username and password of the user that is to be used to run as a service. Make sure to specify the username with the domain name, for example, DOMAINmyuser. Administration privilege required for this user.
6. Click the Security tab.
7. Select Use custom access permissions and click the Edit button. The Registry Value Permissions dialog box opens.
8. Click the Add button. The Add Users and Groups dialog box opens.
9. Click the Show Users button.
10. Choose the user you added in step 5, and click the Add button. Make sure you set the Type of Access to 'Allow Access'.
11. In the Security tab, repeat steps 7-10 for the Use custom launch permission option.

Note: This time make sure you set Type of Access for the user to 'Allow Launch'.
12. Repeat steps 5-11 for the following applications: OTAScripting.CMailAll and OTAScripting. CCopyPaste.
Note: Either one or both of thee applications may appear in the Applications list. In the Identity tab, keep the default selection The launching user.
I also had a reboot the machine after making these changes.
Posted by jondaley on September 22, 2005, 11:51 am

I believe the instructions I posted from the readme file should be the same for XP, though I haven't tried it. Those instructions are for an app included with Test Director.

For the directory permissions, you just need to set them as you would any directory, giving read and write to the IIS user. You should be able to search the internet for explicit instructions on how to set permissions appropriately, so it probably isn't worth my time to write those instructions.
Posted by jondaley on January 9, 2006, 8:03 am

Hi Jonedaley, I changed the permission of TDBIN as read/write/execute by setting permission of folder properties. But still TD is not working, it shows "Server is not initialized". Even i checked by changing permission from Control Panel-> Administrative Tool ->Local Security Setting ->Local Policy -> Security option -> Enabled Option : Network Access- Let everyone permissions apply to anonymous users, but still not working. Did you installed TestDirector on XP? Please let me know what should i do to run the TD. Thanks & Regards Amrit
Posted by amrit on January 11, 2006, 3:58 am

I have not installed it on XP, but I wouldn't expect 2000 to be all that different, at least in terms of the permissions.
Did you try my instructions at the top for making the web server run as the administrator?
Posted by jondaley on January 11, 2006, 6:48 am

I just noticed that a while ago I said I hadn't tried Serena's Build tool. I did a couple weeks ago, and it is horrible. In order to use it, you have to maintain two build systems, that it isn't smart enough to use the .dsp files for DevStudio.
What we now use is the PCLI language to get the files out of PVCS, and then a custom-built Perl script to run Microsoft's command line.
As a side-note, another perl script can be used interactively inside of Epsilon, for those of you who care about such things.
Posted by jondaley on January 11, 2006, 6:51 am

Yaa.. i did changes as per your instruction but still it was showing an error "Server is not intialized". The changes i made in administrative mode.
Posted by amrit on January 11, 2006, 11:25 pm

Hi, Kindly can you help me, where-in i can get in touch with candidates who have this skill set. TestDirector administration. Project creating, Domain Creating, Assigning rights, creating reports, workflow scripts etc. Appreciate your early response. Regards Rishi
Posted by Rishi on January 25, 2006, 8:11 am

Hello: let me ask you please.......I am trying to link test director so that it can use the global emails from outlook..........do you how I can do that after I find out the server name that my outlook is using ?
Posted by Karim on February 14, 2006, 3:02 pm

Go to your control panel, then double click on Mail. You should have an account or profile set up that will contain the outlook server information.
Posted by jondaley on February 14, 2006, 3:09 pm

Thanks jondaley
Posted by Karim on February 15, 2006, 9:44 am

Hi, I have TD running as a non service and it works great. I've followed the instructions on how to install it a service and the only problem is that now the automatic emails stopped working (and I fixed the OTAScripting.CMailAll component, which by the way was the only one, no CCopyPaste. Manual emails still go out. In the event viewer I now see an application error on the SendAllQualifiedMail.exe which says that the reason is "Access is deined". Do you have any idea what the reason can be ? By the way I also had the permissions problem which was solved thanks to your instructions. Thanks in advance, Asher
Posted by Asher on February 16, 2006, 6:24 am

I haven't needed the mail part, so I don't have any personal experience with it. I would guess that you have another permission problem and is probably fixed in a similar way.
Do you currently have TD running as a service or not?
What user does it run under?
Posted by jondaley on February 16, 2006, 8:49 am

I have configured TD to run as a service and it is running and working properly. TD is running under the domain administrator user (the same one as I confugured the TD dcom component). I thought that the OTAScripting.CMailAll is the one that is handling the automatic mail sending, and so for it I tried both the launching user and the administrator user (as TD), but no success. I'll play with the permissions. Thanks again, Asher
Posted by Asher on February 16, 2006, 11:14 am
1 2 3 4 5 6 7  Next»
Trackbacks
Feedjit Statistics
Excerpt: Copying the rest of you cool bloggers, I installed feedjit a while back.  I originally thought it wasn't going to be very useful, since I assumed that all of the international hits were the many search engines that like crawl the blog all day long...
Weblog: Daley Ponderings
Date: March 28, 2008, 3:24 pm
culpable-adaptable