+1-888-365-2779
Try Now
More in this section

Forums / Set-up & Installation / Newsletter Module | Could not load file or assembly

Newsletter Module | Could not load file or assembly

6 posts, 0 answered
  1. gohigher
    gohigher avatar
    25 posts
    Registered:
    24 Nov 2008
    06 Jul 2010
    Link to this post
    When accessing the newsletter module through the administrative interface we are receiving the error message:

    Could not load file or assembly '3889AC4AF542BAC3C62ABB154E78FEA8, Version = 0.0.0.0, Culture-=neutral, PublicKeyToken=null' or one of its dependencies. The network name cannot be found.

    Please advise as to what the problem could be. We are running 3.7 SP3    
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    06 Jul 2010
    Link to this post
    Hello gohigher,

    Please check whether you have a dll generated under Sitefinity\ServiceAssemblies. This directory holds the temporary assemblies genrated by Telerik.DynamicWebServices. Note that this assembly could be generated in full trust only. Also make sure that ASP.NET Worker process full access over ServiceAssemblies otherwise you may get a permission error.

    Regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. gohigher
    gohigher avatar
    25 posts
    Registered:
    24 Nov 2008
    06 Jul 2010
    Link to this post
    The assembly is created and the ASP.NET worker process does have access to it.
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    07 Jul 2010
    Link to this post
    Hi gohigher,

    Do you use and UNC share, share storage or load balancer for the project. How do you connect to the project?
    If you have two servers or two projects could you verify that the bothuse the same version of Sitefinity? If youhave different versions of sitefinity - this should be the problem. The error is indicating that you are missing a dependency, not the physical assembly. Make sure that the application can find all of the assemblies that your Web Application project references.  Referencing the source assembly over the network could be your problem. Make sure that the "NETWORK SERVICE" or "ASPNET" user has permissions over the assemble and the folder where it resides. You could try to use dependency walker to see whether there are any relations.


    Could you try the following

    Take the dynamic assembly from the \[YourProject]\Sitefinity\Service Assemblies and place it in [YourProject]\bin directory. The bin directory is a standard place for the assemblies (as well as the GAC), the binding should work just fine.Asp.Net looks for assemblies in the following manner: System GAC -> Project/App Bin directory -> Custom Directories. In other words, it goes through the bin directory anyway, so once Sitefinity founds the needed assembly there, everything should be fine.

    Regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. gohigher
    gohigher avatar
    25 posts
    Registered:
    24 Nov 2008
    07 Jul 2010
    Link to this post
    Hi Ivan.

    Before your last reply I actually came across another post that was hinting to the same thing. We are running the website on a cloud platform over at MaximumASP. Full trust! I moved the DLL over to the bin folder and everything is working like a charm.

    Thank you for your support. You guys are great.
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    07 Jul 2010
    Link to this post
    Hi gohigher,

    Always glad to help when there is an issue.

    Regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
6 posts, 0 answered