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

Forums / Bugs & Issues / Edit Category Issue

Edit Category Issue

12 posts, 0 answered
  1. Teus
    Teus avatar
    3 posts
    Registered:
    28 May 2008
    03 Sep 2009
    Link to this post
    Hi there,


    I  have a problem with changing the name of a category within a custom generic content module in Sitefinity 3.6.1936.2.
    When i post (submit) the changed category name i get the following error.
    "Could not load file or assembly 'Sample.Contacts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified."
    I tried to override the internal template with an external template (CategoriesView.ascx) but the internal template is not the issue. I also checked the versions of the sitefinity assemblies.
    Any idea?

    Thanks in advance.
    Teus
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    03 Sep 2009
    Link to this post
    Hello Teus,

    The following module Sample pluggable module: Contacts pluggable module does not comes by default with implemented categories. Note that this is not GenericContent based module. As I see it the error comes from
    Sample.Contacts. could you check whether you have some references to Sample contacts module?

    Greetings,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Teus
    Teus avatar
    3 posts
    Registered:
    28 May 2008
    09 Sep 2009
    Link to this post
    Hi Ivan,

    I already checked that, because i have used that sample.contacts module in the past. But that wasn't the solution for us, so i deleted that project in our solution. We are now using three genericcontentbased modules and they all have that 'edit category' problem.
    So there is no sample.contacts module project in our solution (7 projects), there is no sample.contacts dll, there is no reference to it because it doesn't exist.

    Greetings,
    Teus Veer
  4. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    14 Sep 2009
    Link to this post
    Hello Teus,

    Can you please send us your custom module. We will test it here and follow up with a suggestion/resolution. You can upload a zip file somewhere and provide us with a link.

    Thank you for your cooperation. 

    Kind regards,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  5. Teus
    Teus avatar
    3 posts
    Registered:
    28 May 2008
    01 Oct 2009
    Link to this post
    Hi,

    http://aanleveren.amercom.nl/
    downloadcode: aed756514f64ee2e5e25ca515e481316

    Please reply a.s.a.p. when you are ready with this download!
    Thanks.

    Teus
  6. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    01 Oct 2009
    Link to this post
    Hi Teus,

    Thank you for your cooperation. 
    We have the module downloaded - you can remove the files from the server. 

    We will follow up as soon as we are ready with the debugging. 

    Kind regards,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  7. Saumitra
    Saumitra avatar
    127 posts
    Registered:
    10 Mar 2009
    07 Dec 2009
    Link to this post
    Hi,
        
            I am facing similar kind of problem. I tried implementing pluggable modules and followed all the steps mentioned. But, when I run my web site it gives me error "Could not load file or assembly 'Sitefinity_Pluggable_Module1' or one of its dependencies. The system cannot find the file specified. "

    Thanks,
    Saumitra
  8. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    07 Dec 2009
    Link to this post
    Hi Saumitra,

    Please ensure that the file and assembly references are correct. Is there any stack trace? 

    Greetings,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  9. Saumitra
    Saumitra avatar
    127 posts
    Registered:
    10 Mar 2009
    07 Dec 2009
    Link to this post
    Hi,

        I verified the reference, its correct. Hereby sending you stack trace 

        Stack Trace:

    [FileNotFoundException: Could not load file or assembly 'Sitefinity_Pluggable_Module1' or one of its dependencies. The system cannot find the file specified.]
       System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
       System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
       System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127
       System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +142
       System.Reflection.Assembly.Load(String assemblyString) +28
       Telerik.Utilities.TypeResolutionService.GetType(String name, Boolean throwOnError, Boolean ignoreCase) +804
       Telerik.Utilities.TypeResolutionService.GetType(String name, Boolean throwOnError) +44
       Telerik.Utilities.TypeResolutionService.ResolveType(String name, Boolean throwOnError) +47
       Telerik.ModuleManager.LoadModules(Boolean reload) +416
       Telerik.ModuleManager.LoadModules() +42
       Telerik.ModuleManager..cctor() +130
    
    [TypeInitializationException: The type initializer for 'Telerik.ModuleManager' threw an exception.]
       Telerik.ModuleManager.LoadModules(Boolean reload) +0
       Telerik.Cms.Web.CmsHttpModule.Init(HttpApplication context) +134
       System.Web.HttpApplication.InitModulesCommon() +65
       System.Web.HttpApplication.InitModules() +43
       System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +729
       System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +298
       System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +107
       System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +289
    


    Thanks,
    Saumitra
  10. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    07 Dec 2009
    Link to this post
    Hi Saumitra,

    The error message says that the dll in your bin is no correctly generated, it does not exists there or the reference to the project or class library are not correct.


    All the best,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  11. Sharyn en
    Sharyn en avatar
    5 posts
    Registered:
    12 Jan 2010
    24 Feb 2010
    Link to this post
    I got the same as Saumitra. I found the Sitefinity Pluggable Module1.dll and others in my bin>debug of the plugged able module project which I opened together with sample website project I created.

    What do you mean in the previous context ...
    "The error message says that the dll in your bin is no correctly generated, it does not exists there or the reference to the project or class library are not correct."

    I believe that I have the dll files .. and I had added a reference of the pluggableModule into my simple website, and in the bin of the website I found the dlls.

    any ideas ...

    ------------------------
    Thanks .. I got it solved .. It is the naming of the dll problem. It supposed not to have space in between words
  12. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    24 Feb 2010
    Link to this post
    Hi Saumitra,

    The problem is obvious "Could not load file or assembly 'Sitefinity_Pluggable_Module1". Also I suggest that you should use the new backend architecture - Sitefinity 3.6 new backend architecture - documentation outline

    All the best,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Register for webinar
12 posts, 0 answered