StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



DataSourceKey not definedExpand / Collapse
Author
Message
Posted 07/27/2006 10:15:48 AM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: 08/21/2008 11:49:01 AM
Posts: 303, Visits: 435
I have a BaseForm which a bunch of other forms inherit from.  On the base form, I am referencing a Help dll which in turn references a HelpDB BO that uses a HelpDB DataSourceKey.  I can build and view the Base form just fine, but when I go to open and view the inherited forms I get DataSourceKey [HelpDB] not defined. I've commented out all code that uses the Help reference, but still get the error.  When I remove the Help reference completely it goes away.  How am I still getting this error even when I don't have code that uses the reference?
Post #1961
Posted 07/27/2006 2:25:13 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 08/01/2008 8:53:41 AM
Posts: 2,671, Visits: 1,879
Even if you do not have any code that references a data source key, it might be that a shared property or shared method references the key.  Since the DataSources collection is stored in a shared variable, it exists in memory from the time that the application starts to the time that the application ends.  So, just by referencing the DLL, it could be trying to reference that key.


www.bungie.net
Post #1962
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 7:52pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.125. 10 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.