By fansanitis - 2/21/2008
I'm trying to setup a combobox to be populated with a BO. I set the PopulationType to BusinessObject and then try and set the PopulationDataSourceSettings. The List Population Dialog displays for a second and then is replaced with a messagebox that says "Searching for Business Objects, Please wait...". Well it never comes back. The only way to get rid of it is to close VS. When I reopen VS and try the same operation, the same problem keeps happening. What's up??? I'm using the 1.6.5.0 beta.
|
By Trent L. Taylor - 2/21/2008
Well, it sounds as though you are getting an error. The DTE is bad about snuffing out errors (even legitmate ones). The very first thing I would do is rebuild your solution, then go back into the form where you are having the issue and try again. This would just ensure that all of your BOs are built.The 1.6.5 beta should not be related to your issue here...so if this doesn't work then we will want to dig around a little bit more.
|
By fansanitis - 2/21/2008
I rebuilt all my BOs in the Business Object Mapper. Rebuilt my BO project and then rebuilt the entire solution. Problem stills exists. Here's ALL the details. This combobox had it's PopulationDataSourceSettings set to a method in a BO that I deleted from the BO's Data Retrieval Section. So I cleared the PopulationDataSourceSettings for this combobox and now I'm trying to reset it to a new method in the same BO.
|
By Trent L. Taylor - 2/21/2008
Actaully if that method cannot be found it will not produce an error...we take that into account. I think that the error is coming from enumerating through the BOs. If you drop on a new combo on a test form, does the issue persist?
|
By fansanitis - 2/22/2008
Yes, if a create a new form and drop a combobox on it the problem persists. But here's what I can do. If I go into the form.designer.vb code I can add a ListPopulationSettings object, set the proper properties on it then set the comboxes PopulationDataSourcesSettings to the ListPopulationSettings object. Probably a dangerous thing to do but I have it semi-working as a work-around for now.
|
By fansanitis - 2/22/2008
I created a new project, added a new BO connected to a different database, added a combobox to the form, bound the combobox to the new BO then tried to set the PopulationDataSourceSettings and I get the same problem. So it appears that the problem is NOT with the BOs in my original project but may have something to do with SF itself. For what it's worth, all the PopulationDataSourceSettings in my solution were originally set when I was using SF 1.6.1. This is the 1st time I'm trying to set them using 1.6.5.
|
By StrataFrame Team - 2/22/2008
I've added a try/catch to the method that populates the lists within the type editor dialog. It will force the wait window to go away and it will also show the red exception dialog when you receive an error while it's loading the dialog. Hopefully that will give us some more insight into what's causing the issue. It will be part of 1.6.5 when it's released.
|
By fansanitis - 2/22/2008
What do I do in the meantime? I need to get this working.
|
By Trent L. Taylor - 2/22/2008
I rebuilt the installation with the changes so you can see what error you are getting. You can get it here: http://forum.strataframe.net/FindPost14525.aspx .
|
By fansanitis - 2/22/2008
Thanks Trent!! Attached is a copy of the error and stack trace that is being generated.
|
By Trent L. Taylor - 2/22/2008
That makes it simple You didn't update your StrataFrame database structures. There are new columns that have been added, so you need to be sure that the StrataFrame database is updated during the installation. These are two new columns that have been added to the DBEPreferences table...they are missing. So run the setup again and BE SURE to let the structures update.
|
By fansanitis - 2/25/2008
Sorry for wasting your time!! I thought I had installed the new db structures the 1st time I installed the beta but obviously I didn't. Thanks!!
|
By Trent L. Taylor - 2/25/2008
No worries...I am just glad you got it going
|