Missing "Helpers" error in saving a basic script file from a subpages template
Hi folks,
I am using the 4.7 source code and have just created a basic macro script from the "List SubPages by limit and datetime" template. When I tried to save it without any modifications I got:
c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\d23cbbcf\edb48287\App_Web_634362182450048828_subpages.cshtml.70df5e80.msc7ythu.0.cs(19): error CS0234: The type or namespace name 'Helpers' does not exist in the namespace 'System.Web' (are you missing an assembly reference?
I'm not entirely sure what this means - can someone point me in the right direction please?
It seems the source presentation project is missing references to some MVC assemblies. I added them from the foreign dll's folder and it is working again. I guess it can also be added from the GAC?
I've got this issue on a fresh Version 6 Install. Installed from the binary.
Which DLL is it missing exactly?
Error is:
Error occured
c:\DEVELOPMENT\Sites\despangler.local\WEB\macroScripts\634979334878453971_verb_conjugation_overview.cshtml(2): error CS0234: The type or namespace name 'Cms' does not exist in the namespace 'Umbraco' (are you missing an assembly reference?)
A razor script with just the following:
@inherits PartialViewMacroPage
Throws this error:
Error occured
c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\a17adf73\5eaf38dc\App_Web_634979339575648376_verb_conjugation_overview.cshtml.70df5e80.uhjl3jj1.0.cs(29): error CS0246: The type or namespace name 'PartialViewMacroPage' could not be found (are you missing a using directive or an assembly reference?)
Missing "Helpers" error in saving a basic script file from a subpages template
Hi folks,
I am using the 4.7 source code and have just created a basic macro script from the "List SubPages by limit and datetime" template. When I tried to save it without any modifications I got:
c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\d23cbbcf\edb48287\App_Web_634362182450048828_subpages.cshtml.70df5e80.msc7ythu.0.cs(19): error CS0234: The type or namespace name 'Helpers' does not exist in the namespace 'System.Web' (are you missing an assembly reference?
I'm not entirely sure what this means - can someone point me in the right direction please?
Thanks,
Dany.
It seems the source presentation project is missing references to some MVC assemblies. I added them from the foreign dll's folder and it is working again. I guess it can also be added from the GAC?
Is there a resolution out there can can be downloaded/installed?
It looks like you upgraded from a previous version. You need to update your web.config as specified on the download page:
Web.Config changes
Hmmm I'm getting the same error on a freshly installed 4.7 site.
Any idea what else could cause the problem, if the web.config looks correct?
Best regards Sune
Sorry, too quick on the trigger there. I was missing the actual dll's.
Just curious: how were you missing those in a fresh install? Everything should be included, right?
The Site was apparently set up with a custom installer, and I just fetched the installation from svn, something went wrong in this proces.
So no biggie :)
I've got this issue on a fresh Version 6 Install. Installed from the binary.
Which DLL is it missing exactly?
Error is:
A razor script with just the following:
Throws this error:
is working on a reply...