Exception: 'ResourcePool' is not supported on the current platform.

  • Thread starter Thread starter Evgeny Molkov
  • Start date Start date
E

Evgeny Molkov

I recieve this error in ASP .NET project while I try to connect SQL Server
Exception:
PlatformNotSupportedException: 'ResourcePool' is not supported on the
current platform.
What can be cause of this error?

Environment:
Windows 2000 Advanced Server
..NET Framework 1.0.3705.0
 
Hi,

Are you using any of the classes from
System.EnterpriseServices?

In cases classes won't work without a certain piece of
the underlying OS, say IIS for example, the class should
not install on that platform or it should check for the
underlying dependency and throw a
PlatformNotSupportedException when that dependency is not
available.

Suppose an application trying to create a managed Socket
object calls the Socket constructor on an operating
system that doesn't have Winsock installed. The following
exception will be thrown.

"PlatformNotSupportedException: Socket cannot be created
due to a missing required platform component, Winsock
1.1"

Please add some of your code here please.
And have you installed the new MDAC2.8??? Please do if
not.

JN
 
I am not using any of the classes from System.EnterpriseServices.
I have used MDAC2.8
Also I have found that error appears on Windows 2000 Advanced Server with
Service Pack 4.0 installed only.

Code:
SqlConnection connection = new SqlConnection(connectionString);
connection.Open(); //error here
 
Reregister comsvcs.dll and oledb32.dll and alsoCheck that the ASPNET account has read permissions on the HKEY_CLASSES_ROOT\CLSID registry hive

If that does not work, please provide your Connection String.

Scot Rose, MCSD
Microsoft Visual Basic Developer Support
Email : (e-mail address removed) <Remove word online. from address>

This posting is provided “AS IS”, with no warranties, and confers no rights.

Get Secure!
http://www.microsoft.com/security
http://www.microsoft.com/protect


--------------------
 
Back
Top