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.
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)" } }
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)"}}
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.
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 ?
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
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!
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
Hi there,
I too am having exactly the same issue... are we any closer to a resolution?
Thanks.
Hi Hendy,
I've just started using nuPicker and getting this error - did you ever find a resolution to this?
Richard
I get the following error when opening the dropdown, no items show: /umbraco/backoffice/nuPickers/DotNetDataSourceApi/GetAssemblyNames
Or beautified:
Hi, this should now be fixed with the latest version of nuPickers (1.3.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.
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.
Hi Tim, good to hear it's all working again (was struggling to think what else might cause this).
is working on a reply...