﻿<?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 » Role Based Security  » How do I add Security Records to Application?</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 08 Jun 2026 21:29:22 GMT</lastBuildDate><ttl>20</ttl><item><title>How do I add Security Records to Application?</title><link>http://forum.strataframe.net/FindPost10422.aspx</link><description>I added the Security Tables to my SQL Database using DDT and menu "Profile", "Add Security Tables".&lt;br&gt;
&lt;br&gt;
Then I started the "Role Based Security Editor", created a new connection to my SQL Database. But then when I try to add a security project I get the following error: (SFSProjects is not in my SQL Database as it was not added by DDT!)&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
DataLayerSavingException&lt;br&gt;
  Invalid object name 'dbo.SFSProjects'.&lt;br&gt;
SqlException&lt;br&gt;
  Invalid object name 'dbo.SFSProjects'.&lt;br&gt;
&lt;br&gt;
Source     : MicroFour StrataFrame Business&lt;br&gt;
&lt;br&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.ExecuteReader(CommandBehavior behavior, String method)&lt;br&gt;
   at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)&lt;br&gt;
   at System.Data.Common.DbCommand.ExecuteReader()&lt;br&gt;
   at MicroFour.StrataFrame.Data.DbDataSourceItem.InternalExecuteReader(DbCommand Command, Boolean IsTransactional, String TransactionKey)&lt;br&gt;
   at MicroFour.StrataFrame.Data.SqlDataSourceItem.UpdateRow(QueryInformation QueryInfo, DataRow RowToUpdate, ConcurrencyExceptionHandler ConcurrencyHandler, AddRowErrorHandler RowErrorHandler, Boolean RecreateCommand)&lt;br&gt;
   at MicroFour.StrataFrame.Data.DbDataSourceItem.UpdateRow(QueryInformation QueryInfo, DataRow RowToUpdate, ConcurrencyExceptionHandler ConcurrencyHandler, AddRowErrorHandler RowErrorHandler)&lt;br&gt;
   at MicroFour.StrataFrame.Data.DataLayer.UpdateDataTableThread(Object ThreadParams)&lt;br&gt;
   at MicroFour.StrataFrame.Business.BusinessLayer.Save(Boolean Transactional, String TransactionKey)&lt;br&gt;
   at MicroFour.StrataFrame.Business.BusinessLayer.Save()&lt;br&gt;
   at MicroFour.StrataFrame.Security.ProjectDialog.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.OnMouseUp(MouseEventArgs mevent)&lt;br&gt;
   at System.Windows.Forms.Control.WmMouseUp(Message&amp; m, MouseButtons button, Int32 clicks)&lt;br&gt;
   at System.Windows.Forms.Control.WndProc(Message&amp; m)&lt;br&gt;
   at System.Windows.Forms.ButtonBase.WndProc(Message&amp; m)&lt;br&gt;
   at System.Windows.Forms.Button.WndProc(Message&amp; m)&lt;br&gt;
   at System.Windows.Forms.Control.ControlNative&amp;#119;indow.OnMessage(Message&amp; m)&lt;br&gt;
   at System.Windows.Forms.Control.ControlNative&amp;#119;indow.WndProc(Message&amp; m)&lt;br&gt;
   at System.Windows.Forms.Native&amp;#119;indow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;br&gt;</description><pubDate>Wed, 18 Jul 2007 17:12:54 GMT</pubDate><dc:creator>Jerry J Jansen</dc:creator></item><item><title>RE: How do I add Security Records to Application?</title><link>http://forum.strataframe.net/FindPost10433.aspx</link><description>The easiest way is to use the Database Deployment Toolkit to do it for you.&amp;nbsp; Use the Deployment Package Wizard and it will let you select the Security project, import the structures, create the Deployment Data entries and all you have to do is deploy the package....makes like MUCH easier!&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/10ee6989-8c32-447c-a941-776d.png"&gt;</description><pubDate>Wed, 18 Jul 2007 17:12:54 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: How do I add Security Records to Application?</title><link>http://forum.strataframe.net/FindPost10427.aspx</link><description>Ok, then how do I get the security data into my application?</description><pubDate>Wed, 18 Jul 2007 14:37:31 GMT</pubDate><dc:creator>Jerry J Jansen</dc:creator></item><item><title>RE: How do I add Security Records to Application?</title><link>http://forum.strataframe.net/FindPost10423.aspx</link><description>You should not have created a new connection when going into the RBS editor.&amp;nbsp; This connection uses the same StrataFrame database as the BO Mapper, Localization, DDT, etc.&amp;nbsp; When you deploy your databases for your application, the SFSProjects DOES NOT get included and should not be deployed.&amp;nbsp; This is for design-time purposes only.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Change your connection back to the server that has the StrataFrame database in it....and the SFSProjects table :)...before you try to go into Role Based Security Editor.</description><pubDate>Wed, 18 Jul 2007 14:30:12 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>