Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Data XML Analysis > Error result af...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 540 of 568
Post > Topic >>

Error result after connection to http://localhost/xmla/msxisapi.dll

by "yugicm" <prgbox@[EMAIL PROTECTED] > Nov 15, 2006 at 01:01 AM

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
 




 2 Posts in Topic:
Error result after connection to http://localhost/xmla/msxisapi.
"yugicm" <pr  2006-11-15 01:01:24 
Re: Error result after connection to http://localhost/xmla/msxis
"John" <tjga  2006-11-16 05:34:32 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 9:06:11 CST 2008.