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



DataSourceKey is not defined.Expand / Collapse
Author
Message
Posted 11/17/2006 5:19:21 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 11/19/2007 4:06:18 AM
Posts: 41, Visits: 99
Hi, I have mapped a simple table with a BO but when i try to access the data i get the following error.

The DataSourceKey [] is not defined.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: MicroFour.StrataFrame.Data.DataLayerException: The DataSourceKey [] is not defined.

Source Error:

Line 80:                 strWhere = " and CatalogId = '" + SearchString + "%'"Line 81:         End SelectLine 82:         Me.FillDataTable(strSQL) ' + strWhere)Line 83:         Return Me.GetDataTable(strSQL) ' + strWhere)Line 84:     End Function

Post #4623
Posted 11/17/2006 5:27:13 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 11/19/2007 4:06:18 AM
Posts: 41, Visits: 99
sorry, my stupid mistake. i found the issue and its fine now. Thanks anyways.
Post #4624
Posted 11/17/2006 5:40:08 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 6:26:12 PM
Posts: 4,901, Visits: 4,887
Glad you got it going
Post #4625
« 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:55pm

Powered by InstantForum.NET v4.1.4 © 2009
Execution: 0.062. 9 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.