﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » Business Object in Web Application</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sat, 06 Jun 2026 00:06:33 GMT</lastBuildDate><ttl>20</ttl><item><title>Business Object in Web Application</title><link>http://forum.strataframe.net/FindPost5938.aspx</link><description>I have a solution with 3 projects: &lt;/P&gt;&lt;P&gt;1)&amp;nbsp; winform application project&lt;/P&gt;&lt;P&gt;2) webform application project&lt;/P&gt;&lt;P&gt;3) business object project&lt;/P&gt;&lt;P&gt;I am making maintenance forms for projects 1 &amp;amp; 2 using the business objects in project 3.&lt;/P&gt;&lt;P&gt;everything is ok, but when trying to set the bindingfield for the textboxes in one webform I get this message:&lt;/P&gt;&lt;P&gt;"The selected business object name doeas not appear to be valid. The fields could not be enumerated"&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;Please somebody can tell me what can be wrong?&lt;/P&gt;&lt;P&gt;Thanks</description><pubDate>Tue, 13 Feb 2007 09:34:10 GMT</pubDate><dc:creator>Hugo R. Figueroa</dc:creator></item><item><title>RE: Business Object in Web Application</title><link>http://forum.strataframe.net/FindPost6756.aspx</link><description>Good to know, Jason.&amp;nbsp; Thanks for the tip.&amp;nbsp; Most of our web servers also have SQL Server installed on them, and MSXML 6 is a prerequisite for that, so that explains why we haven't run into this problem.</description><pubDate>Tue, 13 Feb 2007 09:34:10 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Business Object in Web Application</title><link>http://forum.strataframe.net/FindPost6726.aspx</link><description>FYI.&lt;P&gt;A developer at my company also received this error while attempting to build a web project using strataframe objects:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Invalid access to memory location. (Exception from HRESULT: 0x800703E6) in web.config file in the following line:&lt;BR&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&amp;lt;add assembly="Microsoft.SqlServer.Replication, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/&amp;gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;It was resolved by re-registering the following 2 dlls:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;STRONG&gt;regsvr32.exe msxml3.xml&lt;BR&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;FONT face=Arial size=2&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;STRONG&gt;regsvr32.exe msxml6.xml&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;o:p&gt;Good luck,&lt;/o:p&gt;&lt;/P&gt;&lt;P&gt;Jason Stevenson&lt;/SPAN&gt;&lt;/FONT&gt;</description><pubDate>Mon, 12 Feb 2007 11:03:32 GMT</pubDate><dc:creator>Jason Stevenson</dc:creator></item><item><title>RE: Business Object in Web Application</title><link>http://forum.strataframe.net/FindPost6211.aspx</link><description>Did I mention that I shaved my head last week?&amp;nbsp; It's not a pretty shaved head, but...&lt;/P&gt;&lt;P&gt;just kidding...</description><pubDate>Thu, 25 Jan 2007 09:18:49 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Business Object in Web Application</title><link>http://forum.strataframe.net/FindPost6192.aspx</link><description>Hi Hugo.&lt;/P&gt;&lt;P&gt;Ask Ben for some of his. He's got plenty to share... :D</description><pubDate>Wed, 24 Jan 2007 18:37:04 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Business Object in Web Application</title><link>http://forum.strataframe.net/FindPost6190.aspx</link><description>Thank you.&lt;/P&gt;&lt;P&gt;I was pulling my hairs..:P&lt;/P&gt;&lt;P&gt;Now I can wait&amp;nbsp; and let them grow again&amp;nbsp;&amp;nbsp;&amp;nbsp;:)</description><pubDate>Wed, 24 Jan 2007 18:06:31 GMT</pubDate><dc:creator>Hugo R. Figueroa</dc:creator></item><item><title>RE: Business Object in Web Application</title><link>http://forum.strataframe.net/FindPost6179.aspx</link><description>Thanks for sending the source code.&amp;nbsp; I was able to reproduce and fix the error that you received.&amp;nbsp; The fixes will be included in the next release here in the coming 2 or so weeks.&amp;nbsp; In the meantime, you can workaround the problem by leaving the definitions in your main ApplicationBasePage.cs file.&amp;nbsp; I would post the updated DLLs, but several other things have changed, and I don't want to cause you more headaches by sending you DLLs that will break what you're working on.</description><pubDate>Wed, 24 Jan 2007 14:04:28 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Business Object in Web Application</title><link>http://forum.strataframe.net/FindPost6164.aspx</link><description>I am stuck with this.</description><pubDate>Wed, 24 Jan 2007 11:12:19 GMT</pubDate><dc:creator>Hugo R. Figueroa</dc:creator></item><item><title>RE: Business Object in Web Application</title><link>http://forum.strataframe.net/FindPost5998.aspx</link><description>I don't know if this can help, but if I add the business object to the ApplicationBasePage.cs too, and continue to reference the ApplicationBasePage2.cs , I get no error and I am able to select a field in BindingField property.</description><pubDate>Sat, 20 Jan 2007 13:26:34 GMT</pubDate><dc:creator>Hugo R. Figueroa</dc:creator></item><item><title>RE: Business Object in Web Application</title><link>http://forum.strataframe.net/FindPost5986.aspx</link><description>[quote][b]Ben Chase (01/19/2007)[/b][hr]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.[/quote]&lt;br&gt;
&lt;br&gt;
Ben, you give great support! :cool:</description><pubDate>Fri, 19 Jan 2007 22:44:43 GMT</pubDate><dc:creator>Ben Hayat</dc:creator></item><item><title>RE: Business Object in Web Application</title><link>http://forum.strataframe.net/FindPost5982.aspx</link><description>I'm sending you an e-mail.&lt;/P&gt;&lt;P&gt;Thank you.</description><pubDate>Fri, 19 Jan 2007 17:36:43 GMT</pubDate><dc:creator>Hugo R. Figueroa</dc:creator></item><item><title>RE: Business Object in Web Application</title><link>http://forum.strataframe.net/FindPost5978.aspx</link><description>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.&amp;nbsp; If this is a production site, or you are uncomfortable posting it here, then you can email it to me.&amp;nbsp; Thanks.</description><pubDate>Fri, 19 Jan 2007 15:39:44 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Business Object in Web Application</title><link>http://forum.strataframe.net/FindPost5975.aspx</link><description>I am only doing strataframe projects ( I'm coming from VFP and was reluctant to learn .net&amp;nbsp; until I discovered&amp;nbsp;STRATAFRAME). &lt;/P&gt;&lt;P&gt;I've tried removing those Microsoft.SqlServer lines from web.config, but everytime I rebuild the project they appear again. &lt;/P&gt;&lt;P&gt;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 &amp;nbsp;I get the message :&lt;/P&gt;&lt;P&gt;"The selected business object name doeas not appear to be valid. The fields could not be enumerated"</description><pubDate>Fri, 19 Jan 2007 15:30:07 GMT</pubDate><dc:creator>Hugo R. Figueroa</dc:creator></item><item><title>RE: Business Object in Web Application</title><link>http://forum.strataframe.net/FindPost5969.aspx</link><description>That's odd that you would be getting that error.&amp;nbsp; Is the error only occuring on a StrataFrame web site project, or any web site project?&amp;nbsp; When I Googled your error message, I found this site, &lt;A href="http://www.xerratus.com/2006/03/24/AnnoyingInvalidAccessToMemoryLocationExceptionSolution.aspx"&gt;http://www.xerratus.com/2006/03/24/AnnoyingInvalidAccessToMemoryLocationExceptionSolution.aspx&lt;/A&gt;, which says that this might be a problem with VS referencing the Microsoft.SqlServer DLLs, so you might try removing them from your references in the web.config file.</description><pubDate>Fri, 19 Jan 2007 15:00:32 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Business Object in Web Application</title><link>http://forum.strataframe.net/FindPost5965.aspx</link><description>Now I am getting this message when trying to build or rebuild the project:&lt;/P&gt;&lt;P&gt;Error&amp;nbsp;1&amp;nbsp;Invalid access to memory location. (Exception from HRESULT: 0x800703E6)&amp;nbsp;D:\Visual Studio 2005\WebSites\reto\web.config&amp;nbsp;29&amp;nbsp;&lt;BR&gt;&lt;/P&gt;&lt;P&gt;Then, I created another web project and I am getting the same error.&lt;/P&gt;&lt;P&gt;:crazy:</description><pubDate>Fri, 19 Jan 2007 14:42:02 GMT</pubDate><dc:creator>Hugo R. Figueroa</dc:creator></item><item><title>RE: Business Object in Web Application</title><link>http://forum.strataframe.net/FindPost5962.aspx</link><description>Yes , I did it.&lt;/P&gt;&lt;P&gt;A even shutdown visual studio and the computer, and rebuilt before and after that.</description><pubDate>Fri, 19 Jan 2007 13:16:44 GMT</pubDate><dc:creator>Hugo R. Figueroa</dc:creator></item><item><title>RE: Business Object in Web Application</title><link>http://forum.strataframe.net/FindPost5951.aspx</link><description>When you placed the business objects in another base page class, did you change the inherits of your web form to reference the new base page, or does it still reference the original ApplicationBasePage?&amp;nbsp; You'll need to change the inherits to subclass the new ApplicationBasePage and build the project before the type editor will work.</description><pubDate>Fri, 19 Jan 2007 09:29:31 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Business Object in Web Application</title><link>http://forum.strataframe.net/FindPost5943.aspx</link><description>The help says:&lt;/P&gt;&lt;H2&gt;Multiple ApplicationBasePage Classes&lt;/H2&gt;&lt;P&gt;As a whole, a StrataFrame ASP.NET application may use hundreds of different business objects, while each page needs 10 or less. Rather than requiring you to declare of the business objects for the entire application on the same ApplicationBasePage, you can create separate ApplicationBasePage classes. The webforms within the application can then inherit from the ApplicationBasePage that contains only the business objects it needs.&lt;/P&gt;&lt;P&gt;But if I put the business objects references in another ApplicatioBasePage I get the error mentioned at the beginning of this topic.</description><pubDate>Thu, 18 Jan 2007 19:36:19 GMT</pubDate><dc:creator>Hugo R. Figueroa</dc:creator></item><item><title>RE: Business Object in Web Application</title><link>http://forum.strataframe.net/FindPost5942.aspx</link><description>Thank you Guillermo &lt;/P&gt;&lt;P&gt;What I did wrong&amp;nbsp;was to create&amp;nbsp; a second applicationbasepage (applicationbasepage2) and add the reference there.&lt;/P&gt;&lt;P&gt;Now I put the reference in the original applicationbasepage and&amp;nbsp; I can fill in the bindingfield property.&lt;/P&gt;&lt;P&gt;But, if I have a lot of business objects I can't put all them there. &lt;/P&gt;&lt;P&gt;I have to reread the help because I am missing something.&lt;/P&gt;&lt;P&gt;PS: Do you play tennis?:D</description><pubDate>Thu, 18 Jan 2007 19:29:52 GMT</pubDate><dc:creator>Hugo R. Figueroa</dc:creator></item><item><title>RE: Business Object in Web Application</title><link>http://forum.strataframe.net/FindPost5941.aspx</link><description>yes, I did it.</description><pubDate>Thu, 18 Jan 2007 19:19:32 GMT</pubDate><dc:creator>Hugo R. Figueroa</dc:creator></item><item><title>RE: Business Object in Web Application</title><link>http://forum.strataframe.net/FindPost5939.aspx</link><description>Did you added a reference to the BusinnesObject in the ApplicationBasePage under the App_Code Folder?</description><pubDate>Thu, 18 Jan 2007 18:47:09 GMT</pubDate><dc:creator>Guillermo Vilas</dc:creator></item></channel></rss>