BO's not showing up in Designer after upgrade to 1.6


Author
Message
Justin Buist
Justin Buist
StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)
Group: Forum Members
Posts: 17, Visits: 81
I installed 1.6 the other day and I've got the project compiling and running but from within the designer I'm unable to select any of my BO's as a datasource now.



They show up within the StrataFrame Business Object Mapper, just not in designer.



Any idea what I've done wrong here?
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
If the BOs don't show up automatically, you might try cleaning the solution by right-clicking the solution and then click Clean and then right-click the solution again and click Rebuild.  You may also need to get out of VS and come back in....this a Visual Studio thing.  They should appear like this:


Justin Buist
Justin Buist
StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)
Group: Forum Members
Posts: 17, Visits: 81
I gave that a shot, twice, and it didn't work. I did remember to use 'Rebuild' and not 'Build' too. I remember seeing a post about that somewhere on here and it making a difference.



Here's what I see: http://forum.strataframe.net/Attachment380.aspx
Attachments
cant-find-bos.png (93 views, 29.00 KB)
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Are you putting your BOs in the GAC?
Justin Buist
Justin Buist
StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)
Group: Forum Members
Posts: 17, Visits: 81
Nope. I've got a 'BusinessObjects' project and my Web Application project in the same solution with the Web Application project referencing BusinessObjects.



It was all working fine with 1.5, and the app still runs. I'm just trying to figure out why that drop-down isn't getting populated.



Seems like a silly issue, but so far I've found it to be the best way for me to check my object/method names when a page blows up and I'm unable to determine which control caused it.
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Try deleting and re-adding your reference to the project.  When you do this, rebuild your solution then get out of Visual Studio and come back in.  See if it works after this has been done.
Justin Buist
Justin Buist
StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)
Group: Forum Members
Posts: 17, Visits: 81
- Delete Reference

- Add Reference

- Rebuild Solution (catch filesystem error... can't copy over top of existing .xml files in \bin directory)

- Shutdown VS

- Manually delete offending .XML files (BusinessObjects.xml and OLEM.xml)

- Restart VS

- Rebuild Solution (clean)

- Restart VS

- Rebuild solution (clean)



Still not there.



When the wizard-ish dialog comes up and says it's searching for Business Objects where exactly is it looking?
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
It uses the DTE and reflection....so Visual Studio cannot see the BOs class library when searching within this project.  This is generally a caching issue and is resolved by changing references and getting out and coming back in.  If it is a sample project you can post it or send me a PM and I will take a look and see where the problem is.
Justin Buist
Justin Buist
StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)StrataFrame Beginner (21 reputation)
Group: Forum Members
Posts: 17, Visits: 81
It looks like we're just going to revert back to the 1.5.1 framework for this project and run with 1.6 from the very beginning on the next one.



Thanks for the help.
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