Having tried to install AxCMS.net 9.0 on IIS 7 based Systems (Windows VISTA, Windows 2008 Server or Windows 7) you might have experienced following error message when trying to access page preview pages:
You might see a smaller amount of information if your debugging settings are lower then mine.
The needful information to this error message is:
- It´s a System.ServiceModel.CommunicationException
- The Argument to the Exception is: Not Found
Whenever things are not found on the web I tend to give the IIS log a try. While the W3C logfile format is of no real use to us, the IIS logfile format reveals the problem "quite" clearly:
::1, a000b00000c000000d00000e0000000f, 9/23/2009, 12:44:23, W3SVC1, PCDAN02, ::1, 80, 820, 197216, 200, 0, GET, /AxCMSweb_PremiumSample/Imprint_de.AxCMS, URL=/Imprint_de.AxCMS&ActiveID=1072,
::1, -, 9/23/2009, 12:44:23, W3SVC1, PCDAN02, ::1, 1, 1136, 6310, 405, 1, POST, /AxCMSweb_PremiumSample/Concept.svc, -,
So while responding to the Imprint_de.AxCMS request the IIS tries to use the Concept.svc WFC service which fails with a 405 error. Like 404 errors these are just reported to say "not found" while they ought say "not allowed for execution".
After some research i found the solution here: IIS 7 does not ship with WFC support after all.
Installing WFC support is quite easy indeed:
Open command promt having administrative rights and just execute this lines of code:
cd \Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation
ServiceModelReg.exe -r -y
Restart the IIS and everything should work like a charm.
And to those who like to blame Axinom: Please read the installer which clearly prerequires a WFC configured IIS :)

Regards
Dan