| Dart Home | PowerTCP FTP for .NET | Custom Development | Reply | PowerTCP FTP for .NET Topics | Forums |
| Author | Forum: PowerTCP FTP for .NET Topic: Deployment : Unable to serialize the session state. |
| shahid shahid@global.com.kw From: kuwait, Kuwait Posts: 1 Member Since: 04/10/06 |
posted April 10, 2006 3:54 AM Hi, I have deployed My Project on the WebServer and getting the following error. "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'." same application was working fine on my local system. i did not include the following tag in web.config file. <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=207.158.231.142;user id=glo569;password=yrrq+wbq" cookieless="false" timeout="20" /> if i include the following above tag i m getting this error. Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. any help would be greatly appricated. :) Thanks & Regards Shahid Hussain Kuwait |
| Raj From: Rome, NY, USA Posts: 389 Member Since: 02/01/06 |
posted April 10, 2006 4:43 PM Hi Shahid, Regarding your query, please note that this error message generally occurs whenever any content in the dataset of your application is not serialized. If you are looking to include the session tag in the web.config file, then you also need to configure a virtual directory on the server, on which you are storing the data. You can also go through the following link as it provides information about the Serialization procedure: http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=94 I hope this addresses your query. Regards, Raj |
| matthewc02 From: Vancouver, BC Canada Posts: 1 Member Since: 03/20/10 |
posted March 20, 2010 5:49 AM Any idea what part of the Dart FTP control is causing this? I'm having the same problem where I want to use state server, but anytime I put the dart control on a page I get the error. I am able to make the error go away by setting page session state to read only but then that causes other issues. I'm currently just using the C# web example that comes with dart. As soon as I fire it up with state server she gets very angry. I have also tried commenting out all the parts that have access to the file system / memory stream. i.e. uploads/compression. But still I'm getting the error. Any assistance on this would be helpful. |
| Jamie Powell (Admin) From: Rome, NY USA Posts: 448 Member Since: 03/13/07 Extra Support Options Custom Application Development |
posted March 23, 2010 9:49 AM When state server is used ASP.NET is trying to serialize the FTP object which it can not do. I have logged a feature request to be reviewed at a later time. The reference number is 5239 and please feel free to contact sales@dart.com for updates. |
| Reply | PowerTCP FTP for .NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|