I installed the newsletterstudio package on my local
dev-machine (umbraco 4.11, newsletterstudio 1.3.5) and it works great
I have the same settings op my public webserver.
Installation seems fine but the newsletter section gives a 'newsletter studio'
folder icon without any childnodes (llike settings)
Creating a new newsletters results in a 'runtime error' below
Any thy thoughts?
thanx, Willem
Server Error in
'/' Application.
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.
Source Error:
An unhandled exception was generated during the
execution of the current web request. Information regarding the origin and
location of the exception can be identified using the exception stack trace
below.
Stack Trace:
[NullReferenceException: Object reference not set
to an instance of an object.]
Hmm, do you open the dialog via the green button in the dashboard? Why dosen't the nodes in the tree display? Sounds like there was some problems with the write permissions during the install.
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.
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
The only thing Newsletter Studio does is to request the web page... if google works but not your local page I'm not sure why... are you 100% sure that the url is correct?
Hi Markus,
I have same problem.
Umbraco 6.0.4 (Assembly version: 1.0.4863.23138), Newsletter studio v1.3.5 (trial-mode).
First I would like to send newsletter from content. I have followed help topic "Sending from the content-section", but when I try to send newsletter or just see a preview, I'm getting exception:
"Could not load url: http://crt.web-123.org/presse/nyhedsbreve/nyhedsbrev-august-2013.aspx. Inner exception:
..."
It doesn't matter which way of charset settings I'm using, but I have noticed, that it's only Preview that doesn't work. "Send now" works fine. Both with "old" and "new" charset meta.
After the modifications you suggested (charset) and the new dll I have the same 'sequence contrains no elements' error. I have version 4 and do not see a skins option
I had the same problem with the preview (after insert url content) not working and my problem was:
- The webserver could not open the site itself and because of that the preview received a timeout resulting in "could not load url blablabla" - Added the site to the hostfile on the webserver and succes!
Problems again with Preview from SendOut. This time Umbraco 4.11.3 and NS 1.3.5 full (not Trial).
I have set up a new document type with Newsletter tab with SendOut datatype. This doc type has its own template in wich I'm building content from children nodes (so I have no [content] shortcode in it).
I have also other template, with "Newsletter" suffix in name, which is almost the same as the first, but contains [unsunscribe] and [readonline] shortcodes.
Default template in Newsletter Studio Settings contains only [content] shortcut.
Newsletter is sent correctly from SendOut, but Preview gives "Sequence contains no elements" error:
I don't know if I can relatively easy upgrade NS to newest version without roblems? Will it help?
When you say "default template in Newsletter Studio" you mean the skin-tab in the settings right? Does that skin contain the [content]-tag?
Did you select that skin as the skin to use on the send out data type?
EDIT: Yes upgrade will solve this as the latest version handles this situation and falls back on a empty template. But setting the skin in 1.3.5 would also solve it.
No contenttree after installation of package
I installed the newsletterstudio package on my local dev-machine (umbraco 4.11, newsletterstudio 1.3.5) and it works great
I have the same settings op my public webserver. Installation seems fine but the newsletter section gives a 'newsletter studio' folder icon without any childnodes (llike settings)
Creating a new newsletters results in a 'runtime error' below
Any thy thoughts?
thanx, Willem
Server Error in '/' Application.
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.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
NewsletterStudio.Usercontrols.CreateNewsletter.btnSubmit_Click(Object sender, EventArgs e) +164
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +153
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3690
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
Hi!
What version of Umbraco and Newsletter Studio are you running? Any hits in the umbraco log? (table in the db) or the tracelogs? Errors etc?
Hi Markus,
I have umbraco v 4.11.3 (Assembly version: 1.0.4760.34993) and Newsletter Studio v1.3.5 (trial-mode)
I checked all the logs but other than the error listed above ther is no information.
Thanx, Willem
Hmm, do you open the dialog via the green button in the dashboard? Why dosen't the nodes in the tree display? Sounds like there was some problems with the write permissions during the install.
Is the configuration-section added to web.config?
<configSections>
<section name="newsletterStudio" type="NewsletterStudio.Bll.Configuration.NewsletterStudioConfig, NewsletterStudio" />
</configSections>
....
<newsletterStudio configSource="config\NewsletterStudio.config" />
And is the file /config/newsletterStudio.config added?
/ m
No web.config seems unmodified and /config/newsletterStudio.config is missing
I will check rights on the folders.
Thanx, Willem
hi Markus,
I gave IIS_IUSRS full control on the root of the website and installation works fine!
Thanx, Willem
Sweet! Thanks for letting us know!
thanx markus
Hi Markus,
We have more issues with NewsletterStudio. The content of my newsletter is:
<p>[RenderUrl:http://testsite.gebarencentrum.nl/test]</p>
The url is accesable both outside the server it runs on and inside.
My preview show a red dotted message: Could not load <url>
On the server I see more detailed info if I click the preview button on my content
Server Error in '/' Application.
Could not load url: http://10.2.103.14/nieuwsbrieven/jan-2013/. Inner exception:
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.Net.WebException: Could not load url: http://10.2.103.14/nieuwsbrieven/jan-2013/. Inner exception:
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
Version Information:
Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
Hi!
Is the url http://10.2.103.14/nieuwsbrieven/jan-2013/ accessible from the server that you are running? It's probably related to permissions as well.
// m
Hi,
yes it is accessible from the server. I gave IIS_IUSRS full control on the rootfolder of the site
/Willem
Hi!
Try to download any other page, does that work? Like google.com?
hi,
google works, any node from umbraco fails but is accessible from browser on the webserver
/willem
Hmm. Strange. So do you pick the urls from the content picker or type in in? How is your set up? Standard site? Multiling? Using domain prefixes?
/ m
Hi Markus,
I pick the url from the nodepicker
In the config settings I have made modifications to allow user-freindly url's.
Nop multilng or domain prefixes
/Willem
So this url (http://10.2.103.14/nieuwsbrieven/jan-2013/) is avalible on the server? And you can download google.com but not that page from Newsletter Studio?
The only thing Newsletter Studio does is to request the web page... if google works but not your local page I'm not sure why... are you 100% sure that the url is correct?
Hi Markus, I have same problem. Umbraco 6.0.4 (Assembly version: 1.0.4863.23138), Newsletter studio v1.3.5 (trial-mode).
First I would like to send newsletter from content. I have followed help topic "Sending from the content-section", but when I try to send newsletter or just see a preview, I'm getting exception: "Could not load url: http://crt.web-123.org/presse/nyhedsbreve/nyhedsbrev-august-2013.aspx. Inner exception: ..."
Site http://crt.web-123.org/presse/nyhedsbreve/nyhedsbrev-august-2013.aspx is of course available in webbrowser.
When I try to send newsletter with something from content from Newsletter section, I get only message:
"Could not load "http://crt.web-123.org/kompetencer-viden/turisme.aspx". Is the address correct?"
YES! The address IS correct. :)
I have other website when sending newsletter with content works fine, but it is build in Umbraco 4.11.3 and NS 1.3.4 (full version)
What can we do with this problem?
Best regards Thomas
Hi all!
Hmm, this error is very strange!
The code that tries to download the page looks like this: https://gist.github.com/enkelmedia/52d6900786bf3c5cd45e
Could you try that code without the try/catch block and see if there is any error message that can help us?
Hi Markus,
Without try/catch block I got error message:
'' is not a supported encoding name.
Parameter name: name
Does it help?
Regards
Thomas
Hmm... so what is the charset of the page? Do you have that set? Like this:
<metahttp-equiv="Content-Type"content="text/html; charset=UTF-8"/>
But at the same time it should work without this as well... strange... :/ Could you try adding/removing the charset-attribute?
Hi again!
I've found the problem. The code snippet doesn't support the HTML5 version of the charset (that you are using on your site).
http://webdesign.about.com/od/metatags/qt/meta-charset.htm
I will have to rewrite this part of the code and release a patch - a "quick fix" for you would be to use the tag that I posted in my previous post.
// m
Hi again!
I've refactored this part of the code and added a more safe parser for the charset - seems to work with your page now.
https://dl.dropboxusercontent.com/u/13158309/NewsletterStudio-1.3.5.2.zip
Download that zip and just replace the dll in you bin-folder and you shoule be rocking and rolling.
Let me know if it works!
/ Markus
Hi Markus,
Thanks for this. It's better now. I can send/preview (in Newsletter section) newsletter that contains something from content. But...
...I still can't send newsletter from content section. When I try to see preview I got this:
Sequence contains no elements
Best regards
Thomas
Hi!
Hmm, I'll need to try this as well - probably something with the charset. Would it work with the "old" way of setting the charset?
<metahttp-equiv="Content-Type"content="text/html; charset=UTF-8"/>
Hi Markus,
It doesn't matter which way of charset settings I'm using, but I have noticed, that it's only Preview that doesn't work. "Send now" works fine. Both with "old" and "new" charset meta.
Best regards
Thomas
Hmm.. do you have an email server configured in the /config/newsletterstudio.config-file?
Hmm... have you removed all the defualt skinks? http://support.newsletterstudio.org/customer/portal/articles/1052929-skins
At the moment, you'll need to have an empty template configured even if you are sending from the content section.
I didn't self changed anything here, so these are default settings:
<smtpServers>
<clear />
<add name="Default" host="localhost" port="25" />
</smtpServers>
I have made new default skin, and preview started to work. :) I was anyway going to make own template for newsletter "send out" from content.
Thank you for help
Regards
Thomas
Hi Thomas!
Cool! Great that i works! Let me know if you have any other problems!
// m
Hi Markus,
After the modifications you suggested (charset) and the new dll I have the same 'sequence contrains no elements' error. I have version 4 and do not see a skins option
// Willem
This is becuse you probablt installed the package with the wrong permission-settings so the skin was never added. You will need to add a new skin.
That doesent help, plese provide some more information about the error message and where it appears.
Hi,
For your info:
I had the same problem with the preview (after insert url content) not working and my problem was:
- The webserver could not open the site itself and because of that the preview received a timeout resulting in "could not load url blablabla"
- Added the site to the hostfile on the webserver and succes!
Gerjan
Hi Markus,
Problems again with Preview from SendOut. This time Umbraco 4.11.3 and NS 1.3.5 full (not Trial).
I have set up a new document type with Newsletter tab with SendOut datatype. This doc type has its own template in wich I'm building content from children nodes (so I have no [content] shortcode in it).
I have also other template, with "Newsletter" suffix in name, which is almost the same as the first, but contains [unsunscribe] and [readonline] shortcodes.
Default template in Newsletter Studio Settings contains only [content] shortcut.
Newsletter is sent correctly from SendOut, but Preview gives "Sequence contains no elements" error:
I don't know if I can relatively easy upgrade NS to newest version without roblems? Will it help?
Kind regards
Thomas
Hi!
When you say "default template in Newsletter Studio" you mean the skin-tab in the settings right? Does that skin contain the [content]-tag?
Did you select that skin as the skin to use on the send out data type?
EDIT: Yes upgrade will solve this as the latest version handles this situation and falls back on a empty template. But setting the skin in 1.3.5 would also solve it.
Yes, yes and yes.
Default skin was as below:
Just for test, I have moved almost all HTML markup fra sendout-template to default skin, but i didn't help.
But still newsletter is sent correct from SendOut... Just Preview doesn't work
/Thomas
So this issue is only there when you try to preview? Hmm... strange... I'm quite sure that an upgrade would help you.
I'll give a try.
Should I just install new package from Umbraco repository or remove first the old version? What with license and mailing lists?
/Thomas
Hi!
Before doing it make sure to take backups - you should be able to just upgrade (in other words install it) - the data will not be lost.
/ m
is working on a reply...