Unknown server tag 'uComponents:RenderTemplate' - umbraco

Unknown server tag 'uComponents:RenderTemplate'.
Hi, just upgraded to 4.7.1 from 4.9.1 and the back office seems to be working ok however when I wish to view my web site I keep getting "Unknown server tag 'uComponents:RenderTemplate'" error from templates tags.
Thanks

I believe that's in the uComponents.Controls assembly. Make sure you have uComponents.Controls.dll in your bin folder. Also, I think that you need uComponents 5 with 4.9.1 (but uComponents 4 with 4.7.1). see: http://ucomponents.codeplex.com/
You should get a new version of uComponents.

Related

Upgrade Umbraco existing project from version 4.11.8 to version 7.5.4

I have successfully upgraded version 4.8.1 to 4.11.8 (I'm trying to upgrade to each minor versions incrementally step by step) but when i'm trying to upgrade the version 4.11.8 to 6.0.0, then templates, macros, and all others loading perfectly at backend side except content and document types, Please help to get rid of this issue.. Thanks in advance :)Check here - Error Displayed in Firebug in Firefox Console windowCheck here - "ajax" XHR request and response coming from the source trying to pull content
try and load this up with firebug or chrome dev tools (or similar) - you should see an "ajax" XHR request and response coming from the source trying to pull content. Inspecting the response from this should give you some more information.

Razor views not generating html after deploying Umbraco 7.2 in IIS 7

I am new to Umbraco, so I started creating a site to play a bit with it. While I had my site running on IIS express (either from VS or WebMatrix) everything worked fine. After deploying the site to IIS 7, the razor views of the front end are display in plain text, meaning that I actually see Razor syntax in the browser. Umbraco back office is working perfect though, except when I hit preview, in that case I get the plain Razor syntax again. I then try to deploy a simple new MVC project to IIS and the Razor engine worked just fine, so I guess is not a problem in IIS but in Umbraco configuration. Is there any configuration tweak I need to take care in Umbraco configuration to solve this problem? Thanks in advance for the help.
I also tried to deploy it in the IIS of my local development machine (the same in which it runs OK in IIS-express) which has the right framework and everything and I got the same cshtml display in the browser.
After struggling a bit more with the problem I found the issue causing this behavior. After installing the starter kit a lot of files are generated in the folder and subfolders of the solution. In order to publish the solution to generate the contents of your website the VS project needs to have all these files included as project files. I found out that some views were excluded of the project and thus not being generated when publishing. I included the missing views and double check that all important files were part of the project and problem solved.

Umbraco 6 on Azure: UmbracoModule Service Unavailable

I'm deploying a new Umbraco 6 installation to Azure, and I've run into a problem I can't seem to diagnose.
Here are the steps I took to get the site deployed:
Created new MVC 4 project in VS2012
Installed UmbracoCms 6.0.0 via NuGet
Tested locally: SUCCESS
Set up correct connection string for Azure in Web.config (via transform)
Deployed to Azure using Web Deploy
Unfortunately, when I navigated to the Azure instance, I get a blank page with "The service is unavailable." I enabled detailed logging in Azure, and looked at the log files. There wasn't much that suggested a solution to me. This is what the detailed error says:
Module: UmbracoModule
Notification: ResolveRequestCache
Handler: PageHandlerFactory-Integrated-4.0
Error Code: 0x00000000
I'm out of ideas at this point...any ideas?
I've just gone through the steps of what you describe. I created a MVC4 project and downloaded Umbraco 6 via Nuget. What I did notice was that I had to 'include' a fair number of file into the project structure in the VS solution explorer.
I ran the website locally and ran an install just using SQL CE.
I created a website on Azure and I downloaded the .PublishSettings file and imported this into the Web Deploy options in VS. I then published the site 'as is' just to see what happened. I didn't expect the database to work but I just wanted to make sure that the application ran ok and I could at least access the Umbraco login screen.
When I accessed the site, it worked as expected and I could access the login screen at /umbraco/
Given the problems you are having, although this sounds simple, did you 'include' all the files in the solution explorer before deploying?
If you are still having issues, I would doing what I have done and just setting up another very simple site to test your deployment process. I have to be honest, I was surprised how easy it is.
I've just been through the same steps with the simple blog and it was quite hard. I didn't include anything into Visual Studio (except it's 2010 and I downloaded the publish profile) and the site ran fine locally.
On uploading Umbraco 6 to azure I got 'Could not load file or assembly MySql.Data, ' etc. .net error. Of course, it was there.
On repeating my deployment steps, swapping between Visual Studio, Web Matrix and Sql Azure Migration Wizard, checking it was release config on build etc. (not that it should need building) I got various 'The page cannot be displayed because an internal server error has occurred' on a blank white screen, and 'Could not load My.Sql' errors.
Coming back to it the next day, I deployed again, and my user had lost its role membership in the database. I ran the EXEC sp_addrolemembers again, and lo, the site now works. I wish I could be more specific on what went wrong and what got fixed, but it's all a bit voodoo.
I second what Digby said - make sure all your includes are, well, included and keep on deploying. I think azure is having a bit of a do lately, there was an outage last week on 23rd Feb.

Failed to publish MVC 4 Azure website, always get 404

When I'm publishing the website to staging and trying to go
https://26e33c03a5fc48e9a26089b858345c9d.cloudapp.net/
I'm immediately redirecting to https://26e33c03a5fc48e9a26089b858345c9d.cloudapp.net/Error/Http404/?aspxerrorpath=/Account/Login
this issue is new and first occurred after Azure down time,
any idea why this happens?
The code work perfectly on my Machine.
i lately added the RazorEngine 3.0.8 Beta
the solution was upgrade from mvc3 to mvc4 but i published it few times and it did work.
again, this is working on my machine but not on the server, any idea why?
V3.0.8 uses the older version of System.Web.Razor published with MVC3. Try updating to v3.1.0 which is now built around Razor 2 which came with MVC4
The issue solved after removing the RazorEngine 3.0.8 Beta, i suggest to be careful as the beta causing real issues.

MVC 3 Project Deployment

I´m trying to deploy an MVC 3 project to my server runing IIS 7.
I tried creating a package with VS2010. The resulting zip-file I moved to the server and imported this to the IIS7. This is going well so far. I can also open the loginpage in the browser, but when logging-in (Database query for checking login data ) there comes a message "Sorry, an error occurred while processing your request."
How do I have to deploy? Are there other ways? I manage the database connection via a dll. I also tried to connect to localhost but this didn´t work either.
Thanks
http://www.iwantmymvc.com/2011-03-23-bin-deploy-aspnet-mvc-3-visual-studio

Resources