私は自分のアプリケーションでMySqlとを使用SQLLITEしています。クエリの処理後に返される値を使用しSQLLITEてデータを挿入または更新する場合。だからこれを克服するために、私は次のように書いていますsessionnullWeb.Config
<sessionState mode="StateServer"></sessionState>
すべてが正常に機能しますが、特定のページにアクセスすると、次のようなエラーが発生します
Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. The same restriction applies if similar serialization is done by the custom session state store in 'Custom' mode.
残りのページでは、すべてが正常に機能し、なぜこれが起こるのか誰にもわかります