なぜそのようなリソースプール"サポートされていない現在のプラットフォーム?

StackOverflow https://stackoverflow.com/questions/53621

質問

何がその原因を以下の例外?

System.PlatformNotSupportedException: 'ResourcePool' is not supported on the current platform.
   at System.EnterpriseServices.Platform.Assert(Boolean fSuccess, String function)
   at System.EnterpriseServices.Platform.Assert(Version platform, String function)
   at System.EnterpriseServices.ResourcePool..ctor(TransactionEndDelegate cb)
   at System.Data.SqlClient.ConnectionPool..ctor(DefaultPoolControl ctrl)
   at System.Data.SqlClient.PoolManager.FindOrCreatePool(DefaultPoolControl ctrl)
   at System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction)
   at System.Data.SqlClient.SqlConnection.Open()

プラットフォームWindows2003Server SP2.同じコードをテストが行われたWindows XP SP2。ただし、面白いのではないか"という理由でこの例外を問わず。

役に立ちましたか?

解決

いつかの源用反射板やまだひさしをはじめとする"見えない他の電話プラットフォーム.を主張し、静的コンストラクタのResourcePool.

はWindows2003server64bit?あなたの問題です。

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top