I'm trying to set up a solution on a new 64 bit windows 2008 R2 VM. I've installed IIS and Episerver and added my solution.
The solution is build on Framework 4.
The page appears, however no images or css is loaded from my solution.
Similar error messages I've found on google says that I have to use
This is done both on Framework 4.... and Framework64 4....
The errormessage goes like this:
Handler "StaticFileHandler" has a bad module "StaticFileModule" in its module list
Requested URL http://ajour.spama.no:80/templates/ajour/styles/ajour/css/style.css
Managed handler is used; however, ASP.NET is not installed or is not installed completely.
There is a typographical error in the configuration for the handler module list.
Install ASP.NET if you are using managed handler.
Ensure that the handler module's name is specified correctly. Module names are case-sensitive and use the format modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule".
In advance thank for help!
The error message seems to be outlining the issue quite well. Check that ASP.Net is installed on the machine and also that the IIS has it installed. To check the features for the IIS do the following:
Actually what caused my problem was that I had forgot to add the role "Application Server" and features on the role "Webserver" which enable dynamic and static content.