ResourcePool is not supported

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default ResourcePool is not supported

    Hello
    When I try to open a connection to a sql server database
    from my aspnet app I get the following exception
    message: 'ResourcePool' is not supported on the current
    platform. I can connect OK using the exact same code to
    the same database from a win forms app. I haven't
    recently re installed the framework to try and solve
    another issue,which has now been solved. As a result of
    this and reading posts relating to this issue i have ran
    regsvr32 for comsvcs.dll and oledb32.dll.

    My O/s is Win 2000 sp3 and I am connecting to a Sql Server
    2000 database also with sp3

    Has any got any suggestions as to what my next move should
    be.

    Thanks

    David


    David Guest

  2. Similar Questions and Discussions

    1. onChange not supported
      The onChange event is not supported for text inputs in property inspectors. Is this correct? Why?
    2. The request is not supported.
      I installed CF7 on a Win2003Enterprise (with IIS) and get this error when trying to load a CFM page, even one having nothing more than a #now()# on...
    3. is isDate() supported in CF 4
      Just wondering. Thanks! -- Chris Luksha Echo Web Services Making Your Website Resound www.echowebservices.com
    4. 'ResourcePool' is not supported on the current platform
      Hi, I'm having problems connecting to a SQL Server 2000 db from ASP dot net project. I have a 'DAL' project which is used to connect to the...
    5. Keyword not supported
      Hi, I have an ASP app that queries MS Indexing Service. Below is my code. ############################# Imports System Imports...
  3. #2

    Default Re: ResourcePool is not supported

    Hi Yanhong!

    Do you have any other suggestions regarding this issue?

    I get the same error message trying to run a project originally written on
    VS.NET and FW1.0 now working on VS.NET 2003 and FW1.1.

    The stack trace is as follows:

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

    Source Error:

    An unhandled exception was generated during the execution of the
    current web request. Information regarding the origin and location of the
    exception can be identified using the exception stack trace below.

    Stack Trace:

    [PlatformNotSupportedException: 'ResourcePool' is not supported on the
    current platform.]
    System.EnterpriseServices.Platform.Assert(Boolean fSuccess, String
    function) +69
    System.EnterpriseServices.Platform.Assert(Version platform, String
    function) +71
    System.EnterpriseServices.ResourcePool..ctor(Trans actionEndDelegate cb)
    +38
    System.Data.SqlClient.ConnectionPool..ctor(Default PoolControl ctrl) +797
    System.Data.SqlClient.PoolManager.FindOrCreatePool (DefaultPoolControl
    ctrl, IntPtr SID) +260

    System.Data.SqlClient.SqlConnectionPoolManager.Get PooledConnection(SqlConnec
    tionString options, Boolean& isInTransaction) +358
    System.Data.SqlClient.SqlConnection.Open() +384

    Microsoft.ApplicationBlocks.Data.SqlHelperParamete rCache.DiscoverSpParameter
    Set(SqlConnection connection, String spName, Boolean
    includeReturnValueParameter) in c:\documents and settings\bjarne l. gram\my
    documents\my projects\rdg\microsoft.applicationblocks.data\sqlh elper.cs:2429

    Microsoft.ApplicationBlocks.Data.SqlHelperParamete rCache.GetSpParameterSetIn
    ternal(SqlConnection connection, String spName, Boolean
    includeReturnValueParameter) in c:\documents and settings\bjarne l. gram\my
    documents\my projects\rdg\microsoft.applicationblocks.data\sqlh elper.cs:2602

    Microsoft.ApplicationBlocks.Data.SqlHelperParamete rCache.GetSpParameterSet(S
    tring connectionString, String spName, Boolean includeReturnValueParameter)
    in c:\documents and settings\bjarne l. gram\my documents\my
    projects\rdg\microsoft.applicationblocks.data\sqlh elper.cs:2546

    Microsoft.ApplicationBlocks.Data.SqlHelperParamete rCache.GetSpParameterSet(S
    tring connectionString, String spName) in c:\documents and settings\bjarne
    l. gram\my documents\my
    projects\rdg\microsoft.applicationblocks.data\sqlh elper.cs:2526
    Microsoft.ApplicationBlocks.Data.SqlHelper.Execute Reader(String
    connectionString, String spName, Object[] parameterValues) in c:\documents
    and settings\bjarne l. gram\my documents\my
    projects\rdg\microsoft.applicationblocks.data\sqlh elper.cs:909
    ....


    Best regards

    Bjarne L. Gram
    Seniorconsultant - MCP
    Ementor Norge AS
    Microsoft Gold Certified Partner
    [email]bjarne.gram@NOSPAMementor.no[/email]

    "Yan-Hong Huang[MSFT]" <yhhuang@online.microsoft.com> wrote in message
    news:GW0hPrIXDHA.2184@cpmsftngxa06.phx.gbl...
    > Hello David,
    >
    > I am glad that the problem is resovled. Generally speaking, when the web
    applicaiton is set to used anonymous and
    > windows authentication in IIS. Then a client will try to access it using
    anonymous. If it successes, then it will use anonymoust
    > to set up the connections. If it failed(when some page denies access to
    anonymous user), it will try windows authentication.
    > You could check it in IIS logs.
    >
    > Thanks very much for participating the community.
    >
    > Best regards,
    > Yanhong Huang
    > Microsoft Online Partner Support
    >
    > Get Secure! - [url]www.microsoft.com/security[/url]
    > This posting is provided "AS IS" with no warranties, and confers no
    rights.
    >
    > --------------------
    > !Content-Class: urn:content-classes:message
    > !From: "David" <centraldevelopment@nospam.com>
    > !Sender: "David" <centraldevelopment@nospam.com>
    > !References: <0c0901c35b44$19264cb0$a101280a@phx.gbl>
    > !Subject: ResourcePool is not supported
    > !Date: Wed, 6 Aug 2003 02:08:48 -0700
    > !Lines: 13
    > !Message-ID: <980601c35bfa$58774930$a001280a@phx.gbl>
    > !MIME-Version: 1.0
    > !Content-Type: text/plain;
    > ! charset="iso-8859-1"
    > !Content-Transfer-Encoding: 7bit
    > !X-Newsreader: Microsoft CDO for Windows 2000
    > !X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
    > !Thread-Index: AcNb+lh3Rk5TNBs6Qg2Fb3z+GtNeTg==
    > !Newsgroups: microsoft.public.dotnet.framework.aspnet
    > !Path: cpmsftngxa06.phx.gbl
    > !Xref: cpmsftngxa06.phx.gbl
    microsoft.public.dotnet.framework.aspnet:165287
    > !NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
    > !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    > !
    > !Morning
    > !
    > !Came in today and sorted it in 5 minutes, annoying when
    > !that happens. I'd recreated my web project from
    > !sourcesafe yesterday and when it created the projected it
    > !had annoymous autentication switched on in IIS. All I had
    > !to do was switch this off. The Project was already set to
    > !use Windows Authentication in the Web.config but the
    > !AnnoymousAuthentication option in IIS seemed to overide it.
    > !
    > !Everything is now hunky doory
    > !
    > !David
    > !
    >
    >

    B@rney Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139