I am using Visual Web Developer to write an ASPX page with the vb.net codebehind model.
This line of code:
Dim fs = hs.CreateStringClass()
causes this error:
Server Error in '/bsfWeather_aspx' Application.
Type 'Scheduler.Classes.clsString' in Assembly 'Scheduler, Version=2.1.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.
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: Type 'Scheduler.Classes.clsString' in Assembly 'Scheduler, Version=2.1.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.
Does anyone have any ideas why?
This line of code:
Dim fs = hs.CreateStringClass()
causes this error:
Server Error in '/bsfWeather_aspx' Application.
Type 'Scheduler.Classes.clsString' in Assembly 'Scheduler, Version=2.1.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.
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: Type 'Scheduler.Classes.clsString' in Assembly 'Scheduler, Version=2.1.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.
Does anyone have any ideas why?
Comment