PHP Warning

I have moved servers today from a windows 2003 platform over to a windows 2008 running iis7.



After moving the site looked it was still working but I am unable to login to the admin area and I get this error.



PHP Warning: file_put_contents(C:/inetpub/wwwroot/sitename.com/var/cache/lang_cache.GET_statistics_banners_EN_gbp.php) [function.file-put-contents]: failed to open stream: Permission denied in C:\inetpub\wwwroot\sitename.com\core\class.registry.php on line 151 PHP Warning: file_put_contents(C:/inetpub/wwwroot/sitename.com/var/cache/cache_update_handlers.php) [function.file-put-contents]: failed to open stream: Permission denied in C:\inetpub\wwwroot\sitename.com\core\class.registry.php on line 165



Any ideas what might be the reason behind this error?

I migrated to another server and had all sorts of permission problems, which the host eventually resolved.