Smart Image Processor ASP 2 Support Product Page
  Answered 
 Error
 Asked  28 Feb 2011  00:17:48 
  1 
     has   this question  
  28 Feb 2011  00:17:48 Robert Shefferd posted: 
 Can someone help me fix this right?I have no clue what all this gibberish is telling me... LOL
Image Processor: Error executing the action Load
Server Error in '/' Application.
Unable to serialize the session state. Please note that non-serializable objects or MarshalByRef objects are not permitted when session state mode is 'StateServer' or 'SQLServer'.
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.Web.HttpException: Unable to serialize the session state. Please note that non-serializable objects or MarshalByRef objects are not permitted when session state mode is 'StateServer' or 'SQLServer'.
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:
[SerializationException: The type DMXzone.ImageProcessor.ImageProcessor in Assembly DMXzone.ImageProcessor, Version=2.0.0.1, Culture=neutral, PublicKeyToken=null is not marked as serializable.]
System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type, Boolean excludeNonSerializable) +868
System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context) +300
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo() +103
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter) +493
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter) +48
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck) +683
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck) +136
System.Web.Util.AltSerialization.WriteValueToStream(Object value, BinaryWriter writer) +1621
[HttpException (0x80004005): Unable to serialize the session state. Please note that non-serializable objects or MarshalByRef objects are not permitted when session state mode is 'StateServer' or 'SQLServer'.]
System.Web.Util.AltSerialization.WriteValueToStream(Object value, BinaryWriter writer) +1711
System.Web.SessionState.SessionDictionary.Serialize(BinaryWriter writer) +148
System.Web.SessionState.StateClientManager.Serialize(SessionStateItem item, Stream stream) +146
System.Web.SessionState.OutOfProcStateClientManager.System.Web.SessionState.IStateClientManager.Set(String id, SessionStateItem item, Boolean inStorage) +121
System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs) +465
System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87
Version Information: Microsoft .NET Framework Version:1.1.4322.2443; ASP.NET Version:1.1.4322.2470
Live version available upon request...
Dostani
Replies
 Replied 04 Mar 2011  12:53:09 
   04 Mar 2011  12:53:09 George Petrov replied: 
    Replied 10 Mar 2011  00:57:01 
   10 Mar 2011  00:57:01 Robert Shefferd replied: 
  I have done that... 
Put the web.config file in the root of the www.softbrake.com directory and a extra step also in the root of the whole account directory. Still getting an error.
Please see www.softbrake.com/productadd.asp
for the live example.
Thanks
  Put the web.config file in the root of the www.softbrake.com directory and a extra step also in the root of the whole account directory. Still getting an error.
Please see www.softbrake.com/productadd.asp
for the live example.
Thanks
 Replied 25 Dec 2012  10:53:46 
   25 Dec 2012  10:53:46 S A M replied: 
  I'm having the same issue 
   Replied 25 Dec 2012  10:54:26 
   25 Dec 2012  10:54:26 S A M replied: 
  I have also put the web.config file in both places 
   Replied 26 Dec 2012  17:01:08 
   26 Dec 2012  17:01:08 S A M replied: 
  found out that host was using ASP.NET ver 1. They upgraded to v4 and added the following Web.Config file and now it works.
 
  
<!-- Web.Config Configuration File -->
<configuration>
    <system.web>
        <customErrors mode="Off"/>
        <webServices>
          <protocols>
              <add name="HttpGet"/>
              <add name="HttpPost"/>
          </protocols>
        </webServices>
    </system.web>
</configuration> 
 Replied 25 Mar 2013  13:16:13 
   25 Mar 2013  13:16:13 George Petrov replied: 
  yes that was the FAQ I was referring to.
-George
  -George
