11 July 2017
- Last edited 11 July 2017
Hi, a fairly common issue with starting out is that your Application namespace doesn't get included in the razor view for the Report.cshtml file so it doesn't know what the model class is.
Your issue sounds related to that.
The fix is to add @using YourAppNamespace at the start of the "Report.cshtml" file. Another option is to add the namespace.Model in the web.config file inside the view folder.
This issue is described in this forum post also.
If the above doesn't help, please copy/paste the exception here so we can research it further.