Trying to use mvc views however i get the following error
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 9: // Response.AppendHeader("X-Pdf-Force-Download","darren.pdf");
Line 10: }
Line 11: @PdfHelper.Start()
Line 12:
Line 13: @PdfHelper.MetaData(@CurrentPage.Name, "Darren Ferguson")
The PdfHelper file is in app_code directory and intellisense in vs works. So not sure why its giving a ysod?
Use with umbraco v7.0.2
Hello,
Will this work with v7?
Regards
Ismail
Hi Ismail,
Sure - you are just writing templates/views - no back office integration.
Darren,
Awesome just downloaded and installed. Going to have a play then we will get a license purchased.
Are there any sample razor scripts i can only see xslt #lazydev ;-}
Regards
Ismail
Doh ignore that Darren just seen the templates. I was looking in the scripts folder!
You've also got proper MVC views here: http://our.umbraco.org/FileDownload?id=7068
Darren,
Trying to use mvc views however i get the following error
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 9: // Response.AppendHeader("X-Pdf-Force-Download","darren.pdf"); Line 10: } Line 11: @PdfHelper.Start() Line 12:
Line 13: @PdfHelper.MetaData(@CurrentPage.Name, "Darren Ferguson")
The PdfHelper file is in app_code directory and intellisense in vs works. So not sure why its giving a ysod?
Regards
Ismail
is working on a reply...