Copied to clipboard

Flag this post as spam?

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


  • keilo 568 posts 1023 karma points
    Aug 07, 2014 @ 07:42
    keilo
    0

    Assembly dropdown not populating

    Hi there

    I have installed nupickers version nuPickers_1.2.1.zip on a v7.1.4 MSSQL 

    and followed by this package. 

    When i am trying to create a new datatype- NuPickers: DotNet Checkbox 

    the Assembly dropdown is not populating. (also tried other Dotnet datatypes; prevalues etc. with same results)

    In the console I can see a JS error for GetAssemblyNames;

    GET http://localhost/umbraco/backoffice/nuPickers/DotNetDataSourceApi/GetAssemblyNames 500 (Internal Server Error) angular.min.js:106

    (anonymous function) angular.min.js:106

    o angular.min.js:102

    g angular.min.js:100

    i angular.min.js:79

    i angular.min.js:79

    (anonymous function) angular.min.js:80

    e.$eval angular.min.js:92

    e.$digest angular.min.js:90

    e.$apply angular.min.js:92

    j angular.min.js:101

    r angular.min.js:104

    v.onreadystatechange

     

    Is there something being missed ?

     

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    Aug 07, 2014 @ 12:34
    Hendy Racher
    0

    Hi Keilo,

    You've followed all the steps correctly, I wonder if it's permission related at all (to the /bin folder) ?

    I can't reproduce the error here, but will add more error handling code...

    Thanks,

    Hendy

  • keilo 568 posts 1023 karma points
    Aug 07, 2014 @ 12:45
    keilo
    0

    Hi Hendy

    I have checked the \bin folder and individual nupicker, flickr etc. dlls and they all have the proper permissions like other .dll files (Network_Service, and App-Pool identity). Havent come across any permission issue since install, so I would say unlikely a permission issue.

    Looking forward to the version with more error handling, hopefully will narrow down the issue.

    many thanks!

  • keilo 568 posts 1023 karma points
    Aug 11, 2014 @ 17:00
    keilo
    0

    Hi again Hendy

    Following up on the dropdown not populating issue, have you managed to take a look at the error handling code or am I really missing something?

    I have tried on fresh install of 7.1.4 on another system as well as 7.2 alpha - with same results. Win7 x64, MSSQL2008

    cheers

  • Mark Mace 7 posts 47 karma points
    Aug 22, 2014 @ 15:48
    Mark Mace
    0

    Hi there,

    I too am having exactly the same issue... are we any closer to a resolution?

    Thanks.

  • Richard Terris 273 posts 715 karma points
    Nov 27, 2014 @ 13:48
    Richard Terris
    0

    Hi Hendy,

    I've just started using nuPicker and getting this error - did you ever find a resolution to this?

    Richard

  • Søren Lysdal 13 posts 75 karma points
    Jan 30, 2015 @ 10:02
    Søren Lysdal
    0

    I get the following error when opening the dropdown, no items show: /umbraco/backoffice/nuPickers/DotNetDataSourceApi/GetAssemblyNames

    )]}',
    {"Message":"An error has occurred.","ExceptionMessage":"The 'ObjectContent`1' type failed to serialize the response body for content type 'application/json; charset=utf-8'.","ExceptionType":"System.InvalidOperationException","StackTrace":null,"InnerException":{"Message":"An error has occurred.","ExceptionMessage":"Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.","ExceptionType":"System.Reflection.ReflectionTypeLoadException","StackTrace":"   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)\r\n   at System.Reflection.RuntimeModule.GetTypes()\r\n   at System.Reflection.Assembly.GetTypes()\r\n   at nuPickers.Shared.DotNetDataSource.DotNetDataSourceApiController.b__0(String x)\r\n   at System.Linq.Enumerable.WhereListIterator`1.MoveNext()\r\n   at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList(JsonWriter writer, IEnumerable values, JsonArrayContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)\r\n   at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType)\r\n   at Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType)\r\n   at System.Net.Http.Formatting.JsonMediaTypeFormatter.<>c__DisplayClassd.b__c()\r\n   at System.Threading.Tasks.TaskHelpers.RunSynchronously(Action action, CancellationToken token)"}}

    Or beautified:

    {
        "Message": "An error has occurred.",
        "ExceptionMessage": "The 'ObjectContent`1' type failed to serialize the response body for content type 'application/json; charset=utf-8'.",
        "ExceptionType": "System.InvalidOperationException",
        "StackTrace": null,
        "InnerException": {
            "Message": "An error has occurred.",
            "ExceptionMessage": "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.",
            "ExceptionType": "System.Reflection.ReflectionTypeLoadException",
            "StackTrace": "   
    at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
    at System.Reflection.RuntimeModule.GetTypes()
    at System.Reflection.Assembly.GetTypes()
    at nuPickers.Shared.DotNetDataSource.DotNetDataSourceApiController.b__0(String x)
    at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList(JsonWriter writer, IEnumerable values, JsonArrayContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)
    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType)
    at Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType)
    at System.Net.Http.Formatting.JsonMediaTypeFormatter.<>c__DisplayClassd.b__c()
    at System.Threading.Tasks.TaskHelpers.RunSynchronously(Action action, CancellationToken token)"
    }
    }
  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    Feb 21, 2015 @ 14:00
    Hendy Racher
    0

    Hi, this should now be fixed with the latest version of nuPickers (1.3.0)

  • Tim Brooks 27 posts 79 karma points
    Apr 29, 2015 @ 07:43
    Tim Brooks
    0

    I'm on version 7.1.6 and nupickers 1.4.1. I'm seeing this same error. Re-install fixed it once but its not working a second time.

    )]}',
    {"Message":"An error has occurred.","ExceptionMessage":"The 'ObjectContent`1' type failed to serialize the response body for content type 'application/json; charset=utf-8'.","ExceptionType":"System.InvalidOperationException","StackTrace":null,"InnerException":{"Message":"An error has occurred.","ExceptionMessage":"Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.","ExceptionType":"System.Reflection.ReflectionTypeLoadException","StackTrace":"   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)\r\n   at System.Reflection.RuntimeModule.GetTypes()\r\n   at System.Reflection.Assembly.GetTypes()\r\n   at nuPickers.Shared.DotNetDataSource.DotNetDataSourceApiController.<GetAssemblyNames>b__0(String x)\r\n   at System.Linq.Enumerable.WhereListIterator`1.MoveNext()\r\n   at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList(JsonWriter writer, IEnumerable values, JsonArrayContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)\r\n   at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType)\r\n   at Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType)\r\n   at System.Net.Http.Formatting.JsonMediaTypeFormatter.<>c__DisplayClassd.<WriteToStreamAsync>b__c()\r\n   at System.Threading.Tasks.TaskHelpers.RunSynchronously(Action action, CancellationToken token)"}}
    
  • Tim Brooks 27 posts 79 karma points
    Apr 29, 2015 @ 09:36
    Tim Brooks
    0

    False alarm. This issue is resolved in the latest release. My problem was that I originally installed through a nuget package. When I went to update via the package manager in umbraco backoffice, it seemed to succeed and report that I was on 1.4.1, but when digging through the code I noticed it was actually still referencing 1.2.1! Basically nuget and package manager are not interchangable for install/uninstall. I Uninstalled the old version through nuget and was able to update to 1.4.1 successfully after that.

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    Apr 29, 2015 @ 10:24
    Hendy Racher
    0

    Hi Tim, good to hear it's all working again (was struggling to think what else might cause this).

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies