Hi,
I have a problem with the xamPivotGrid.
I select a cube names Orders.
In visual studio I change the cube name to Orders1 and save the changes.
I then drag a the CustomerId into filter.
I get the error: The object 'Orders' was not found Parameter name: index.
I catch this exception in :myWindow.Dispatcher.UnhandledException += new DispatcherUnhandledExceptionEventHandler(Dispatcher_UnhandledException);
I close the window.
If i bring up the window again with a valid cube the drag drop is gone.
Screen shot:
How do i get the drag drop back. The only way is to close the application and reopen it again.
Regards,
Paw Kyhl Jensen
Could you explain more about how you are changing the cube name? You mentioned that you are doing that in visual studio. I’m assuming that you did this thru the Server Explorer before you run your application but please give me the step by step.
Can you duplicate this using the Adventure Works cube?
The rest of your steps, from where you are dragging a dimension, I assume are done at run time.
Hi I did it in Visual Studio 2008. But it does not matter how the name is changed.
I will make a small project that does this.
Paw
Thanks I wil try that.
What about the drag drop problem?
In order to duplicate this behavior, please give me the detailed steps that you used to change the cube name.
Without putting words in your mouth, I was able to open the SQL Server Business Intelligence Development Studio which opened Visual Studio 2005 where I was able to use File > Open > Analysis Service Database and had the option to Rename the cube from the Server Explorer.
Is that what you did? If not please give me the specific steps.
Thanks for your help.
Hi
I think a picture says it all :)
Thanks for your image. I've contacted development concerning this question and I'll follow up with you shortly.
Can you give us some details about the use case as related to changing the cube name?
There may be a better approach that we could recommend.
Our developers were able to duplicate the behavior you reported and I am in the process of logging a development issue.
I will open a private case for you and I will contact you directly thru that case
I passed your comments onto our developers. I expect to hear from them shortly and I will keep you updated.
Sorry, I guess the use of the word browser. I can see the problem. :-) The browser I am refering to is the cube browser like in the sample I made.
I wonder if you are able to get the error: Object "CUBE NAME" was not found.
I found a simple way to reproduce the problem.
Run the sampel.
Enter server name, Database name and Cube to view.
Press Open (Do not do any thing else)
Rename the cube like in my previous post.
In the Window with that was opened by pressing Open in the sample drag a dimension into the rows box.
You should get the error Object "CUBE NAME" was not found (It pops up a couple of times)
Close the window
The enter the name that the cube was renamed to in the Cube Name textbox and press open
It will display fine but now you cannot drag the dimensions into the rows box..
If you restart the sample an set up the connetion to the cube again you can drag drop the dimesions.
Regards
Paw.
Our developers have been looking at your sample and working with the steps you defined. We are still not able to reproduce the behavior that you described.
We noticed that in your steps you made several references to “browser” and “browses” but your application uses WinForms/WPF.
Could you give us some clarification on the steps to reproduce the behavior, specifically the “browser” steps?
I do not need a better approach to rename a cube. That is one of the things our product can do.
I just think that our users should be able to do the drag and drop without restarting our application.
Another way to reproduce the problem is to make a change to the cube that will requier a re-proccesing of the cube like adding a dimension.
So a use case/user story/scenario could be:
A user browses a cube and notices that he/she forgot to add a dimension to the cube.
The user adds the dimension to the cube without closing the browser and the deploys the cube (He/she forgets to process the cube).
The user then drags an object in the browse into grid or boxes below.
He gets the error Object "CUBE NAME" was not found......
He closes the browser and processes the cube
Reopen the browser and here comes the problem he/she cannot drag/drop any more.