Newsletter-Preview/Sendout: Error: An error has occurred. Could not download the current node as HTML.
Hello,
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:
https://bezirk-schwaben.de/zusaetzliche-inhalte/newsletter/_test/
(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...
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.
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.
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
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 :)
Newsletter-Preview/Sendout: Error: An error has occurred. Could not download the current node as HTML.
Hello,
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: https://bezirk-schwaben.de/zusaetzliche-inhalte/newsletter/_test/ (I sent the html from a web-view as Newsletter)
Here is the full error-message:
But I changed nothing else in umbraco or newsletterstudio - only change my cshtml-Template...
Hi!
Newsletter Studio will try to render the page using a template called "Newsletter"
https://bezirk-schwaben.de/zusaetzliche-inhalte/newsletter/_test/newsletter/
What if you try that?
I bet that there is some error in the cshtml-code?
Hi,
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: https://bezirk-schwaben.de/zusaetzliche-inhalte/newsletter/_test/ldnewsletter/
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.
Cheers!
// m
Hi!
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
Hi!
And if you open that URL in the browser
http://www.yoursite.com/thePageToRender/Newsletter
(Adding "Newsletter" to the end of the url will have umbraco to render "thePageToRender" with the Newsletter template.
What happens?
Hi Markus,
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 :)
Hi!
I see, Good news! Thanks for sharing the solution!
// m
is working on a reply...