We have moved to GitHub Issues
Created by Chris Mahoney 23 Apr 2013, 22:28:17 Updated by Chris Mahoney 28 Apr 2013, 21:12:43
The built-in List Descendants From Current Page script doesn't work.
Saving will fail with the error CS0234: The type or namespace name 'Cms' does not exist in the namespace 'Umbraco' (are you missing an assembly reference?)
This is the first time that I've looked at the Scripting Files section (I normally use XSLT) but most of the other scripts seem to work. "List Child Pages With Doctype" also doesn't work though; it returns error CS0103: The name 'query' does not exist in the current context.
As this is my first time in here, let me know if I'm doing something wrong, but it doesn't seem right that these should fail on a brand-new install. I'm using 6.0.3 but have confirmed that the issue also occurs in the 6.1 beta.
@Chris did you install Umbraco through NuGet by any chance?
No; I installed it manually from the zip file.
It shouldn't and I just tested it and it doesn't. The error indicates that you're missing namespace references.
Please check that the below section is in your web.config and make sure that you followed the install instructions from our documentation: http://our.umbraco.org/documentation/Installation/
This is really weird... I did a fresh install of 6.0.3 and it works in there, yet it's not working on my upgraded 6.0.3 despite having an identical bin directory and identical web.config (other than DB details). It therefore seems to be specific to my site (although that doesn't explain why a fresh install of 6.1 didn't work) but I appreciate that this isn't a support forum so I'll just leave it at that.
Edit: Oh and yes, all of those lines are in web.config.
State: Can't Reproduce
Backwards Compatible: True
Affected versions: 6.1.0, 6.0.3
Due in version: