Copied to clipboard

Flag this post as spam?

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


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Tommy Albinsson 121 posts 254 karma points
    Mar 13, 2013 @ 12:18
    Tommy Albinsson
    0

    Error in TreeClientService.asmx crashing backend uCommerce 3.0.5 + umbraco 6.0.2

    When trying to access the uCommerce section I get the following exception from TreeClientService. We upgraded from uCommerce 2.6.0 and umbraco 4.11.5.

    Request format is unrecognized for URL unexpectedly ending in '/GetInitAppTreeData'

    If I try to access the TreeClientService directly I get the following exception instead.

     

    Server Error in '/' Application.


    The type System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] is not supported because it implements IDictionary.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.NotSupportedException: The type System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] is not supported because it implements IDictionary.

    Source Error: 

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace: 

     

    [NotSupportedException: The type System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] is not supported because it implements IDictionary.]

       System.Xml.Serialization.TypeScope.GetDefaultIndexer(Type type, String memberInfo) +5532062

       System.Xml.Serialization.TypeScope.ImportTypeDesc(Type type, MemberInfo memberInfo, Boolean directReference) +885

       System.Xml.Serialization.TypeScope.GetTypeDesc(Type type, MemberInfo source, Boolean directReference, Boolean throwOnError) +153

       System.Xml.Serialization.XmlReflectionImporter.ImportMemberMapping(XmlReflectionMember xmlReflectionMember, String ns, XmlReflectionMember[] xmlReflectionMembers, Boolean rpc, Boolean openModel, RecursionLimiter limiter) +73

       System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping(XmlReflectionMember[] xmlReflectionMembers, String ns, Boolean hasWrapperElement, Boolean rpc, Boolean openModel, RecursionLimiter limiter) +286

     

    [InvalidOperationException: There was an error reflecting 'GetInitAppTreeDataResult'.]

       System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping(XmlReflectionMember[] xmlReflectionMembers, String ns, Boolean hasWrapperElement, Boolean rpc, Boolean openModel, RecursionLimiter limiter) +899

       System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping(String elementName, String ns, XmlReflectionMember[] members, Boolean hasWrapperElement, Boolean rpc, Boolean openModel, XmlMappingAccess access) +133

       System.Web.Services.Protocols.SoapReflector.ImportMembersMapping(XmlReflectionImporter xmlImporter, SoapReflectionImporter soapImporter, Boolean serviceDefaultIsEncoded, Boolean rpc, SoapBindingUse use, SoapParameterStyle paramStyle, String elementName, String elementNamespace, Boolean nsIsDefault, XmlReflectionMember[] members, Boolean validate, Boolean openModel, String key, Boolean writeAccess) +235

       System.Web.Services.Protocols.SoapReflector.ReflectMethod(LogicalMethodInfo methodInfo, Boolean client, XmlReflectionImporter xmlImporter, SoapReflectionImporter soapImporter, String defaultNs) +2891

     

    [InvalidOperationException: Method TreeClientService.GetInitAppTreeData can not be reflected.]

       System.Web.Services.Protocols.SoapReflector.ReflectMethod(LogicalMethodInfo methodInfo, Boolean client, XmlReflectionImporter xmlImporter, SoapReflectionImporter soapImporter, String defaultNs) +6307

       System.Web.Services.Description.SoapProtocolReflector.ReflectMethod() +137

       System.Web.Services.Description.ProtocolReflector.ReflectBinding(ReflectedBinding reflectedBinding) +1587

       System.Web.Services.Description.ProtocolReflector.Reflect() +641

       System.Web.Services.Description.ServiceDescriptionReflector.ReflectInternal(ProtocolReflector[] reflectors) +563

       System.Web.Services.Description.ServiceDescriptionReflector.Reflect(Type type, String url) +109

       System.Web.Services.Protocols.DocumentationServerType..ctor(Type type, String uri, Boolean excludeSchemeHostPortFromCachingKey) +230

       System.Web.Services.Protocols.DocumentationServerProtocol.Initialize() +473

       System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing) +122

     

    [InvalidOperationException: Unable to handle request.]

       System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing) +326

       System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response) +171

     

    [InvalidOperationException: Failed to handle request.]

       System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response) +346

       System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath) +212

       System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated) +47

       System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +226

       System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +145

       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155

     


    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18034

    Any ideas? :)

    //Tommy

     

  • Molly 94 posts 134 karma points
    May 21, 2013 @ 15:36
    Molly
    0

    Hi Tommy, 

    Did you have any luck with this? I'm getting same error on Umbraco 6.0.5 and Ucommerce 3.5.0.13098

    Request format is unrecognized for URL unexpectedly ending in '/GetInitAppTreeData'.

     

    Thanks 

    Molly

  • Søren Spelling Lund 1797 posts 2786 karma points
    May 22, 2013 @ 23:15
    Søren Spelling Lund
    0

    Hi guys,

    Could I ask you to send me a copy of your site and database so I can take a look at this? I have not seen this occur in any of our test scenarios.

    E-mail me at ssl AT ucommerce DOT dk

    Thanks.

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Sep 23, 2013 @ 15:05
    Anthony Dang
    0

    web.config rewrites can cause this. Specifically if you have a to-lowercase rule.

     

     

Please Sign in or register to post replies

Write your reply to:

Draft