![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
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 |
|
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 |
#2
| |||
| |||
|
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
| |