Quantcast
Channel: ActiveTopics
Viewing all 72689 articles
Browse latest View live

Umb. 7.0.4 + Autofac = "Failed to retrieve data for application tree content"

$
0
0

Hello,I have a class "DependecyConfig" which is called from Global.asax on OnApplicationStarting.

 DependecyConfig.cs

public static IContainer RegisterDependencies(Assembly currentAssembly)
        {
          
            var builder = new ContainerBuilder();

            // Register the controllers.
            builder.RegisterControllers(currentAssembly);
            builder.RegisterApiControllers(currentAssembly);

            builder.RegisterFilterProvider();

            var container = builder.Build();

            DependencyResolver.SetResolver(new AutofacDependencyResolver(container));
            GlobalConfiguration.Configuration.DependencyResolver = new AutofacWebApiDependencyResolver(container);
          
            return container;
        }

So there is an error while parsing Umbraco Nodes

Failed to retreive data for application tree content


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.

Stack Trace:

at Umbraco.Web.Trees.ApplicationTreeExtensions.TryLoadFromControllerTree(ApplicationTree appTree, String id, FormDataCollection formCollection, HttpControllerContext controllerContext)

   at Umbraco.Web.Trees.ApplicationTreeController.<GetRootForSingleAppTree>d__17.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()

   at Umbraco.Web.Trees.ApplicationTreeController.<GetApplicationTrees>d__4.MoveNext()

 

 


How to install courier in Umbraco 7.1.8

$
0
0

Hi,

I have installed UmbracoCms 7.1.8 on windows 7 (No service pack) 32-bit.  I am using IIS

7.5 and .net framework 4.5.

Please let me know how should I install and use courier in umbracoCms 7.1.8?

Does Umbraco 7 support approval workflow out of the box?

$
0
0

We've been a long time user of Umbraco, since version 4. One sorely lacking feature has been a workflow that would allow line level content authors to make changes to pages while only someone in Communications can review, approve and publish those changes. We had this type of feature nearly 20 years ago in our ColdFusion based CMS.

Has anything been added to Umbraco 7 either in our out of the box that allows for approvals before content goes live? How about staging content for proofing before live?

Failed to delete document type

$
0
0

When attempting to delete a document type (the only type I have currently in this fresh install), I receive the error "Failed to delete content type". This document type does not have an associated template. I have tried deleting all properties and tabs from the document type to see if that would allow the deletion, but no luck.

Here is the log specifics:

2016-03-08 16:35:22,576 [P4444/D9/T23] ERROR Umbraco.Core.Persistence.UmbracoDatabase - Database exception occurred
System.Data.SqlServerCe.SqlCeException (0x80004005): The key cannot be deleted. The key to be deleted is already deleted from an index by another concurrent session.
   at System.Data.SqlServerCe.SqlCeCommand.ProcessResults(Int32 hr)
   at System.Data.SqlServerCe.SqlCeCommand.ExecuteCommandText(IntPtr& pCursor, Boolean& isBaseTableCursor)
   at System.Data.SqlServerCe.SqlCeCommand.ExecuteCommand(CommandBehavior behavior, String method, ResultSetOptions options)
   at System.Data.SqlServerCe.SqlCeCommand.ExecuteNonQuery()
   at Umbraco.Core.Persistence.PetaPocoCommandExtensions.<>c__DisplayClass1.<ExecuteNonQueryWithRetry>b__0()
   at Umbraco.Core.Persistence.FaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)
   at Umbraco.Core.Persistence.Database.Execute(String sql, Object[] args)

Any ideas on how I can get this doc type deleted?

Thanks

Cannot login to Umbraco - Bad request

$
0
0

Hi,

I'm using umbraco v7.4.3 along with VisualStudio 2015 (Nuget install) and MS SQL Server 2014.

After install I'm not able to login to Umbraco getting a following error in Javascript console.

 Failed to load resource: the server responded with a status of 400
 (Bad Request)

http://localhost:50501/umbraco/backoffice/UmbracoApi/Authentication/PostLogin

)]}',
{"Message":"The requested resource does not support http method 'GET'."}

