Business Object in Web Application


Author
Message
Hugo R. Figueroa
Hugo R. Figueroa
StrataFrame User (243 reputation)StrataFrame User (243 reputation)StrataFrame User (243 reputation)StrataFrame User (243 reputation)StrataFrame User (243 reputation)StrataFrame User (243 reputation)StrataFrame User (243 reputation)StrataFrame User (243 reputation)StrataFrame User (243 reputation)
Group: StrataFrame Users
Posts: 81, Visits: 3.1K
I have a solution with 3 projects:

1)  winform application project

2) webform application project

3) business object project

I am making maintenance forms for projects 1 & 2 using the business objects in project 3.

everything is ok, but when trying to set the bindingfield for the textboxes in one webform I get this message:

"The selected business object name doeas not appear to be valid. The fields could not be enumerated"

I can select the business object by means of the BusinessObjectName Property and I used the same object succesfully in the winform counterpart, and certainly haven't had problems with other business objects.

I have deleted the business object, created and configured it again, built and rebuilt all the projects, have shutdown visual studio and the computer. but still the same.

Please somebody can tell me what can be wrong?

Thanks

Replies
Hugo R. Figueroa
Hugo R. Figueroa
StrataFrame User (243 reputation)StrataFrame User (243 reputation)StrataFrame User (243 reputation)StrataFrame User (243 reputation)StrataFrame User (243 reputation)StrataFrame User (243 reputation)StrataFrame User (243 reputation)StrataFrame User (243 reputation)StrataFrame User (243 reputation)
Group: StrataFrame Users
Posts: 81, Visits: 3.1K
I am only doing strataframe projects ( I'm coming from VFP and was reluctant to learn .net  until I discovered STRATAFRAME).

I've tried removing those Microsoft.SqlServer lines from web.config, but everytime I rebuild the project they appear again.

If I rebuild several times, sometimes the error doesn't show; but I still have the original problem ( I can select the business object from BusinessObjectName, but when trying to set the bindingfield property  I get the message :

"The selected business object name doeas not appear to be valid. The fields could not be enumerated"

StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Could you post the source code for your .aspx.vb and .aspx pages that are causing the problem as well as the code for your applicationbasepage2.vb file.  If this is a production site, or you are uncomfortable posting it here, then you can email it to me.  Thanks.
Ben Hayat
Ben Hayat
Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
Ben Chase (01/19/2007)
Could you post the source code for your .aspx.vb and .aspx pages that are causing the problem as well as the code for your applicationbasepage2.vb file. If this is a production site, or you are uncomfortable posting it here, then you can email it to me. Thanks.




Ben, you give great support! Cool

..ßen
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Hugo R. Figueroa - 18 Years Ago
Guillermo Vilas - 18 Years Ago
     yes, I did it.
Hugo R. Figueroa - 18 Years Ago
Hugo R. Figueroa - 18 Years Ago
Hugo R. Figueroa - 18 Years Ago
StrataFrame Team - 18 Years Ago
Hugo R. Figueroa - 18 Years Ago
Hugo R. Figueroa - 18 Years Ago
StrataFrame Team - 18 Years Ago
Hugo R. Figueroa - 18 Years Ago
StrataFrame Team - 18 Years Ago
Ben Hayat - 18 Years Ago
Hugo R. Figueroa - 18 Years Ago
Hugo R. Figueroa - 18 Years Ago
Hugo R. Figueroa - 18 Years Ago
StrataFrame Team - 18 Years Ago
Hugo R. Figueroa - 18 Years Ago
Ivan George Borges - 18 Years Ago
StrataFrame Team - 18 Years Ago
Jason Stevenson - 18 Years Ago
StrataFrame Team - 18 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search