PopulationDataSourceSettings Dialog Not Populating Business Object Types


Author
Message
Jared Ewald
Jared Ewald
StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)
Group: StrataFrame Users
Posts: 18, Visits: 43
Hello to all. I am working on a web application that needs to use a StrataFrame dropdownlist control that is populated by a business object. When I click on the "..." button to bring up the dialog for the PopulationDataSourceSettings property, the window does not populate with the list of business object types and thus cannot be used to set the population settings for the dropdownlist. In the same project a couple of days ago, this dialog (and the same one for the ListView control) used to populate with the business object types correctly. Any ideas as to why this no longer works correctly (a setting, missing lines, etc.)?



Thanks!



Jared

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 running the 1.6.5 build?
Jared Ewald
Jared Ewald
StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)
Group: StrataFrame Users
Posts: 18, Visits: 43
I'm running the 1.6.0.0 build.
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
The assembly has been left at 1.6.0.0 for quite some time now.  In the 1.6.5 build we now have a version section on the StrataFrame menu so that we can determine the exact version.  Do you know if the last build that was loaded was 1.6.1?  Also, are you running a website or a web application project?  I am trying to reproduce and all is well on this side.  Thanks.
Jared Ewald
Jared Ewald
StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)
Group: StrataFrame Users
Posts: 18, Visits: 43
The last version loaded on this machine was 1.6.1. The site is setup as a website. The problem seems to be occurring only for one particular website. I tried bringing up the PopulationDataSourceSettings on another site that is configured the same way, and the dialog populates correctly. How does the the dialog read in the business object types and methods? Is there something in the project that could have been deleted to cause it not to find those business object types?



Thanks again for all of your help!



Jared
StrataFrame Team
S
StrataFrame Developer (4.3K reputation)StrataFrame Developer (4.3K reputation)StrataFrame Developer (4.3K reputation)StrataFrame Developer (4.3K reputation)StrataFrame Developer (4.3K reputation)StrataFrame Developer (4.3K reputation)StrataFrame Developer (4.3K reputation)StrataFrame Developer (4.3K reputation)StrataFrame Developer (4.3K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Is the reference to the DLL containing the business objects referenced through the references section of the web.config file, through the references section of the properties of the web site, or both?
Jared Ewald
Jared Ewald
StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)
Group: StrataFrame Users
Posts: 18, Visits: 43
Right now, the dll with the business objects is referenced in the references section of the web site properties but not in the web.config file. The site for which this dialog is working is also configured in this way.
Jared Ewald
Jared Ewald
StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)
Group: StrataFrame Users
Posts: 18, Visits: 43
I'm still having problems with this dialog not populating correctly for this website. I've tried reloading the source code into a different project from source control to no avail--the problem still occurs. Given that the business object dll file is indeed referenced by the project, is there any setting, etc. that would cause it not to find the business object types? Or, could it be a problem with the class library itself?



Thanks again,



Jared
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
Jared,

I there any way that you could create a small sample that reproduces your behavior?  I have been trying to reproduce on this side and I am just not able to make this happen.  The sample doesn't have to be robust, just reproduce the problem.  I am sure that it would consist of a website and a BO class library and then a page with a combo that is trying to populate from a BO in the class library.  Though I think I know the components, I just can't get it in a reproducable state.

I have seen things like this before when there have been issues with the StrataFrame database not being updated, but it fails accross the board (Win and Web) and from what you have mentioned, it works on other sites.  I have also seen this when there was a reference issue and the class library could not be properly reflected.

I might do two things if you cannot re-create this.  First, download the 1.6.5 update so that we know that you are running the latest build of SF.  Second, if that doesn't resolve the issue (which I don't think it will), you would be well served to convert your website to a web application project....NET plays much nicer with a web application than a site...ESPECIALLY in regards to references.

One final thought, if you are using source control delete your local instance entirely, then redownload from source control and to a rebuild.  I have also see issues where old assemblies get stuck in the bin or Obj folders that could cause this type of behavior as well.

Jared Ewald
Jared Ewald
StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)StrataFrame Beginner (18 reputation)
Group: StrataFrame Users
Posts: 18, Visits: 43
I investigated this a bit more and discovered that it works if I comment out the line. Moreover, the project seems to compile correctly without it. Any ideas as to why this line would cause this dialog not to be able to populate the business object types list? Also, what does this assembly do?



Thanks,



Jared
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