dbTalk Databases Forums  

olap web control - Method not allowed

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss olap web control - Method not allowed in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Uma
 
Posts: n/a

Default olap web control - Method not allowed - 04-03-2006 , 08:19 AM






Hi everyone,

I am using the olap web control which is downloaded from Microsoft
site. I am using XML for Analysis SDK 1.0 version. I am getting the
error "Method not allowed".

The following is the xml that comes when I launch
"http://localhost/xmla/msxisapi.dll"

<faultstring>The Web service supports only the POST
operation.</faultstring>

Please see the below mail which I have sent to
msolapfeedback (AT) grapecity (DOT) com

Quote:
I have downloaded the Olap web control from microsoft site and using
it for my project.I have all s/w requirements installed on my system.

After creating the project , I created a virtual directory pointing
to the XML dll (msxisapi.dll) file . The Virtual directory name is
"XMLAnalyser".

Please see the following code which i used in my program on page_load event.
Dim a As MdxConnection
a.DataSourceInfo = "Provider=Msolap.2;Data Source=local"
a.Catalog = "FoodMart 2000"
a.Cube = "sales"
a.Url = "Http://localhost/xmla/msxisapi.dll"
OlapControl1.Connection = a

OlapControl1.ResultCube.ColumnAxis.Add("[Time]")
OlapControl1.ResultCube.RowAxis.Add("[Store]")
OlapControl1.ResultCube.Measures.Add("[Measures].[Store
Cost]")

Quote:
I drag and dropped the control and used this code. When i run the
project it gives me error at
"OlapControl1.Connection = a"
saying

The request failed with HTTP status 405: Method not allowed.
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.Net.WebException: The request failed with
HTTP status 405: Method not allowed.

Source Error:



Line 31: a.Cube = "sales"
Line 32: a.Url = "Http://localhost/xmlanalyser/msxisapi.dll"
Line 33: OlapControl1.Connection = a
Line 34:
Line 35: OlapControl1.ResultCube.ColumnAxis.Add("[Time]")


Source File: C:\Inetpub\wwwroot\TestOlapCtrl\WebForm1.aspx.vb Line: 33

Could any one help me out in solving the problem?.

Thanks,
Uma


Reply With Quote
  #2  
Old   
Uma
 
Posts: n/a

Default Re: olap web control - Method not allowed - 04-06-2006 , 12:14 AM






any one have answer for this????....or any body use this
control...please give me overview how did u install n made it working
in ur pc???

Thanks in advance
Uma


Uma wrote:
Quote:
Hi everyone,

I am using the olap web control which is downloaded from Microsoft
site. I am using XML for Analysis SDK 1.0 version. I am getting the
error "Method not allowed".

The following is the xml that comes when I launch
"http://localhost/xmla/msxisapi.dll"

faultstring>The Web service supports only the POST
operation.</faultstring

Please see the below mail which I have sent to
msolapfeedback (AT) grapecity (DOT) com


I have downloaded the Olap web control from microsoft site and using
it for my project.I have all s/w requirements installed on my system.

After creating the project , I created a virtual directory pointing
to the XML dll (msxisapi.dll) file . The Virtual directory name is
"XMLAnalyser".

Please see the following code which i used in my program on page_load event.
Dim a As MdxConnection
a.DataSourceInfo = "Provider=Msolap.2;Data Source=local"
a.Catalog = "FoodMart 2000"
a.Cube = "sales"
a.Url = "Http://localhost/xmla/msxisapi.dll"
OlapControl1.Connection = a

OlapControl1.ResultCube.ColumnAxis.Add("[Time]")
OlapControl1.ResultCube.RowAxis.Add("[Store]")
OlapControl1.ResultCube.Measures.Add("[Measures].[Store
Cost]")

I drag and dropped the control and used this code. When i run the
project it gives me error at
"OlapControl1.Connection = a"
saying

The request failed with HTTP status 405: Method not allowed.
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.Net.WebException: The request failed with
HTTP status 405: Method not allowed.

Source Error:



Line 31: a.Cube = "sales"
Line 32: a.Url = "Http://localhost/xmlanalyser/msxisapi.dll"
Line 33: OlapControl1.Connection = a
Line 34:
Line 35: OlapControl1.ResultCube.ColumnAxis.Add("[Time]")


Source File: C:\Inetpub\wwwroot\TestOlapCtrl\WebForm1.aspx.vb Line: 33

Could any one help me out in solving the problem?.

Thanks,
Uma


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.