473,608 Members | 2,077 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
Nov 17 '05 #1
4 2163
B
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.Platform NotSupportedExc eption: '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:

[PlatformNotSupp ortedException: 'ResourcePool' is not supported on the
current platform.]
System.Enterpri seServices.Plat form.Assert(Boo lean fSuccess, String
function) +69
System.Enterpri seServices.Plat form.Assert(Ver sion platform, String
function) +71
System.Enterpri seServices.Reso urcePool..ctor( TransactionEndD elegate cb)
+38
System.Data.Sql Client.Connecti onPool..ctor(De faultPoolContro l ctrl) +797
System.Data.Sql Client.PoolMana ger.FindOrCreat ePool(DefaultPo olControl
ctrl, IntPtr SID) +260

System.Data.Sql Client.SqlConne ctionPoolManage r.GetPooledConn ection(SqlConne c
tionString options, Boolean& isInTransaction ) +358
System.Data.Sql Client.SqlConne ction.Open() +384

Microsoft.Appli cationBlocks.Da ta.SqlHelperPar ameterCache.Dis coverSpParamete r
Set(SqlConnecti on connection, String spName, Boolean
includeReturnVa lueParameter) in c:\documents and settings\bjarne l. gram\my
documents\my projects\rdg\mi crosoft.applica tionblocks.data \sqlhelper.cs:2 429

Microsoft.Appli cationBlocks.Da ta.SqlHelperPar ameterCache.Get SpParameterSetI n
ternal(SqlConne ction connection, String spName, Boolean
includeReturnVa lueParameter) in c:\documents and settings\bjarne l. gram\my
documents\my projects\rdg\mi crosoft.applica tionblocks.data \sqlhelper.cs:2 602

Microsoft.Appli cationBlocks.Da ta.SqlHelperPar ameterCache.Get SpParameterSet( S
tring connectionStrin g, String spName, Boolean includeReturnVa lueParameter)
in c:\documents and settings\bjarne l. gram\my documents\my
projects\rdg\mi crosoft.applica tionblocks.data \sqlhelper.cs:2 546

Microsoft.Appli cationBlocks.Da ta.SqlHelperPar ameterCache.Get SpParameterSet( S
tring connectionStrin g, String spName) in c:\documents and settings\bjarne
l. gram\my documents\my
projects\rdg\mi crosoft.applica tionblocks.data \sqlhelper.cs:2 526
Microsoft.Appli cationBlocks.Da ta.SqlHelper.Ex ecuteReader(Str ing
connectionStrin g, String spName, Object[] parameterValues ) in c:\documents
and settings\bjarne l. gram\my documents\my
projects\rdg\mi crosoft.applica tionblocks.data \sqlhelper.cs:9 09
....
Best regards

Bjarne L. Gram
Seniorconsultan t - MCP
Ementor Norge AS
Microsoft Gold Certified Partner
bj*********@NOS PAMementor.no

"Yan-Hong Huang[MSFT]" <yh*****@online .microsoft.com> wrote in message
news:GW******** ******@cpmsftng xa06.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! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
!Content-Class: urn:content-classes:message
!From: "David" <ce************ ****@nospam.com >
!Sender: "David" <ce************ ****@nospam.com >
!References: <0c************ *************** *@phx.gbl>
!Subject: ResourcePool is not supported
!Date: Wed, 6 Aug 2003 02:08:48 -0700
!Lines: 13
!Message-ID: <98************ *************** *@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+lh3Rk5TNBs 6Qg2Fb3z+GtNeTg ==
!Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
!Path: cpmsftngxa06.ph x.gbl
!Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1652 87 !NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
!X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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
!AnnoymousAuthe ntication option in IIS seemed to overide it.
!
!Everything is now hunky doory
!
!David
!

Nov 17 '05 #2
Hello Bjarne,

This problem is some times caused by incorrect version of comadmin.dll on your system. You can check the following:
1) check in the registry for the existence of the key:

