The problem:
I have this project I’m working on that uses WatiN
I couldn’t figure it out. I ran the tests from the command line with NAnt, but they all worked then. They all worked when I ran them from localhost. I put [Ignore] attributes on most of the tests, I used MSE
The Solution:
Finally I went to Windows Update on the build server. I thought maybe my workstation has some patch that is not on the server yet. When I got there it told me that due to being on the internet zone, instead of the trusted zone, it couldn’t do it’s stuff. This got me thinking an eventually I went to the url the tests were hitting and that wasn’t in a trusted zone either.
Adding the urls to the local intranet zone fixed all my problems. I’m not sure if the security was restricting WatiN or the msajax library. I’d suspect the ajax stuff just because it seems like WatiN isn’t going to be restricted by IE’s security features.
Hey David, I’m running into a similar problem — CC.NET on a W2K3 server. I suspect it’s the user account that I’m executing the CC.NET service under. How have you got your CC.NET service configured?
Hello Bryan, currently I am running CC.NET as a console application under a local machine account. I have a shortcut to ccnet.exe that I run each time the machine reboots. This let us run some apps that needed a full Windows environment (like a web browser).
It’s been long enough since I ran it as a service, that I can’t remember what user account I was using. The user account I am using now is a local user that has admin access to the whole buildserver.