The major reason with regards to Exchange 2007 not supported on Windows 2008 R2 is compatibility issues with Powershell.
You can also try reinstalling the CAS role to check with the error
I installed Microsoft Exchange 2007 SP1 on a Server 2008 R2 on a virtual machine. The domain controller is hosted on another VM. Databases and Logs are all kept on separate drives. When I access the Exchange Management Console I get the following warning:
--------------------------
Microsoft Exchange Warning
--------------------------
The following warning(s) were reported while loading topology information:
Get-OWAVirtualDirectory
Completed
Warning:
The virtual directory "Exchange (Default Web Site)" is not configured correctly. This server has the Mailbox server role installed, so HTTP compression must be disabled. You can use the IIS Manager to disable compression.
Warning:
The virtual directory "Public (Default Web Site)" is not configured correctly. This server has the Mailbox server role installed, so HTTP compression must be disabled. You can use the IIS Manager to disable compression.
Warning:
The virtual directory "Exchweb (Default Web Site)" is not configured correctly. This server has the Mailbox server role installed, so HTTP compression must be disabled. You can use the IIS Manager to disable compression.
--------------------------
OK
--------------------------
So I accessed the IIS Manager and tried to disable static compression on all three of the listed sites. When ever I try to hit 'Apply' I get the following error window:
Title: Compression
There was an error while performing this operation.
Details:
Filename: \\?\BackOfficeStorage\[myd
Error: Cannot write configuration file.
All I can do at this window is hit OK, and exiting discards changes.
What causes this error window to appear, and how can I fix this where Exchange no longer has any warnings?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: MesthaPosted on 2009-08-26 at 11:12:42ID: 25190535
"Microsoft Exchange 2007 SP1 on a Server 2008 R2"
That isn't a supported configuration.
Microsoft Exchange 2007 is not supported on Server 2008 R2.
You will need to remove Exchange and rebuild the box as Server 2008 with SP2.
Simon.