Re: AdomdSampleApp GetSchemaDataSet problem
From: Akshai Mirchandani [MS] (akshaim_at_online.microsoft.com)
Date: 06/21/04
- Next message: Maersa: "Re: SOAP header error"
- Previous message: Akshai Mirchandani [MS]: "Re: SOAP header error"
- In reply to: Richard Bond: "AdomdSampleApp GetSchemaDataSet problem"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 21 Jun 2004 12:52:11 -0700
Hi Richard,
Is it possible for you to obtain the XML returned for the DBSCHEMA_CATALOGS
request and post that here? We could then try to analyze it to see what
could be causing this problem.
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.
"Richard Bond" <Richard.Bond@tnsofres.com> wrote in message
news:ehSnu45VEHA.2184@TK2MSFTNGP10.phx.gbl...
> Hello,
>
> I've installed the sample application and am having problems with a
> particualr line of code:
> objTable = connection.GetSchemaDataSet(AdomdSchemaGuid.Catalogs,
> Nothing).Tables(0)
>
>
> {System.InvalidCastException}
> [System.InvalidCastException]: {System.InvalidCastException}
> HelpLink: Nothing
> InnerException: Nothing
> Message: "Specified cast is not valid."
> Source: "System.Data"
> StackTrace: " at System.Data.DataTableCollection.get_Item(Int32
index)
> at
>
Microsoft.Samples.SqlServer.AdomdSample.AdomdHelper.GetSchemaDataSet_Catalog
> s(AdomdConnection& connection) in
> C:\Shared\ADOMD_NET\AdomdSampleSolution\AdomdSample\AdomdHelper.vb:line
184
> at
>
Microsoft.Samples.SqlServer.AdomdSample.MainDialog.LoadDatabaseMetadata(Tree
> Node parentNode) in
> C:\Shared\ADOMD_NET\AdomdSampleSolution\AdomdSample\MainDialog.vb:line
691"
> TargetSite: {System.Reflection.RuntimeMethodInfo}
>
> I've also tried connection.GetSchemaDataSet(AdomdSchemaGuid.Catalogs,
> Nothing) (without trying to reference the first table.
>
> any thoughts?
>
> My Datasource Naae is the name of my Local Analysis services server.
>
> regards,
>
> Richard
>
>
- Next message: Maersa: "Re: SOAP header error"
- Previous message: Akshai Mirchandani [MS]: "Re: SOAP header error"
- In reply to: Richard Bond: "AdomdSampleApp GetSchemaDataSet problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|