﻿<?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 Database Deployment Toolkit / Issues  / Error when saving Profile / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Thu, 08 Jan 2009 13:25:49 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Error when saving Profile</title><link>http://forum.strataframe.net/Topic2713-13-1.aspx</link><description>No, your application only has one connection.  Rather, there is a design-time connection that is used by the Visual Studio AddIn (BOMapper), the DDT, and the Messaging Editor to communicate with the StrataFrame database.  The StrataFrame database is where the StrataFrame stores all of the design-time information (meta-data, BOMapper config, messages &amp;amp; localization values, etc).  To change the design-time connection, you go through the Database Connection option under the StrataFrame menu in Visual Studio.  To change your program's connection (runtime), you change it within the SetDataSources() method in the AppMain.vb or Program.cs file.</description><pubDate>Tue, 12 Sep 2006 08:08:24 GMT</pubDate><dc:creator>Ben Chase</dc:creator></item><item><title>RE: Error when saving Profile</title><link>http://forum.strataframe.net/Topic2713-13-1.aspx</link><description>Ben:&lt;/P&gt;&lt;P&gt;Must be my confusion. I gather that I am dealing with two connections - a StrataFrame connection and a connection that my application requires to access the 'real' data.&lt;/P&gt;&lt;P&gt;Over time, I will get there, but clearly some patience is required.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Flavelle</description><pubDate>Mon, 11 Sep 2006 18:33:37 GMT</pubDate><dc:creator>Flavelle Ballem</dc:creator></item><item><title>RE: Error when saving Profile</title><link>http://forum.strataframe.net/Topic2713-13-1.aspx</link><description>Howdy, Flavelle,&lt;/P&gt;&lt;P&gt;Looks like your StrataFrame design-time data source (connection string) has been changed to something else.  &lt;/P&gt;&lt;P&gt;You can change the connection string through the "Database Connection" option under the StrataFrame menu within Visual Studio.  Changing the database connection within this option does not change the database connection for your application, but for the SF design-time components.</description><pubDate>Mon, 11 Sep 2006 08:11:42 GMT</pubDate><dc:creator>Ben Chase</dc:creator></item><item><title>Error when saving Profile</title><link>http://forum.strataframe.net/Topic2713-13-1.aspx</link><description>BusinessLayerException&lt;BR&gt; An error occurred while saving an the data to the server.&lt;BR&gt;BusinessLayerException&lt;BR&gt; An error occurred while saving the data to the server.&lt;BR&gt;SqlException&lt;BR&gt; Invalid object name 'dbefilegroups'.&lt;/P&gt;&lt;P&gt;Source     : MicroFour StrataFrame Business&lt;/P&gt;&lt;P&gt;Stack Trace: &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.ExecuteScalar()&lt;BR&gt;   at MicroFour.StrataFrame.Data.DbDataSourceItem.ExecuteScalar(DbCommand Command)&lt;BR&gt;   at MicroFour.StrataFrame.Business.BusinessLayer.ExecuteScalar(DbCommand CommandToExecute)&lt;BR&gt;   at MicroFour.StrataFrame.Business.DBEFileGroupsBO.GetFileGroupsCount(String FileGroupName, Int32 DatabasePK)&lt;BR&gt;   at MicroFour.StrataFrame.Business.DBEFileGroupsBO.DBEFileGroupsBO_CheckRulesOnCurrentRow(CheckRulesEventArgs e)&lt;BR&gt;   at MicroFour.StrataFrame.Business.BusinessLayer.raise_CheckRulesOnCurrentRow(CheckRulesEventArgs e)&lt;BR&gt;   at MicroFour.StrataFrame.Business.BusinessLayer.OnCheckRulesOnCurrentRow(CheckRulesEventArgs e)&lt;BR&gt;   at MicroFour.StrataFrame.Business.BusinessLayer.CheckRules(Boolean RaiseCheckedEvent)&lt;BR&gt;   at MicroFour.StrataFrame.Business.BusinessLayer.Save(Boolean Transactional, String TransactionKey)&lt;BR&gt;   at MicroFour.StrataFrame.Data.DataLayer.SaveByForm(DataTable TableToSave, Boolean Transactional, String TransactionKey)&lt;BR&gt;   at MicroFour.StrataFrame.Business.BusinessLayer.SaveByForm(Boolean Transactional, String TransactionKey)&lt;BR&gt;   at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.Save(Boolean Transactional, String TransactionKey)&lt;BR&gt;   at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.Save()&lt;BR&gt;   at MicroFour.StrataFrame.Data.DatabaseProperties.cmdSave_Click(Object sender, EventArgs e)&lt;BR&gt;   at System.Windows.Forms.Control.OnClick(EventArgs e)&lt;BR&gt;   at System.Windows.Forms.Button.OnClick(EventArgs e)&lt;BR&gt;   at System.Windows.Forms.Button.WndProc(Message&amp;amp; m)&lt;BR&gt;   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp;amp; m)&lt;BR&gt;   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp;amp; m)&lt;BR&gt;   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;BR&gt;</description><pubDate>Sat, 09 Sep 2006 16:28:25 GMT</pubDate><dc:creator>Flavelle Ballem</dc:creator></item></channel></rss>