I've also noticed following:

  • Logging works when running on SQL Server CE
  • After initial setup wizard I'm sucessfuly logged in and I'm able to use Umbraco until I log out
  • When I allowed a browser to save a password I was able to skip the login form and get in as well

I'm using windows integrated authentication for the database. Are there any additional configurations I should check or change to deal with this issue?

Thanks,

John

Deploying media with Courier and UmbracoFileSystemProviders.Azure

$
0
0

We use Courier to deploy content changes from our staging environment to our production environment. Ideally we wouldn't have to do any content changes in production directly.

We also use a cdn to host our images. We've installed the UmbracoFileSystemProviders.Azure package, which hooks up the media folder to blob storage, which serves as the source for the cdn.

Now this is where it gets tricky: Courier will detect any dependant media fine, and deploy it to production. As expected it gets the content from the storage account, and sends it over. But the media is not picked up on the receiving end, courier puts it in the media folder, and I can see the files there, but they're not being picked up by the filesystemprovider.

When I manually upload media to the production website, it works as expected. It appears Courier is bypassing some code by putting the images directly on the filesystem, instead of going through the channels you would when manually uploading.

It appears I'll have to implement some custom code in between. Also because I'll have to rename the folders that contain the media, because of different id's (I'm pretty sure the folder name is not the same as media id, just an increment, but they don't line up exactly) but I can probably work around that issue.

I've looked through some documentation and blog posts, but I'm not sure where to begin. There's a lot of confusing lingo and not a lot of documentation, so I'm getting a bit stuck.

Anybody here who has some ideas or can point me in the right direction? Would be much appreciated.

Hugo

Umbraco Forms - Send email depending on Dropdown option

$
0
0

Hi,

I have an Umbraco form that has a dropdown list of users. Is it possible to send an email to the person that is selected in the dropdown?

Im using the latest version of Umbraco Forms.

Thanks

Jon

Bouncing emails over TLS

$
0
0

Hi,

Does Newsletter Studio suppport connection to POP3 for the bouncing emails over TLS?

Thanks.


Merchello discount coupon and tax

$
0
0

Hello,

I am working on a site with Merchello and have a problem with discount coupons and tax.

I have a discount coupon which applies a 75% discount. This discount is taken off the pre-tax price, but not the tax on the full price. My tax is set to 20%

This is what is currently happening:

Product £40.00 ex tax

Sub Total: £40.00

Discount: (£30.00)

Tax: £8.00 - [20% of £40] (wrong ?)

Total: £18.00 inc Tax

This is what I think should be happening:

Product £40.00 ex tax

Sub Total: £40.00

Discount: (£30.00)

Tax: £2.00 = [ 20% of (£40 - £30) ]

Total: £12.00 inc Tax

Does anyone know of a setting or change I can make to get the behaviour I am after? Or I am misunderstanding how it is supposed to work?

Many thanks, David

Migrating from Confluence to Umbraco

$
0
0

My company currently has a lot of pages in Confluence (cloud version). Nothing complicated - organized in spaces, many pages have sub pages, some pages have images.

We're now looking at moving our pages to an Umbraco CMS, hosted on our own servers.

Are there tools that will copy the pages in our Confluence account to an Umbraco instance?

Merchello Cross Domain

$
0
0

Is it possible to use Merchello ecommerce across multiple domains? I have a few sites hosted under one Umbraco CMS each site has its own domain name but all share the same umbraco DB.

Umazel with Visual Studio

417 Missing token suddenly occurring on all our sites

$
0
0

We have several Umbraco sites that have been working fine, then on Monday (15th May) clients on various sites starting reporting that they were seeing no content on login.

Checking it out, it is returning 417 Missing Token on various services on login; an F5 will make everything work.

It is consistent every time; log in, nothing works, F5, everything works.

Seems to be a common error but with various causes; I have cleared cookies, restarted site, no dice. Reproducible every time.

The initial login sends a UMB_UCONTEXT cookie (and my app cookie for site users).

The F5 sends that + cookies XSRF-TOKEN and XSRF-V, and extra header X-XSRF-TOKEN.

