Re: ADOConPool not working with c#/ASP.NET
From: Akshai Mirchandani [MS] (akshaim_at_online.microsoft.com)
Date: 05/05/04
- Next message: noezavala: "Re: DIMENSION PROPERTIES DIMENSION_UNIQUE_NAME"
- Previous message: Akshai Mirchandani [MS]: "Re: Truncated XML-Response in SOAP-Envelope"
- In reply to: Will Muldrew: "ADOConPool not working with c#/ASP.NET"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 5 May 2004 10:42:57 -0700
Is there anything in the inner exception? We'll try to reproduce this
problem here...
Thanks,
Akshai
--
This posting is provided "AS IS" with no warranties, and confers no rights
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
"Will Muldrew" <nospamplease@nospam.com> wrote in message
news:ucOyyegMEHA.936@TK2MSFTNGP11.phx.gbl...
> Hi all... please help...
>
> I'm trying to use an ADOConPool with my ASP.NET app written in C#. If I
put
> this test code:
>
> MSXmlAnalysisSCLib.ADOConPool p = new
MSXmlAnalysisSCLib.ADOConPoolClass();
> ADODB.Connection c =
> (ADODB.Connection) p.GetConnection("Provider=MSOLAP.2;Data
> Source=riskln2;Initial Catalog=RiskDW;");
>
> into the Main routine of a console app it runs with no problems. If I
put
> the same code in the Page_Load method of a one webform toy web app it
throws
> an SEHException with the generic message "External component has thrown an
> exception. " when it hits the GetConnection line. The connection strings
> are identical and it's running on the same machine.
>
> I've set the AspTrackThreadingModel setting to true for the webapp as per
> the MS whitepaper, but I don't think it matters since I've not (in this
> example) storing the pool object in session or app state.
>
> Also, the app is set to impersonate the client user as authenticated by
> integrated authentication. I know this is working because I can
explicitly
> open an ADO DB connection myself in the Page_Load method and run some mdx
> against it using the ADO MD API.
>
> Has anyone got any ideas - or at least some way in which I can get more
> expansive error information from the connection pool object??
>
> Thanks
>
> Will Muldrew
>
>
- Next message: noezavala: "Re: DIMENSION PROPERTIES DIMENSION_UNIQUE_NAME"
- Previous message: Akshai Mirchandani [MS]: "Re: Truncated XML-Response in SOAP-Envelope"
- In reply to: Will Muldrew: "ADOConPool not working with c#/ASP.NET"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|