Copied to clipboard

Flag this post as spam?

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


  • Damian Green 452 posts 1433 karma points
    Jan 13, 2014 @ 18:06
    Damian Green
    0

    Package broke my v6.1.6 site

    Hi,

    I installed on a test v6.1.6 site and it took the site down and gave the following error.  Any ideas why?

    Parser Error

    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. 

    Parser Error Message: Reference.svcmap: Failed to generate code for the service reference 'CampaignManagement'.
    Cannot import wsdl:portType
    Detail: An exception was thrown while running a WSDL import extension: System.ServiceModel.Description.DataContractSerializerMessageContractImporter
    Error: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
    XPath to Error Source: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:portType[@name='ICampaignManagement']
    Cannot import wsdl:binding
    Detail: There was an error importing a wsdl:portType that the wsdl:binding is dependent on.
    XPath to wsdl:portType: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:portType[@name='ICampaignManagement']
    XPath to Error Source: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:binding[@name='BasicHttpBinding_ICampaignManagement']
    Cannot import wsdl:port
    Detail: There was an error importing a wsdl:binding that the wsdl:port is dependent on.
    XPath to wsdl:binding: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:binding[@name='BasicHttpBinding_ICampaignManagement']
    XPath to Error Source: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:service[@name='CampaignManagementService']/wsdl:port[@name='BasicHttpBinding_ICampaignManagement']

    Source Error: 

    [No relevant source lines]


    Source File: /App_WebReferences/CampaignManagement/    Line: 

  • Damian Green 452 posts 1433 karma points
    Jan 13, 2014 @ 18:09
    Damian Green
    0

    Looking at this the ref/files in question are related to a WCF service that was referenced by the app.  Is this package likely to clash with WCF services?

     

  • Damian Green 452 posts 1433 karma points
    Jan 13, 2014 @ 18:14
    Damian Green
    0

    Ive removed the offending files as they weren't required any more but i now keep getting "internal server error" in the iphone app when i try to go into a siote from "list of sites" .

     When i go to view the error there is nothing on the page (in the app).  I keep getting the error defined in the previous entry.

     

     

  • Damian Green 452 posts 1433 karma points
    Jan 13, 2014 @ 18:59
    Damian Green
    0

    I have tried the following URL and get the message you described in another bug report:

    Base/uMobile/Authenticate/

    {"type":"anonymous","header":"authtoken","element":{"message":"Username or password not valid"},"error":"validation"}

    But i cannot access anything on the site using the app.

    Thanks

     

  • John 10 posts 161 karma points
    Jan 14, 2014 @ 13:30
    John
    0

    Hi Damian

    As far as I know we haven't tested uMobile alongside WCF services, we'll do so to check for any clashes.

    Regarding the internal server error and the details being empty:

    • Is your customErrors mode set to "Off"? See this SO question for details.
    • Could you also check umbraco's log for any error messages?
    • What version of uMobile are you using (client and server)?

    Thanks for reporting your issues

  • Damian Green 452 posts 1433 karma points
    Jan 21, 2014 @ 12:57
    Damian Green
    0

    I have had to remove the umobile dll from my site.  When i tried to login to the backend i got a nasty error:

    Here is the stack trace which looks like something to do with 4.5/4.0 incompatibility:

    [TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.]
       System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type) +0
       System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext) +525
       System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext) +19
       System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) +315
       System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg) +208
       System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent) +1171
       System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType) +146
       System.Web.UI.AssemblyCache.GetAjaxFrameworkAssemblyAttribute(Assembly assembly) +103
       System.Web.UI.ScriptManager.get_DefaultAjaxFrameworkAssembly() +560
       System.Web.UI.ScriptManager..ctor() +30
       ASP.umbraco_umbraco_aspx.__BuildControlForm1() +222
       ASP.umbraco_umbraco_aspx.__BuildControlTree(umbraco_umbraco_aspx __ctrl) +83
       ASP.umbraco_umbraco_aspx.FrameworkInitialize() +38
       System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +72
       System.Web.UI.Page.ProcessRequest() +269
       System.Web.UI.Page.ProcessRequest(HttpContext context) +167
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +625
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +270

    I installed the latest versions of the app from the app store and package repo so not 100% sure on versions at the time but the version of the server dll is 0.9.5.0

     

     

     

  • Enric León 19 posts 550 karma points c-trib
    Jan 22, 2014 @ 15:45
    Enric León
    0

    Hi Damian,

    Version 0.9.5.0 targets .NET 4.5 and this can cause problems if your site targets 4.0 and you do not have the 4.5 framework installed on your server.

    The current version of uMobile (0.9.6) targets 4.0 and should work fine. I suggest you to try installing version 0.9.6 and report back if you encounter any other problems.

    Thanks.

Please Sign in or register to post replies

Write your reply to:

Draft