HKEY_CLASSES_RO OT \ CLSID \ {6EB22881-8A19-11D0-81B6-00A0C9231C29}

the InprocServer32 value should have a default which points to a dll somewhere in the windows directory (system32\com
\comadmin.dll)

2) confirm that comadmin.dll does exist in the location pointed to by the registry.

3) to make sure COM+ is working, you might want to open up the Component Services Explorer (under Administrative Tools),
and try clicking down on "My Computer" to get a list of COM+ Applications...

Hope it helps.

Best regards,
Yanhong Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
!From: "B@rney" <ba**********@h otmail.com>
!References: <0c************ *************** *@phx.gbl> <98************ *************** *@phx.gbl>
<GW************ **@cpmsftngxa06 .phx.gbl>
!Subject: Re: ResourcePool is not supported
!Date: Tue, 12 Aug 2003 11:45:50 +0200
!Lines: 133
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
!X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
!Message-ID: <#s************ **@TK2MSFTNGP09 .phx.gbl>
!Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
!NNTP-Posting-Host: gate.ementor.no 62.148.39.70
!Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP09.phx.g bl
!Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1670 19
!X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
!
!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.Platform NotSupportedExc eption: '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:
!
![PlatformNotSupp ortedException: 'ResourcePool' is not supported on the
!current platform.]
! System.Enterpri seServices.Plat form.Assert(Boo lean fSuccess, String
!function) +69
! System.Enterpri seServices.Plat form.Assert(Ver sion platform, String
!function) +71
! System.Enterpri seServices.Reso urcePool..ctor( TransactionEndD elegate cb)
!+38
! System.Data.Sql Client.Connecti onPool..ctor(De faultPoolContro l ctrl) +797
! System.Data.Sql Client.PoolMana ger.FindOrCreat ePool(DefaultPo olControl
!ctrl, IntPtr SID) +260
!
!System.Data.Sq lClient.SqlConn ectionPoolManag er.GetPooledCon nection(SqlConn ec
!tionString options, Boolean& isInTransaction ) +358
! System.Data.Sql Client.SqlConne ction.Open() +384
!
!Microsoft.Appl icationBlocks.D ata.SqlHelperPa rameterCache.Di scoverSpParamet er
!Set(SqlConnect ion connection, String spName, Boolean
!includeReturnV alueParameter) in c:\documents and settings\bjarne l. gram\my
!documents\my projects\rdg\mi crosoft.applica tionblocks.data \sqlhelper.cs:2 429
!
!Microsoft.Appl icationBlocks.D ata.SqlHelperPa rameterCache.Ge tSpParameterSet In
!ternal(SqlConn ection connection, String spName, Boolean
!includeReturnV alueParameter) in c:\documents and settings\bjarne l. gram\my
!documents\my projects\rdg\mi crosoft.applica tionblocks.data \sqlhelper.cs:2 602
!
!Microsoft.Appl icationBlocks.D ata.SqlHelperPa rameterCache.Ge tSpParameterSet (S
!tring connectionStrin g, String spName, Boolean includeReturnVa lueParameter)
!in c:\documents and settings\bjarne l. gram\my documents\my
!projects\rdg\m icrosoft.applic ationblocks.dat a\sqlhelper.cs: 2546
!
!Microsoft.Appl icationBlocks.D ata.SqlHelperPa rameterCache.Ge tSpParameterSet (S
!tring connectionStrin g, String spName) in c:\documents and settings\bjarne
!l. gram\my documents\my
!projects\rdg\m icrosoft.applic ationblocks.dat a\sqlhelper.cs: 2526
! Microsoft.Appli cationBlocks.Da ta.SqlHelper.Ex ecuteReader(Str ing
!connectionStri ng, String spName, Object[] parameterValues ) in c:\documents
!and settings\bjarne l. gram\my documents\my
!projects\rdg\m icrosoft.applic ationblocks.dat a\sqlhelper.cs: 909
!...
!
!
!Best regards
!
!Bjarne L. Gram
!Seniorconsulta nt - MCP
!Ementor Norge AS
!Microsoft Gold Certified Partner
!b**********@NO SPAMementor.no
!
!"Yan-Hong Huang[MSFT]" <yh*****@online .microsoft.com> wrote in message
!news:GW******* *******@cpmsftn gxa06.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! - www.microsoft.com/security
!> This posting is provided "AS IS" with no warranties, and confers no
!rights.
!>
!> --------------------
!> !Content-Class: urn:content-classes:message
!> !From: "David" <ce************ ****@nospam.com >
!> !Sender: "David" <ce************ ****@nospam.com >
!> !References: <0c************ *************** *@phx.gbl>
!> !Subject: ResourcePool is not supported
!> !Date: Wed, 6 Aug 2003 02:08:48 -0700
!> !Lines: 13
!> !Message-ID: <98************ *************** *@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+lh3Rk5TNBs 6Qg2Fb3z+GtNeTg ==
!> !Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
!> !Path: cpmsftngxa06.ph x.gbl
!> !Xref: cpmsftngxa06.ph x.gbl
!microsoft.publ ic.dotnet.frame work.aspnet:165 287
!> !NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
!> !X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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
!> !AnnoymousAuthe ntication option in IIS seemed to overide it.
!> !
!> !Everything is now hunky doory
!> !
!> !David
!> !
!>
!>
!
!
!
Nov 17 '05 #3
B
Hi Yan-Huang!

Thanks for the rapid response!

I had the key, and the file, and COM+ was running, *but* ASPNET had no
rights for the key, neither had it rights for:
HKLM\SOFTWARE\M icrosoft\MSSQLS erver\Client\Su perSocketNetLib \LastConnect

I started regmon and checked for errors and foung ACCESS DENIED on both
these keys. I've now given ASPNET Full Control on comadmin.dll CLSID key and
everything works fine.

*But*, is this correct?

Should ASPNET have access rights for the MSSQLServer key as well?

I'd like to know what is good enough so I can adjust these rights back...


"Yan-Hong Huang[MSFT]" <yh*****@online .microsoft.com> wrote in message
news:q$******** ******@cpmsftng xa06.phx.gbl...
Hello Bjarne,

This problem is some times caused by incorrect version of comadmin.dll on your system. You can check the following: 1) check in the registry for the existence of the key:

HKEY_CLASSES_RO OT \ CLSID \ {6EB22881-8A19-11D0-81B6-00A0C9231C29}

the InprocServer32 value should have a default which points to a dll somewhere in the windows directory (system32\com \comadmin.dll)

2) confirm that comadmin.dll does exist in the location pointed to by the registry.
3) to make sure COM+ is working, you might want to open up the Component Services Explorer (under Administrative Tools), and try clicking down on "My Computer" to get a list of COM+ Applications...
Hope it helps.

