Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
right now I have a problem: I had a working newsletter. Now I changed some css-things in the template. Now I only get the Error-Message when clicking preview or send an email. But the Web-View works:
(I sent the html from a web-view as Newsletter)
Here is the full error-message:
Error: An error has occurred. Could not download the current node as HTML. Are your templates configured correctly?
But I changed nothing else in umbraco or newsletterstudio - only change my cshtml-Template...
Newsletter Studio will try to render the page using a template called "Newsletter"
What if you try that?
I bet that there is some error in the cshtml-code?
I changed the cshml back to the code, where it worked!
And I also tried, when I just make a h1 with "hello world" - but also no happy result :)
My template has the alias LdNewsletter. So you need to call it like this:
Now I tried the whole thing directly from the server. I can see the preview and send the newsletter. Everything is all right and works.
But when I do this from my computer, the Error-message above comes.
Could it be, that there has be changed something on the server? Something that breaks downloading the template to an external PC?
That sounds strange, I works on your server but not the dev-machine?
Are you getting the same error? The one that you posted? " Could not download the current node as HTML."
It looks like this has something to do with that the web page can't be downloaded - have it ever worked on your machine? Sometimes there is security settings around this?
What version of Newsletter Studio are you running? I'm thinking that I might be able to add some more debugging to the error-handler for us to have a closer look at the underlaying problem.
If your template is called "ldNewsletter" it will not work as the convention is that the template has to be called "newsletter".
Have look at the documenation: http://support.newsletterstudio.org/customer/en/portal/articles/1053067-sending-from-the-content-section
I have a Template which is called "Newsletter" with alias "LdNewsletter".
So now I changed the Alias to "Newsletter" - but the exact same effect... Same Error-Message like at the beginning
And if you open that URL in the browser
(Adding "Newsletter" to the end of the url will have umbraco to render "thePageToRender" with the Newsletter template.
I found a solution for this problem. The problem was, that in the https-binding in IIS was the IP-address from the server.
I removed the IP and now it works again :)
I see, Good news! Thanks for sharing the solution!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted