﻿<?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  » Designer Error "Could not find stored procedure 'stp_boSYC'"</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 29 Apr 2026 20:39:29 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Designer Error "Could not find stored procedure 'stp_boSYC'"</title><link>http://forum.strataframe.net/FindPost16852.aspx</link><description>Great!&amp;nbsp; Glad you found a solution. :)</description><pubDate>Wed, 04 Jun 2008 20:34:27 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>Designer Error "Could not find stored procedure 'stp_boSYC'"</title><link>http://forum.strataframe.net/FindPost16785.aspx</link><description>G'day&lt;P&gt;I have a problem when I open forms in the Designer, it gives me the error "Could not find stored procedure 'stp_SYC'". This started with one form and now it occurs on each form I try to open. I haven't made any big changes in the solution or the environement recently. The form I originally had problems with&amp;nbsp;contains 17 BOs each based on our BOMaintBase, and there is an instance of this error (and call stack) for each of these BOs.&lt;/P&gt;&lt;P&gt;[codesnippet]&lt;BR&gt;at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)&lt;BR&gt;at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)&lt;BR&gt;at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)&lt;BR&gt;at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)&lt;BR&gt;at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()&lt;BR&gt;at System.Data.SqlClient.SqlDataReader.get_MetaData()&lt;BR&gt;at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)&lt;BR&gt;at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)&lt;BR&gt;at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)&lt;BR&gt;at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)&lt;BR&gt;at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)&lt;BR&gt;at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)&lt;BR&gt;at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)&lt;BR&gt;at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)&lt;BR&gt;at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)&lt;BR&gt;at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)&lt;BR&gt;at MicroFour.StrataFrame.Data.DbDataSourceItem.GetDataTable(DbCommand Command, OnChangeEventHandler CallBack)&lt;BR&gt;at MicroFour.StrataFrame.Data.SqlDataSourceItem.GetDataTable(DbCommand Command, OnChangeEventHandler CallBack)&lt;BR&gt;at MicroFour.StrataFrame.Data.DbDataSourceItem.ExecuteStoredProcedure(String SprocName, DbCommandExecutionType ExecutionType, DbParameter[] Parameters)&lt;BR&gt;at MicroFour.StrataFrame.Business.BusinessLayer.FillByStoredProcedure(String ProcedureName, DbParameter[] Parameters)&lt;BR&gt;at UtilRunTimeEnvironment.boSYCforRunTimeEnv.FillBO() in C:\Users\peterd\VS2005 Workspace\TMS Redevelopment\TMS\UtilRunTimeEnvironment\boSYCForRunTimeEnv.vb:line 84&lt;BR&gt;at UtilRunTimeEnvironment.boSYCforRunTimeEnv.AddHandlers() in C:\Users\peterd\VS2005 Workspace\TMS Redevelopment\TMS\UtilRunTimeEnvironment\boSYCForRunTimeEnv.vb:line 74&lt;BR&gt;at UtilRunTimeEnvironment.boSYCforRunTimeEnv..ctor() in C:\Users\peterd\VS2005 Workspace\TMS Redevelopment\TMS\UtilRunTimeEnvironment\boSYCForRunTimeEnv.vb:line 31&lt;BR&gt;at UtilRunTimeEnvironment.clsRunTimeEnv.Initialise() in C:\Users\peterd\VS2005 Workspace\TMS Redevelopment\TMS\UtilRunTimeEnvironment\clsRunTimeEnv.vb:line 127&lt;BR&gt;at UtilRunTimeEnvironment.clsRunTimeEnv.get_RetriesBeforeDALLogsError() in C:\Users\peterd\VS2005 Workspace\TMS Redevelopment\TMS\UtilRunTimeEnvironment\clsRunTimeEnv.vb:line 682&lt;BR&gt;at UtilBOBase.boTMSMaintBase.InitialiseRetrySettings() in C:\Users\peterd\VS2005 Workspace\TMS Redevelopment\TMS\UtilBOBase\boTMSMaintBase.vb:line 60&lt;BR&gt;at UtilBOBase.boTMSMaintBase..ctor() in C:\Users\peterd\VS2005 Workspace\TMS Redevelopment\TMS\UtilBOBase\boTMSMaintBase.vb:line 45&lt;BR&gt;at BOProcStation.boGRS..ctor() in C:\Users\peterd\VS2005 Workspace\TMS Redevelopment\TMS\BOProcStation\boGRS.vb:line 20 [/codesnippet]&lt;/P&gt;&lt;P&gt;The BOMaintBase references a standard strataframe BO, boRTE, that provides default runtime values for things like number of retries etc. boRTE has as its UpdateStoredProcedureName, 'stp_boSYC'. I've checked, and stp_boSYC exists in the Database I'm using. &lt;P&gt;My colleague is using the same code and the same database and is not having this problem, and in fact he can change the UpdateStoredProcedureName to 'stp_PMJ' (which doesn't exist anywhere) and still doesn't have a problem. If I make the same change I get the same error as before but with the stored procedure name changed.&lt;P&gt;There is an "Ignore and Continue" link on the designer page, and if I use this the designer looks to be completely functional.&lt;P&gt;We're using VSTS 2008 and SQL Server 2005.&lt;P&gt;Anyone have any ideas on this?&lt;P&gt;Peter</description><pubDate>Wed, 04 Jun 2008 20:34:27 GMT</pubDate><dc:creator>Peter Denton</dc:creator></item><item><title>RE: Designer Error "Could not find stored procedure 'stp_boSYC'"</title><link>http://forum.strataframe.net/FindPost16851.aspx</link><description>Thanks Trent,&lt;/P&gt;&lt;P&gt;Thanks to your suggestion I found the problem and got around it. The If Not Me.DesignMode Then test didn't actually fix the problem which was in the constructors for our BO base, but I found other means of achieving my objective.&lt;/P&gt;&lt;P&gt;Peter</description><pubDate>Wed, 04 Jun 2008 20:22:17 GMT</pubDate><dc:creator>Peter Denton</dc:creator></item><item><title>RE: Designer Error "Could not find stored procedure 'stp_boSYC'"</title><link>http://forum.strataframe.net/FindPost16799.aspx</link><description>Yeah...you have some code someplace within your code (i.e. a constructor, OnCreateControl) that is attempting to populate the BO which should not be executed at design-time.&amp;nbsp; This is a common error when developers create a user control and drop it on a form or another user control and then try to open the designer.&amp;nbsp; The constructor gets fired in this scenario.&amp;nbsp; Just test if you are in design mode and it will resolve the error:&lt;/P&gt;&lt;P&gt;[codesnippet]If Not Me.DesignMode Then&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyBo.FillMeWithSomething()&lt;BR&gt;End If[/codesnippet]</description><pubDate>Tue, 03 Jun 2008 09:36:48 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>