Replaying the requests in the object inspector will reliably give the same results, so clearly it is the headers that are causing the problem.

Any ideas how to fix? And why it's suddenly started happening?

Umbraco Id Page Crawling/Indexing

$
0
0

Hi there, not sure this is the right place to ask this but I'm hoping someone here can offer some guidance on an issue I'm having with a Umbraco site regarding crawling.

We have a number of urls that have been indexed that use the Umbraco page Id in the url, ie 'https://www.domain.co.uk/1234/', but the actual url is 'https://www.domain.co.uk/the-is-the-page-url/'.

To make things worse the Umbraco Id version is actually what's indexed.

Any thoughts on this would be greatly appreciated. If I have missed anything important that would aid understanding the issue please advise.

Many thanks, David

Report still shows changes

$
0
0

After clicking Full Import, I get the list of actions performed and can see that the Import Processed 135 items, 135 Changes.

If I then run a report it then says

Report Processed 135 items, 82 Changes

Should it not be the case that there should be 0 changes?

An example of an update would be enter image description here


Super Early Bird CodeGarden 2017 Ticket for Sale

$
0
0

It is with great disappointment that I am unable to make CodeGarden this year and therefore need to offer up my ticket for sale. I have confirmed with HQ that I am able to transfer my ticket once the sale is complete.

I bought it at super early bird pricing and paid 300 EUR + VAT so 375 EUR which at the time equated to £294.89 GBP. The ticket price today is 650 EUR + VAT so you can save yourself quite a bit!

Please drop me a line if you are interested in bagging yourself a bargain!!!

I am @ProNotion on Twitter or me(at)prolificnotion.co.uk.

Add to and pass List of nodes

$
0
0

Hi Folks,

I've got a helper method (installed as part of uBlogsy) which takes a List<> of nodes, cycles through the list and does some stuff...

@helper renderNodes(List<umbraco.NodeFactory.Node> nodes)
{

    //Does some stuff here...not included for ease of reading
}

Currently I build a list of nodes up (gained from the Alias and pass this to the helper) but I need to change my functionality.

Basically I now have to build the list from a set number of node ID that are stored in a DB, so I'm declaring a 'node' list.

var myNodeList = new List<umbraco.NodeFactory.Node>();

And I'm trying to add to this list a node that I've gotten via it's ID but I can't see a helper in umbraco.NodeFactory.Node that allows me to do this and trying Umbraco.Content(####) allows me to get the Node but I can't add it to the list.

Can anybody shed some light or help please?!?

Thanks, C

Umbraco content missing

Server Error in '/' Application on installation

$
0
0

Hi, I get a server error after installing a clean Umbraco 7.5.x (tried 7.5.2 -> 7.5.13) and installing the Umazel package. The package installation goes smoothly, the back end content is populated, but the front end immediately throws the error:

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: CS0433: The type 'Umbraco.Web.PublishedContentModels.Pagehome' exists in both 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\d0bca4ca\fa07cc35\assembly\dl3\b94dd1c3\7493705836d3d201\Umbraco.Web.PublishedContentModels.DLL' and 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\d0bca4ca\fa07cc35\AppWeb_all.generated.cs.8f9494c4.nxm0v68-.dll'

Source Error:

Line 34:
Line 35:
Line 36: public class PageViewshomecshtml : Umbraco.Web.Mvc.UmbracoTemplatePage { Line 37:
Line 38: #line hidden

Any ideas? I am by no means an expert ;) Any help appreciated. Thanks

How to render the content for a "related links" data type? Umbraco v7.6

$
0
0

I'm trying to render the caption and link from a "related links" data type in umbraco v7.6 and cannot get it to function. I've scoured the internet and haven't been able to find a single instance where the code-referenced solution will work.

I've tried to implement it by itself using Umbraco's sample documentation, and also from a referenced Archetype ... neither of which would work.

Can anyone share a functional example ... no matter how basic so I can at least see a functioning example and have a starting point to try and modify it for a more tailored use on my site?

I'm trying to use this to create single items-links in a navigation ... I just cannot access the link referenced in the data type. Any help would be greatly appreciated.

Viewing all 72689 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>