i never successfull to try the sample of .net webcontrol of bi. i
always got this message:
Client found response content type of 'text/html', but expected
'text/xml'.
the full message of error is:
Server Error in '/mssqlbiwebctrlsample' Application.
--------------------------------------------------------------------------------
Client found response content type of 'text/html', but expected
'text/xml'.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Client found
response content type of 'text/html', but expected 'text/xml'.
Source Error:
Line 63: private void btnGetDataSources_Click(object sender,
System.EventArgs e)
Line 64: {
Line 65: MSSQLBI.XmlAnalysis.Data.DataSource[] dataSources
= MSSQLBI.Web.Olap.OlapControl.GetDataSourceList(txtUrl.Text, null);
Line 66:
Line 67: ddlDataSource.Items.Clear();
Source File: C:\Program Files\Visual Studio .NET Web Control for
BI\Sample\connection.aspx.cs Line: 65
i already set the permission of virtual directory xmla. and my
datasource.xml :
<DataSources UnnamedSessionsTimeout="300" NamedSessionsTimeout="3600"
MaxRequestSize="128" AllowInsecureTrans****t="1"
EnableNagleAlgorithm="1">
<DataSource>
<DataSourceName>Local Analysis Server</DataSourceName>
<DataSourceDescription>Microsoft Analysis Server 2000 on local
machine</DataSourceDescription>
<URL>http://localhost/xmla/msxisapi.dll</URL>
<DataSourceInfo>Provider="MSOLAP.2";Data
Source=local</DataSourceInfo>
<ProviderName>Microsoft XML for Analysis</ProviderName>
<ProviderType>
<TDP/>
<MDP/>
<DMP/>
</ProviderType>
<AuthenticationMode>Unauthenticated</AuthenticationMode>
</DataSource>
</DataSources>
please help me.
yugicm