﻿<?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 » Issues  » Visual Studio crashing when mousing over BO in object tray</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Thu, 10 Sep 2026 03:16:10 GMT</lastBuildDate><ttl>20</ttl><item><title>Visual Studio crashing when mousing over BO in object tray</title><link>http://forum.strataframe.net/FindPost17267.aspx</link><description>I just tried this on a fresh VS 2008 project. I start a project using the Stataframe Windows Application (no security) template. Add a Strataframe Standard form. Add a Stataframe BO. I start the BO Mapper and point it at the database (SQL Server 2005 Express), just one table dbo.Lookups. Build the partial. Close BO Mapper. ReBuild the project, everything compiles fine. I can add the BO to the new form by dragging it from the toolbox. But... when I *mouse* over the the BO in the object tray I get a Visual Studio error without much information to glean anything from. (But I can send to Microsoft for their information.)&lt;br&gt;
&lt;br&gt;
I've attached the table that I'm getting this with. Any help would be great.&lt;br&gt;
&lt;br&gt;
Govinda&lt;br&gt;</description><pubDate>Tue, 24 Jun 2008 14:10:35 GMT</pubDate><dc:creator>Govinda Berrio</dc:creator></item><item><title>RE: Visual Studio crashing when mousing over BO in object tray</title><link>http://forum.strataframe.net/FindPost17300.aspx</link><description>If you place the column name in brackets it may have resolved your problem:&lt;/P&gt;&lt;P&gt;[codesnippet]Public Property [Locked] As String&lt;BR&gt;&amp;nbsp;&amp;nbsp; ...&lt;BR&gt;End Property[/codesnippet]&lt;/P&gt;&lt;P&gt;This is an escape for reserved words (including intrinsic ones).&amp;nbsp; You might try that to see if the problem goes away.&amp;nbsp; Just an idea :)&amp;nbsp;</description><pubDate>Tue, 24 Jun 2008 14:10:35 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Visual Studio crashing when mousing over BO in object tray</title><link>http://forum.strataframe.net/FindPost17295.aspx</link><description>OK! I figured something out. (Thanks to Trent ;))&lt;br&gt;
&lt;br&gt;
I just started renaming columns one-by-one and found that VS just doesn't like it when you name a column "Locked". As far as I know it's not a keyword in SQL Server 2005, maybe it's stepping on a BO class member, since the column name becomes a property of the BO. But why did rebuilding the partial fix it on your machine, Trent? (rhetorical)&lt;br&gt;
&lt;br&gt;
Anyway, I hope this thread helps someone else someday.&lt;br&gt;
&lt;br&gt;
Govinda&lt;br&gt;
&lt;br&gt;
&lt;br&gt;</description><pubDate>Tue, 24 Jun 2008 11:07:35 GMT</pubDate><dc:creator>Govinda Berrio</dc:creator></item><item><title>RE: Visual Studio crashing when mousing over BO in object tray</title><link>http://forum.strataframe.net/FindPost17293.aspx</link><description>Govinda,&lt;/P&gt;&lt;P&gt;I am not sure that you had as I did not see any strong-typed properties in the sample that you sent me.&amp;nbsp; I saw that you had everything structured, etc.&amp;nbsp; But I just mapped to the Customers table in the StrataFrameSample database and all was well.&amp;nbsp; One thing that I did not think if you did map, is what you mapped to.&amp;nbsp; Does your structure use any reserved words, have spaces, or anything funny like that?</description><pubDate>Tue, 24 Jun 2008 10:34:51 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Visual Studio crashing when mousing over BO in object tray</title><link>http://forum.strataframe.net/FindPost17292.aspx</link><description>Hi Govinda,&lt;P&gt;Yes there is a new beta version released yesterday at &lt;A href="http://forum.strataframe.net/FindPost17255.aspx"&gt;http://forum.strataframe.net/FindPost17255.aspx&lt;/A&gt;</description><pubDate>Tue, 24 Jun 2008 10:06:00 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Visual Studio crashing when mousing over BO in object tray</title><link>http://forum.strataframe.net/FindPost17291.aspx</link><description>I've done that several time at this point and it hasn't fixed the problem here. &lt;br&gt;
&lt;br&gt;
I'm running SF version 1.6.5.1. Is there another version I can try?</description><pubDate>Tue, 24 Jun 2008 09:56:23 GMT</pubDate><dc:creator>Govinda Berrio</dc:creator></item><item><title>RE: Visual Studio crashing when mousing over BO in object tray</title><link>http://forum.strataframe.net/FindPost17289.aspx</link><description>OK, I am not sure exactly why this was making VS die, but it failed on my side as well.&amp;nbsp; However, to fix the problem, all I had to do was go into the BO Mapper, map the BO, build the partial class, and then rebuild the solution.&amp;nbsp; Once I did this, all was well.</description><pubDate>Tue, 24 Jun 2008 09:47:32 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Visual Studio crashing when mousing over BO in object tray</title><link>http://forum.strataframe.net/FindPost17281.aspx</link><description>Thanks Trent, &lt;br&gt;
&lt;br&gt;
here's the VS solution....&lt;br&gt;
&lt;br&gt;
Also, this doesn't happen with any other BOs that I'm working with. And if I don't mouse over the BO everything else is working fine. So, lets say there is a problem with the Component or MarshalByRefComponent class, what's the fix for that?  Try reinstalling VS?&lt;br&gt;
&lt;br&gt;
Govinda&lt;br&gt;</description><pubDate>Tue, 24 Jun 2008 08:26:27 GMT</pubDate><dc:creator>Govinda Berrio</dc:creator></item><item><title>RE: Visual Studio crashing when mousing over BO in object tray</title><link>http://forum.strataframe.net/FindPost17269.aspx</link><description>Wow...that makes absolutely no sense whatsoever :crazy:&lt;/P&gt;&lt;P&gt;Mousing over a BO within a designer doesn't do anything, so this is really strange.&amp;nbsp; In fact, since a BO isn't a UI component and inherits from a Component within the component model, there are no UI events!&amp;nbsp; So even if we wanted to do something in the mouse over within the designer or run-time...we couldn't!&lt;/P&gt;&lt;P&gt;You are welcome to post the solution and I will see if the same results happen on this side...but I have a feeling that there is something going in within your VS environment in regards to any Component or MarshalByRefComponent class.</description><pubDate>Mon, 23 Jun 2008 22:31:02 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>