Population Data Source Settings crashing


Author
Message
Andria Jensen
Andria Jensen
Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)
Group: Forum Members
Posts: 336, Visits: 497
In one of my projects I am trying to set Data Source Settings on combo boxes.  On all of them I have tried it comes up and then the settings form disappears and I see the wait window saying it is looking for business objects.  This just stays up and I never get to the population data source settings.  I end up having to exit the project and can't get the settings to come up.  This is the only project I have seen it happen in, but it happens on all of the combo boxes.
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Andria,

If you'll recall early on I think you had a problem here because you had some code in the New() of a business object attempting to Fill.  Do you by chance have any code in the New() of a business object that may be causing an error.

The reason the form goes away is because an error occurred.  The problem with the DTE environment is that is doesn't like to expose error messages very much.  It usually just snuffs them like you have seen.  I am fairly confident the problem is with one of the BOs.  Let me know if you see anything in the BOs.  In fact you can temporarily exclude them one by one from the project until you determine which one is causing the error.  To exclude a BO, right click on it and click Exclude from project.  To add it back in just right click on the file and click Include in Project.

Andria Jensen
Andria Jensen
Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)
Group: Forum Members
Posts: 336, Visits: 497
I'm having this issue again.  I think it was one of my BO's before, but this time I can't get it to go away.  I have taken all BO's out of my project and am still getting this error.  I just have the "Searching for Business Objects, Please wait..." wait window that stays up on the screen.  I see the Population DataSource Settings window come up for a split second then go away.  I'm not sure where to look for this error...any ideas?
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Try this...create a new StrataFrame application project.  Add a single BO and then open the BO Mapper.  More than likely the error will not persist.  If this is the case, then we need to begin disecting your other solution and see if there is anything different that could be throwing the error.  For example, do you have solution folders or anything out of the norm?
Andria Jensen
Andria Jensen
Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)
Group: Forum Members
Posts: 336, Visits: 497
That works fine for the new project....However, I can open the BO Mapper without error on the project I'm having the error with.  I only get a problem on the PopulationDataSourceSettings BO search.  I'll start adding things from the project into the new test project and see if I can find where the error is coming from.  Let me know if you have any other ideas. 
Andria Jensen
Andria Jensen
Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)
Group: Forum Members
Posts: 336, Visits: 497
I am having this problem yet again.  I'm not sure why I keep getting it.  It would be great if we could get some sort of actual error message or log instead of the Searching for Business Objects wait window just sitting on the screen.  I have narrowed it down to one business object, but I have no idea what is wrong with it.  I have no code in the constructor and nothing that seems out of the norm.  I still don't understand what causes this issue.  Please help.
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
If you comment that one business object out does the error persist?  As for the error messages getting snuffed, this is thanks to Visual Studio.  It is actually very hard to show an error in the DTE....you have to put a try catch around the exact location that is failing...even then it is a crap shoot.

How do you know you have it narrowed down to a single BO?  If this is the case, post the BO source code so we can look at it and see if there is something fishy.

Andria Jensen
Andria Jensen
Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)
Group: Forum Members
Posts: 336, Visits: 497
I think I have this one fixed...not completely sure but it seems that way for now.  I had it narrowed down to one dll, not really one BO I guess.  I believe what the problem was is that I had a circular reference.  I still don't see how this affected the BO search, but for now I guess it's fixed.  Hehe

And I wasn't really suggesting that you guys put error messages in for this.  I was just venting about VS2005....I have so many issues with it, and coming back to my desk to find my IDE sending an error report didn't help. HAHA... w00t

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Well, I am glad that you got it going.  I agree that it is frustrating when you can't get the error message.  It is frustrating from our side when we are trying to support you guys.  But we will try to get some message showing up Wink
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search