We moved temporarily the repository path in a QC 9 server by updating the path in the site administrator.
Then we stopped the service (services from windows server) and started it again
We did what we needed to do and then changed the repository path back to the original location
Then again we stopped and started the service again.

Now we try to create a new domain but we get the following error message:
Failed to Create Domain;
Failed to create new domain;
Failed to create folder '%TDREPOSITORY_DIR%NEW_14' for domain 'NEW';

Could there be any reason the path does not get updated properly?