I guess this Windows 7 machine has some problem accessing the domain. So I suggest you,
- Remove this Windows 7 machine from the domain.
- Join this machine back to the domain.
It should have nothing related to either Windows 7 or the IIS server, as if you search using the error message "The trust relationship between this workstation and the primary domain failed" you can find most results are related to active directory.