Error compiling - Expecting element 'PluginSetting' from namespace 'http://schemas.datacontract.org/2004/07/Kona.Infrastructure'.. Encountered 'Element' with name 'PluginSetting', namespace 'http://schemas.datacontract.org/2004/07/Microsoft.Web.Infrastruc

Last post 03-28-2009 5:42 PM by crosscompiler. 2 replies.

Sort Posts:

  • Error compiling - Expecting element 'PluginSetting' from namespace 'http://schemas.datacontract.org/2004/07/Kona.Infrastructure'.. Encountered 'Element' with name 'PluginSetting', namespace 'http://schemas.datacontract.org/2004/07/Microsoft.Web.Infrastruc

    03-28-2009, 7:27 AM
    Hi,

    Have just downloaded the sample, added the missing references, but am getting the following error.  Can anyone help?

     

    Server Error in '/' Application.

    Error in line 1 position 145. Expecting element 'PluginSetting' from namespace 'http://schemas.datacontract.org/2004/07/Kona.Infrastructure'.. Encountered 'Element'  with name 'PluginSetting', namespace 'http://schemas.datacontract.org/2004/07/Microsoft.Web.Infrastructure'.

    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.Runtime.Serialization.SerializationException: Error in line 1 position 145. Expecting element 'PluginSetting' from namespace 'http://schemas.datacontract.org/2004/07/Kona.Infrastructure'.. Encountered 'Element'  with name 'PluginSetting', namespace 'http://schemas.datacontract.org/2004/07/Microsoft.Web.Infrastructure'.

    Source Error:

    Line 29:             //IFormatter formatter = new BinaryFormatter();
    Line 30:             using (MemoryStream ms = new MemoryStream(bits)) {
    Line 31:                 result = (TResult)dc.ReadObject(ms);
    Line 32:             }
    Line 33: 

    --
    http://www.vic-fontaine.com/
  • Re: Error compiling - Expecting element 'PluginSetting' from namespace 'http://schemas.datacontract.org/2004/07/Kona.Infrastructure'.. Encountered 'Element' with name 'PluginSetting', namespace 'http://schemas.datacontract.org/2004/07/Microsoft.Web.Infras

    03-28-2009, 3:29 PM
    • Participant
      846 point Participant
    • robconery
    • Member since 02-23-2005, 10:16 PM
    • Posts 192
    • AspNetTeam

    This is bad data in the DB - if you open the table ObjectStore, delete all columns. That should fix it :)

  • Re: Error compiling - Expecting element 'PluginSetting' from namespace 'http://schemas.datacontract.org/2004/07/Kona.Infrastructure'.. Encountered 'Element' with name 'PluginSetting', namespace 'http://schemas.datacontract.org/2004/07/Microsoft.Web.Infras

    03-28-2009, 5:42 PM

    You Sir, are a star!

    --
    http://www.vic-fontaine.com/
Page 1 of 1 (3 items)