Copied to clipboard

Flag this post as spam?

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


  • rakesh khoodeeram 6 posts 76 karma points
    Sep 05, 2017 @ 19:45
    rakesh khoodeeram
    0

    MailChimp and PageHome reference not found

    hello, I have started getting this error:

    sometimes: CS0246: The type or namespace name 'MailChimp' could not be found (are you missing a using directive or an assembly reference

    Line 1: using DotSee.Models;
    Line 2: using MailChimp.Net;
    Line 3: using MailChimp.Net.Interfaces;
    Line 4: using MailChimp.Net.Models;
    

    source file: ..\App_Code\Controllers\NewsletterSubscriptionSurfaceController.cs Line: 2

    CS0246: The type or namespace name 'PageBlogList' could not be found (are you missing a using directive or an assembly reference?)

    Line 5: namespace DotSee.Models
    Line 6: {
    Line 7: public partial class PageBlogListViewModel : PageBlogList
    Line 8: {
    

    source: ....AppCode\Models\PageBlogListViewModel.cs Line: 7 PageBlogList not found in AppCode.

    my app no longer starts

  • Sotiris Filippidis 286 posts 1501 karma points
    Sep 05, 2017 @ 19:51
    Sotiris Filippidis
    0

    Looks like you either have deleted something or recompiled something in a different way. Those two problems are different in the sense that the first regards a missing third-party DLL, and the second regards Models Builder, for which you should have the compiled DLL with the strongly-typed models.

    Do you remember having done anything of significance right before these errors started appearing?

  • Rico 3 posts 23 karma points
    Nov 30, 2017 @ 12:19
    Rico
    0

    Hi, I'm having the same problem "The type or namespace name 'PageBlogList' could not be found (are you missing a using directive or an assembly reference?)" when publishing from Visual Studio. Did anyone solve this? Thanks.

  • Ondřej Kobza 3 posts 73 karma points
    May 18, 2018 @ 16:50
    Ondřej Kobza
    0

    Hello guys, I also have the same problem, have you been able to solve it somehow?

    I've made a new visual studio project, somehow managed to get umbraco and umazel working. It's working fine on my local computer, but when I publish it to Azure, it's giving me these errors! Thanks in advance.

  • Sotiris Filippidis 286 posts 1501 karma points
    May 18, 2018 @ 17:36
    Sotiris Filippidis
    0

    Does the file MailChimp.Net.V3.dll exist in your /bin folder? If not, could you try copying it manually from your local installation?

  • Ondřej Kobza 3 posts 73 karma points
    May 19, 2018 @ 09:24
    Ondřej Kobza
    0

    Thank you! This helped. Visual studio did not upload the bin folder contents so I included all the DLLs in the project and published again.

    Now the back office works, but sadly the main page (or any other page) is not loading. It gets stuck on the preloader. There is no error so I have no idea how to proceed.

    Is there maybe anything else to include? I've included all the files from Mick Hardys quick tutorial + the scripts folder. Locally everything works. Also I managed to get clean Umbraco working on Azure, so it seems to have something to do with Umazel.

  • Sotiris Filippidis 286 posts 1501 karma points
    May 19, 2018 @ 10:34
    Sotiris Filippidis
    0

    What does your browser console say when it's stuck? (In Chrome, Ctrl+Shift+J, Console tab)

  • Ondřej Kobza 3 posts 73 karma points
    May 19, 2018 @ 15:44
    Ondřej Kobza
    0

    Well at first I was getting these messages:

    Mixed Content: The page at '

    The problem was that in the style.css file the Raleway font was called over HTTP instead of HTTPS. So I changed it to HTTPS, but now the console doesn't say anything, it's empty. And the webpage is still not loading.

  • Sotiris Filippidis 286 posts 1501 karma points
    May 19, 2018 @ 15:54
    Sotiris Filippidis
    0

    Maybe it could help if I could see how the site is loading. Could you DM me on Twitter (https://twitter.com/sfilip) and send me the url to the site?

  • Sotiris Filippidis 286 posts 1501 karma points
    May 18, 2018 @ 17:38
    Sotiris Filippidis
    0

    (Same goes for any other DLL in the /bin folder that doesn't get copied when publishing). The UMazel package installer installs some DLLs directly into the bin folder, I suspect this is the reason for the issues you (and others that posted before) are facing. Please try comparing what you have in the /bin folder on your local installation with what you have where you published the site.

  • Sotiris Filippidis 286 posts 1501 karma points
    May 19, 2018 @ 20:57
    Sotiris Filippidis
    0

    Just for completing this thread, what I suggested to Ondrej after exchanging some DMs on Twitter was to try going into the /config/clientdependency.config file and change the enableCssMinify="true" to "false". This seemed to do the trick, although I'm curious about it since it hasn't presented the same issue in other installations.

    Just leaving this here for whoever may face the same problem in the future.

Please Sign in or register to post replies

Write your reply to:

Draft