Fog Creek Software
Discussion Board




Welcome! and rules

Joel on Software

"ResourcePool is not supported" exception

I was wondering if anyone has seen this and/or can throw some light. Here's the error message I get - very rarely and
inconsistently - when trying to open a SqlConnection:

System.PlatformNotSupportedException: 'ResourcePool' is not supported on the current platform.
  at System.Data.SqlClient.SqlConnection.Open()

The code is in a C# assembly executed on the web server (IIS5.0, Win2K); tha database is SQL 2000.

A quick search didn't turn up anything except for a suggestion to install the latest MDAC (I have 2.7).

Any advice would be appreciated.

Thanks,

- Mike.

Mike
Monday, April 07, 2003

Little bit more meat in this one perhaps:
http://groups.google.com/groups?&threadm=203101c2b730%244045e1b0%24cef82ecf%40TK2MSFTNGXA08

Also seeded to be suggestions of using impersonation to connect to SQL might be causing probs - if you are, try a plain "UID=x;PWD=y" (ie, "trusted connection=false").

Duncan Smart
Monday, April 07, 2003

Thanks, this gives me a couple of directions to look in.

Mike
Tuesday, April 08, 2003

*  Recent Topics

*  Fog Creek Home