Copied to clipboard

Flag this post as spam?

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


  • yang 21 posts 33 karma points
    Apr 23, 2010 @ 21:25
    yang
    0

    Serialization error after deploying to IIS 7

    Topic says it all. The error I see in the event viewer is:

     

    An unhandled exception occurred and the process was terminated.

    Application ID: DefaultDomain

    Process ID: 6736

    Exception: System.Runtime.Serialization.SerializationException

    Message: Type 'umbraco.DataLayer.SqlHelperException' in Assembly 'umbraco.DataLayer, Version=0.3.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.

    StackTrace:    at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter)
       at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter)
       at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
       at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)
       at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.SerializeObject(Object obj, MemoryStream stm)
       at System.AppDomain.Serialize(Object o)
       at System.AppDomain.MarshalObject(Object o)

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 23, 2010 @ 21:34
    Jan Skovgaard
    0

    Hi Yang

    Try and have a look at this thread http://our.umbraco.org/forum/ourumb-dev-forum/bugs/4360-umbracoDataLayerSqlHelperException

    Does any of the suggestions in there help?

    /Jan

  • yang 21 posts 33 karma points
    Apr 23, 2010 @ 21:52
    yang
    0

    Hi Jan.

    I should've search the forum first. Yes it was a connection string issue. Thanks for the help.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 24, 2010 @ 08:11
    Jan Skovgaard
    0

    Yi Yang

    You're welcome. Please mark this post as being solved :)

    /Jan

  • yang 21 posts 33 karma points
    Apr 27, 2010 @ 15:48
    yang
    0

    Can't find any option to mark this as Solved. Where is the link for that? :)

Please Sign in or register to post replies

Write your reply to:

Draft