Best regards,
Yanhong Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
!From: "B@rney" <ba**********@h otmail.com>
!References: <0c************ *************** *@phx.gbl> <98************ *************** *@phx.gbl> <GW************ **@cpmsftngxa06 .phx.gbl>
!Subject: Re: ResourcePool is not supported
!Date: Tue, 12 Aug 2003 11:45:50 +0200
!Lines: 133
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
!X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
!Message-ID: <#s************ **@TK2MSFTNGP09 .phx.gbl>
!Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
!NNTP-Posting-Host: gate.ementor.no 62.148.39.70
!Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP09.phx.g bl
!Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1670 19 !X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
!
!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.Platform NotSupportedExc eption: '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:
!
![PlatformNotSupp ortedException: 'ResourcePool' is not supported on the
!current platform.]
! System.Enterpri seServices.Plat form.Assert(Boo lean fSuccess, String
!function) +69
! System.Enterpri seServices.Plat form.Assert(Ver sion platform, String
!function) +71
! System.Enterpri seServices.Reso urcePool..ctor( TransactionEndD elegate cb) !+38
! System.Data.Sql Client.Connecti onPool..ctor(De faultPoolContro l ctrl) +797 ! System.Data.Sql Client.PoolMana ger.FindOrCreat ePool(DefaultPo olControl
!ctrl, IntPtr SID) +260
!
!System.Data.Sq lClient.SqlConn ectionPoolManag er.GetPooledCon nection(SqlConn e
c !tionString options, Boolean& isInTransaction ) +358
! System.Data.Sql Client.SqlConne ction.Open() +384
!
!Microsoft.Appl icationBlocks.D ata.SqlHelperPa rameterCache.Di scoverSpParamet e
r !Set(SqlConnect ion connection, String spName, Boolean
!includeReturnV alueParameter) in c:\documents and settings\bjarne l. gram\my !documents\my projects\rdg\mi crosoft.applica tionblocks.data \sqlhelper.cs:2 429 !
!Microsoft.Appl icationBlocks.D ata.SqlHelperPa rameterCache.Ge tSpParameterSet I
n !ternal(SqlConn ection connection, String spName, Boolean
!includeReturnV alueParameter) in c:\documents and settings\bjarne l. gram\my !documents\my projects\rdg\mi crosoft.applica tionblocks.data \sqlhelper.cs:2 602 !
!Microsoft.Appl icationBlocks.D ata.SqlHelperPa rameterCache.Ge tSpParameterSet (
S !tring connectionStrin g, String spName, Boolean includeReturnVa lueParameter) !in c:\documents and settings\bjarne l. gram\my documents\my
!projects\rdg\m icrosoft.applic ationblocks.dat a\sqlhelper.cs: 2546
!
!Microsoft.Appl icationBlocks.D ata.SqlHelperPa rameterCache.Ge tSpParameterSet (
S !tring connectionStrin g, String spName) in c:\documents and settings\bjarne !l. gram\my documents\my
!projects\rdg\m icrosoft.applic ationblocks.dat a\sqlhelper.cs: 2526
! Microsoft.Appli cationBlocks.Da ta.SqlHelper.Ex ecuteReader(Str ing
!connectionStri ng, String spName, Object[] parameterValues ) in c:\documents !and settings\bjarne l. gram\my documents\my
!projects\rdg\m icrosoft.applic ationblocks.dat a\sqlhelper.cs: 909
!...
!
!
!Best regards
!
!Bjarne L. Gram
!Seniorconsulta nt - MCP
!Ementor Norge AS
!Microsoft Gold Certified Partner
!b**********@NO SPAMementor.no
!
!"Yan-Hong Huang[MSFT]" <yh*****@online .microsoft.com> wrote in message
!news:GW******* *******@cpmsftn gxa06.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! - www.microsoft.com/security
!> This posting is provided "AS IS" with no warranties, and confers no
!rights.
!>
!> --------------------
!> !Content-Class: urn:content-classes:message
!> !From: "David" <ce************ ****@nospam.com >
!> !Sender: "David" <ce************ ****@nospam.com >
!> !References: <0c************ *************** *@phx.gbl>
!> !Subject: ResourcePool is not supported
!> !Date: Wed, 6 Aug 2003 02:08:48 -0700
!> !Lines: 13
!> !Message-ID: <98************ *************** *@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+lh3Rk5TNBs 6Qg2Fb3z+GtNeTg ==
!> !Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
!> !Path: cpmsftngxa06.ph x.gbl
!> !Xref: cpmsftngxa06.ph x.gbl
!microsoft.publ ic.dotnet.frame work.aspnet:165 287
!> !NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
!> !X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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
!> !AnnoymousAuthe ntication option in IIS seemed to overide it.
!> !
!> !Everything is now hunky doory
!> !
!> !David
!> !
!>
!>
!
!
!

