Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • willem sanders 10 posts 30 karma points
    Jul 20, 2013 @ 11:45
    willem sanders
    0

    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

     

     

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Jul 22, 2013 @ 10:23
    Markus Johansson
    0

    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?

  • willem sanders 10 posts 30 karma points
    Jul 22, 2013 @ 13:58
    willem sanders
    0

    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

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Jul 22, 2013 @ 14:41
    Markus Johansson
    0

    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

  • willem sanders 10 posts 30 karma points
    Jul 22, 2013 @ 15:01
    willem sanders
    0

    No web.config seems unmodified and /config/newsletterStudio.config is missing

     

    I will check rights on the folders.

     

    Thanx, Willem

  • willem sanders 10 posts 30 karma points
    Jul 22, 2013 @ 15:07
    willem sanders
    0

    hi Markus,

     

    I gave IIS_IUSRS full control on the root of the website and installation works fine!

     

    Thanx, Willem

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Jul 22, 2013 @ 17:45
    Markus Johansson
    0

    Sweet! Thanks for letting us know!

  • willem sanders 10 posts 30 karma points
    Jul 22, 2013 @ 18:05
    willem sanders
    0

    thanx markus

  • willem sanders 10 posts 30 karma points
    Jul 23, 2013 @ 09:18
    willem sanders
    0

    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:

     

    [WebException: Could not load url: http://10.2.103.14/nieuwsbrieven/jan-2013/. Inner exception: ]
       NewsletterStudio.Helper.DownloadWebPage(String Url) +1113
       NewsletterStudio.External.NewsletterRender.Page_Load(Object sender, EventArgs e) +834
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
       System.Web.UI.Control.LoadRecursive() +71
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3048

     


     

     

    Version Information:

    Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

     

     

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Jul 23, 2013 @ 10:57
    Markus Johansson
    0

    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

  • willem sanders 10 posts 30 karma points
    Jul 23, 2013 @ 13:58
    willem sanders
    0

    Hi,

     

    yes it is accessible from the server. I gave IIS_IUSRS full control on the rootfolder of the site

     

    /Willem

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Jul 23, 2013 @ 14:29
    Markus Johansson
    0

    Hi!

    Try to download any other page, does that work? Like google.com?

  • willem sanders 10 posts 30 karma points
    Jul 23, 2013 @ 14:47
    willem sanders
    0

    hi,

     

    google works, any node from umbraco fails but is accessible from browser on the webserver

     

    /willem

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Jul 23, 2013 @ 15:17
    Markus Johansson
    0

    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

  • willem sanders 10 posts 30 karma points
    Jul 23, 2013 @ 15:26
    willem sanders
    0

    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

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Jul 25, 2013 @ 16:00
    Markus Johansson
    0

    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?

  • Tomasz Kowalski 135 posts 445 karma points
    Aug 07, 2013 @ 10:01
    Tomasz Kowalski
    0

    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: ..." Sendout error

    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

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Aug 07, 2013 @ 10:42
    Markus Johansson
    0

    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? 


     

  • Tomasz Kowalski 135 posts 445 karma points
    Aug 08, 2013 @ 11:25
    Tomasz Kowalski
    0

    Hi Markus,

    Without try/catch block I got error message:

    '' is not a supported encoding name.
    Parameter name: name

     

    Does it help?

    Regards

    Thomas

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Aug 08, 2013 @ 21:38
    Markus Johansson
    0

    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?

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Aug 08, 2013 @ 21:42
    Markus Johansson
    0

    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

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Aug 08, 2013 @ 22:34
    Markus Johansson
    0

    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

  • Tomasz Kowalski 135 posts 445 karma points
    Aug 09, 2013 @ 11:10
    Tomasz Kowalski
    0

    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

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Aug 09, 2013 @ 13:05
    Markus Johansson
    0

    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"/> 

  • Tomasz Kowalski 135 posts 445 karma points
    Aug 12, 2013 @ 08:19
    Tomasz Kowalski
    0

    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

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Aug 12, 2013 @ 09:17
    Markus Johansson
    0

    Hmm.. do you have an email server configured in the /config/newsletterstudio.config-file?

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Aug 12, 2013 @ 09:21
    Markus Johansson
    0

    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. 

  • Tomasz Kowalski 135 posts 445 karma points
    Aug 12, 2013 @ 09:23
    Tomasz Kowalski
    0

    I didn't self changed anything here, so these are default settings:

          <smtpServers>
             <clear />
             <add name="Default" host="localhost" port="25" />
          </smtpServers>

  • Tomasz Kowalski 135 posts 445 karma points
    Aug 12, 2013 @ 09:36
    Tomasz Kowalski
    0

    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

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Aug 12, 2013 @ 09:37
    Markus Johansson
    0

    Hi Thomas!

    Cool! Great that i works! Let me know if you have any other problems!

    // m 

  • willem sanders 10 posts 30 karma points
    Aug 19, 2013 @ 10:40
    willem sanders
    0

    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

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Aug 19, 2013 @ 10:42
    Markus Johansson
    0

    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. 

  • Gerjan 19 posts 78 karma points
    Sep 25, 2013 @ 11:59
    Gerjan
    0

    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 

  • Tomasz Kowalski 135 posts 445 karma points
    Oct 30, 2013 @ 10:49
    Tomasz Kowalski
    0

    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

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Oct 30, 2013 @ 13:20
    Markus Johansson
    0

    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.

  • Tomasz Kowalski 135 posts 445 karma points
    Oct 30, 2013 @ 15:21
    Tomasz Kowalski
    0

    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

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Oct 30, 2013 @ 16:26
    Markus Johansson
    0

    So this issue is only there when you try to preview? Hmm... strange... I'm quite sure that an upgrade would help you.

  • Tomasz Kowalski 135 posts 445 karma points
    Oct 31, 2013 @ 08:34
    Tomasz Kowalski
    0

    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

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Oct 31, 2013 @ 08:42
    Markus Johansson
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft