Thanks for the reply.
I have no problem creating the application and now have the application working in webmatrix if I open a new blank project then copy in the render files it works. If I open folder as site it does not.
My issue now is I have come to hosting the application on our app server through IIS7. I have been researching for 2 weeks but cannot get the app to host correctly. I have hosted classic asp apps on here no problem but am stuck with the cshtml hosting.
so far I have:
created the app
tested locally in webmatrix
copied to server wwwroot
opened IIS7, right clicked on folder and convert to application.
created an app pool with .NET 4.0 set and placed the folder in this app pool.
set all permissions correctly
I have other classic asp apps working fine form here and have set the same perms.
I keep getting the message:
This type of page is not served.
Description: The type of page you have requested is not served because it has been explicitly forbidden. The extension '.cshtml' may be incorrect. Please review the URL below and make sure that it is spelled correctly.
Requested URL: /cortest/login.cshtml
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1031
does anyone know what I have missed?
Once I have done this once I'm all set. I have been googling for 2 weeks, please help.
any help is greatly appreciated!