Nov 17 '05 #4
Hi,

I think you need to impersonate some account in asp.net web applcation to
access that key. Thanks.

Best regards,
Yanhong Huang
Microsoft Online Partner Support

Get Secure! ¨C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
!From: "B@rney" <ba**********@h otmail.com>
!References: <0c************ *************** *@phx.gbl>
<98************ *************** *@phx.gbl>
<GW************ **@cpmsftngxa06 .phx.gbl>
<#s************ **@TK2MSFTNGP09 .phx.gbl>
<q$************ **@cpmsftngxa06 .phx.gbl>
!Subject: Re: ResourcePool is not supported
!Date: Wed, 13 Aug 2003 18:31:14 +0200
!Lines: 234
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
!X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
!Message-ID: <ON************ **@TK2MSFTNGP09 .phx.gbl>
!Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
!NNTP-Posting-Host: 062016178247.cu stomer.alfanett .no 62.16.178.247
!Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP09.phx.g bl
!Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1675 49
!X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
!
!Hi Yan-Huang!
!
!Thanks for the rapid response!
!
!I had the key, and the file, and COM+ was running, *but* ASPNET had no
!rights for the key, neither had it rights for:
!HKLM\SOFTWARE\ Microsoft\MSSQL Server\Client\S uperSocketNetLi b\LastConnect
!
!I started regmon and checked for errors and foung ACCESS DENIED on both
!these keys. I've now given ASPNET Full Control on comadmin.dll CLSID key
and
!everything works fine.
!
!*But*, is this correct?
!
!Should ASPNET have access rights for the MSSQLServer key as well?
!
!I'd like to know what is good enough so I can adjust these rights back...
!
!
!
!
!"Yan-Hong Huang[MSFT]" <yh*****@online .microsoft.com> wrote in message
!news:q$******* *******@cpmsftn gxa06.phx.gbl.. .
!> Hello Bjarne,
!>
!> This problem is some times caused by incorrect version of comadmin.dll on
!your system. You can check the following:
!> 1) check in the registry for the existence of the key:
!>
!> HKEY_CLASSES_RO OT \ CLSID \ {6EB22881-8A19-11D0-81B6-00A0C9231C29}
!>
!> the InprocServer32 value should have a default which points to a dll
!somewhere in the windows directory (system32\com
!> \comadmin.dll)
!>
!> 2) confirm that comadmin.dll does exist in the location pointed to by the
!registry.
!>
!> 3) to make sure COM+ is working, you might want to open up the Component
!Services Explorer (under Administrative Tools),
!> and try clicking down on "My Computer" to get a list of COM+
!Applications.. .
!>
!> Hope it helps.
!>
!> Best regards,
!> Yanhong Huang
!> Microsoft Online Partner Support
!>
!> Get Secure! - www.microsoft.com/security
!> This posting is provided "AS IS" with no warranties, and confers no
!rights.
!>
!> --------------------
!> !From: "B@rney" <ba**********@h otmail.com>
!> !References: <0c************ *************** *@phx.gbl>
!<98*********** *************** **@phx.gbl>
!> <GW************ **@cpmsftngxa06 .phx.gbl>
!> !Subject: Re: ResourcePool is not supported
!> !Date: Tue, 12 Aug 2003 11:45:50 +0200
!> !Lines: 133
!> !X-Priority: 3
!> !X-MSMail-Priority: Normal
!> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
!> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
!> !Message-ID: <#s************ **@TK2MSFTNGP09 .phx.gbl>
!> !Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
!> !NNTP-Posting-Host: gate.ementor.no 62.148.39.70
!> !Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP09.phx.g bl
!> !Xref: cpmsftngxa06.ph x.gbl
!microsoft.publ ic.dotnet.frame work.aspnet:167 019
!> !X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
!> !
!> !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.Platform NotSupportedExc eption: '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:
!> !
!> ![PlatformNotSupp ortedException: 'ResourcePool' is not supported on the
!> !current platform.]
!> ! System.Enterpri seServices.Plat form.Assert(Boo lean fSuccess, String
!> !function) +69
!> ! System.Enterpri seServices.Plat form.Assert(Ver sion platform, String
!> !function) +71
!> ! System.Enterpri seServices.Reso urcePool..ctor( TransactionEndD elegate
!cb)
!> !+38
!> ! System.Data.Sql Client.Connecti onPool..ctor(De faultPoolContro l ctrl)
!+797
!> ! System.Data.Sql Client.PoolMana ger.FindOrCreat ePool(DefaultPo olControl
!> !ctrl, IntPtr SID) +260
!> !
!>
!!System.Data.S qlClient.SqlCon nectionPoolMana ger.GetPooledCo nnection(SqlCon n
e
!c
!> !tionString options, Boolean& isInTransaction ) +358
!> ! System.Data.Sql Client.SqlConne ction.Open() +384
!> !
!>
!!Microsoft.App licationBlocks. Data.SqlHelperP arameterCache.D iscoverSpParame t
e
!r
!> !Set(SqlConnect ion connection, String spName, Boolean
!> !includeReturnV alueParameter) in c:\documents and settings\bjarne l.
!gram\my
!> !documents\my
!projects\rdg\m icrosoft.applic ationblocks.dat a\sqlhelper.cs: 2429
!> !
!>
!!Microsoft.App licationBlocks. Data.SqlHelperP arameterCache.G etSpParameterSe t
I
!n
!> !ternal(SqlConn ection connection, String spName, Boolean
!> !includeReturnV alueParameter) in c:\documents and settings\bjarne l.
!gram\my
!> !documents\my
!projects\rdg\m icrosoft.applic ationblocks.dat a\sqlhelper.cs: 2602
!> !
!>
!!Microsoft.App licationBlocks. Data.SqlHelperP arameterCache.G etSpParameterSe t
(
!S
!> !tring connectionStrin g, String spName, Boolean
!includeReturnV alueParameter)
!> !in c:\documents and settings\bjarne l. gram\my documents\my
!> !projects\rdg\m icrosoft.applic ationblocks.dat a\sqlhelper.cs: 2546
!> !
!>
!!Microsoft.App licationBlocks. Data.SqlHelperP arameterCache.G etSpParameterSe t
(
!S
!> !tring connectionStrin g, String spName) in c:\documents and
!settings\bjarn e
!> !l. gram\my documents\my
!> !projects\rdg\m icrosoft.applic ationblocks.dat a\sqlhelper.cs: 2526
!> ! Microsoft.Appli cationBlocks.Da ta.SqlHelper.Ex ecuteReader(Str ing
!> !connectionStri ng, String spName, Object[] parameterValues ) in
!c:\documents
!> !and settings\bjarne l. gram\my documents\my
!> !projects\rdg\m icrosoft.applic ationblocks.dat a\sqlhelper.cs: 909
!> !...
!> !
!> !
!> !Best regards
!> !
!> !Bjarne L. Gram
!> !Seniorconsulta nt - MCP
!> !Ementor Norge AS
!> !Microsoft Gold Certified Partner
!> !b**********@NO SPAMementor.no
!> !
!> !"Yan-Hong Huang[MSFT]" <yh*****@online .microsoft.com> wrote in message
!> !news:GW******* *******@cpmsftn gxa06.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! - www.microsoft.com/security
!> !> This posting is provided "AS IS" with no warranties, and confers no
!> !rights.
!> !>
!> !> --------------------
!> !> !Content-Class: urn:content-classes:message
!> !> !From: "David" <ce************ ****@nospam.com >
!> !> !Sender: "David" <ce************ ****@nospam.com >
!> !> !References: <0c************ *************** *@phx.gbl>
!> !> !Subject: ResourcePool is not supported
!> !> !Date: Wed, 6 Aug 2003 02:08:48 -0700
!> !> !Lines: 13
!> !> !Message-ID: <98************ *************** *@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+lh3Rk5TNBs 6Qg2Fb3z+GtNeTg ==
!> !> !Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
!> !> !Path: cpmsftngxa06.ph x.gbl
!> !> !Xref: cpmsftngxa06.ph x.gbl
!> !microsoft.publ ic.dotnet.frame work.aspnet:165 287
!> !> !NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
!> !> !X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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
!> !> !AnnoymousAuthe ntication option in IIS seemed to overide it.
!> !> !
!> !> !Everything is now hunky doory
!> !> !
!> !> !David
!> !> !
!> !>
!> !>
!> !
!> !
!> !
!>
!>
!
!
!

Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
7932
by: Mark Carter | last post by:
I'm trying to create a mail server in Twisted. I either get SMTPSenderRefused or SMTPException: SMTP AUTH extension not supported by server. What do I need to do to get it to work?
1
2377
by: Dan | last post by:
Hi, Is the method 'insertAdjacentText' supported by netscape? I 'm afraid of not. Does anyone know the equivalent method? By the way, does it exist something like a equivalence tabel between IE and Netscape? It would be very handy. Thanks in advance Dan
5
2376
by: eadams | last post by:
I've been tasked with writing an application in VB.Net that will manipulate messages in a user's Inbox. My Exchange admin prefers that I use MAPI; I don't really care, but I want this to be as easy as possible. The application will ultimately be installed on a machine that will NOT have Outlook installed. But as I've been looking into how to do this, I'm finding conflicting information. First, there is this article from Microsoft web...
4
1827
by: Robert | last post by:
Hi, which DOM version (level) should I learn? I've seen that there is a DOM level 3, but is there any support for it already? -- Rob
1
16922
by: Tomas Vera | last post by:
Hello All, In an effort to prepare my WebApp for localization, I have included the following lines in some of my ASPX pages (the "lab mice" of my web app). --- Code snippet ----- //--------------------------------------------------------------------- // Set up the localization //--------------------------------------------------------------------- Thread.CurrentThread.CurrentCulture =...
3
1550
by: Stephen R. G. Fraser | last post by:
Are or will delegating constructors (constructors that can call sibling constructors) be available for ref classes or only for native classes? The CLI/C++ specs seems to say that it is a native class thing so I just want to make sure so that I can include/exclude it from the revision of my book. (I also can't seem to get it to work for a ref class, if it is supported.)
0
389
by: greg.sedlock | last post by:
I'm working thru a tutorial on ASP.NET for the MS cert exam. I ran into the following problem: I get an exception titled 'ResourcePool' is not supported on the current platform when .NET attempts to execute the following line of code. SqlDataAdapter1.Fill(DsCustomers1, "vwFranceCustomers") I've reinstalled the .NET Framework and upgraded SQL Server to SP3 and still get the exception. The code is verbatum out of the book. I'm running...
7
3166
by: Fister | last post by:
I'm reading Professional C# (Wrox) and stumbled across: "Some features are supported by.NET but not by C#, and you might be surprised to learn that some features of the C# language are not supported by .NET (for example, some instances of operator overloading)!" How can some features be supported by C# and not .NET? Are there other features than operator overloading and could someone please supply an example? / Fister
0
7329
by: joeller | last post by:
On October 13, 2006 Mark Rae wrote Hi, Firstly, I have not the slightest intention of using framesets - the reason for this post is merely to ask for assistance in furthering my understanding of XHTML. I was under the impression that XHTML fully supports framesets, hence the Frameset document type. Therefore, can anyone please tell me why the following markup doesn't validate correctly in VS.NET 2005?
0
8003
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8498
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8478
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8152
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6817
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6014
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5476
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4025
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2474
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.