Ublogsy 3 error on clean V6 missing UmbracoTemplatePage
Hi,
I install the latest ublogsy code on a clean V6 site, copy the patch into thie bin, move the blog to under the site. Everythign builds ok but when i browse to the blog I get the following error.
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'UmbracoTemplatePage' could not be found (are you missing a using directive or an assembly reference?)
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'UmbracoTemplatePage' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 35:
Line 36:
Line 37: public class _Page_Views_uBlogsyLanding_cshtml : UmbracoTemplatePage { Line 38:
Line 39: #line hidden
Source File: c:\Users\Paul\AppData\Local\Temp\Temporary ASP.NET Files\root\aa1b4fa8\8d1cc6f\App_Web_ublogsylanding.cshtml.65a2d1ee.h2uce93j.0.cs Line: 37
I'm also having the same problem as Paul (and the same error). I installed Umbraco 6.0.3 through NuGet and changed the setting to Mvc and then installed uBlogsy from within the backoffice.
I don't really understand what Paul means by his solution. Do you have some ideas of what I can do with the problem?
Ah, got it now. The solution is to start by creating Webforms project (not MVC project) and install Umbraco into it. Which I guess is what was meant by Paul :)
Ublogsy 3 error on clean V6 missing UmbracoTemplatePage
Hi,
I install the latest ublogsy code on a clean V6 site, copy the patch into thie bin, move the blog to under the site. Everythign builds ok but when i browse to the blog I get the following error.
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'UmbracoTemplatePage' could not be found (are you missing a using directive or an assembly reference?)
Any help would be greatly appreciated.
Thanks,
Paul.
v6.0 or v6.02?
The type or namespace name 'UmbracoTemplatePage' could not be found means that .net cant find a dll. Specifically an Umbraco dll.
Which cshtml file is this in regard to?
Thanks for a quick reply!
Umbraco v6.0.2 (Assembly version: 1.0.4811.18151)
and the latest UBlogsy 3.0 RC
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'UmbracoTemplatePage' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 35: Line 36: Line 37: public class _Page_Views_uBlogsyLanding_cshtml : UmbracoTemplatePage { Line 38: Line 39: #line hidden
Source File: c:\Users\Paul\AppData\Local\Temp\Temporary ASP.NET Files\root\aa1b4fa8\8d1cc6f\App_Web_ublogsylanding.cshtml.65a2d1ee.h2uce93j.0.cs Line: 37
Try deleting all the files in c:\Users\Paul\AppData\Local\Temp
ok, i tried that but still the same message. Also cleaned, rebuilt and re-installed ublogsy but still the same.
all my references look ok, but I can't see what I don't have. Can you tell me which assembly the UmbracoTemplatePage comes from?
As an extra bit of background info, i installed umbraco via nuget in VS2012. Have you heard of problems with that?
I presume its best to be on 6.0.2 rather than 6.0.0 ?
Is there anywhere I can either get your latest source, or a blank project already setup with Umbraco 6.0.2 and Ublogsy installed?
Many thanks for your help so far...
Perhaps repalce UmbracoTemplatePage with Umbraco.Web.Mvc.UmbracoTemplatePage
I just did a test. Works fine with Umbraco from NuGet. 6.0.2 is just bug fixes.
Perhaps start over... Install Umbraco, then install uBlogsy (including the hotfix). It should all work out of the box.
I've tried changing to fully qualified but I can't change the code where the error is thrown.
I've also tried starting over (many times!)
I don't have a reference to umbraco.web.mvc if that is an assembly thats missing? Should that come down with Nuget?
Hold everything! i've got it! My problem is having the ability to read the most basic of instructions!
On the first line of the nuget page it says to
"Installs Umbraco Cms in your Visual Studio ASP.NET Webforms project"
... not an MVC4 app!
So far it looks to resolve the issue.
Many thanks for all your help, although i've not got to use ublogsy yet, of what i've seen it looks fantastic.
Good to know you solved it.
Let me know if you find any issues with uBlogsy. I want to hit the "release" button soon and would like to have it bug free :)
btw umbraco.web.mvc is in umbraco.dll.
Hi
What was the solution ?
Did you start over and manually copy umbraco instead of installing via Nuget or did you change a config setting or something ?
Hi,
I'm also having the same problem as Paul (and the same error). I installed Umbraco 6.0.3 through NuGet and changed the setting to Mvc and then installed uBlogsy from within the backoffice.
I don't really understand what Paul means by his solution. Do you have some ideas of what I can do with the problem?
Maria
Ah, got it now. The solution is to start by creating Webforms project (not MVC project) and install Umbraco into it. Which I guess is what was meant by Paul :)
Yes, thats the way. I managed to insert some using statements and kept it as a MVC solution though.
I have written some thoughts and ideas about it here http://our.umbraco.org/projects/starter-kits/ublogsy/ublogsy-mvc/39750-Thoughts-and-ideas-when-implementing-a-uBlogsy-blog
Rasmus
is working on a reply...