﻿<?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  » Exception when creating new 'project'</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 12:30:11 GMT</lastBuildDate><ttl>20</ttl><item><title>Exception when creating new 'project'</title><link>http://forum.strataframe.net/FindPost3716.aspx</link><description>I get this after clicking 'ok' when creating a new "security project".   I think the issue is that I gave it a "security key" that was too long.  What should we be putting in there anyway?&lt;br&gt;
&lt;br&gt;
[code]&lt;br&gt;
[b]DataLayerSavingException[/b]&lt;br&gt;
String or binary data would be truncated.&lt;br&gt;
The statement has been terminated.&lt;br&gt;
SqlException&lt;br&gt;
String or binary data would be truncated.&lt;br&gt;
The statement has been terminated.&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.ControlNativeWindow.OnMessage(Message&amp; m)&lt;br&gt;
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp; m)&lt;br&gt;
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;br&gt;
[/code]</description><pubDate>Fri, 20 Oct 2006 14:37:52 GMT</pubDate><dc:creator>Andrew Backer</dc:creator></item><item><title>RE: Exception when creating new 'project'</title><link>http://forum.strataframe.net/FindPost3727.aspx</link><description>Just to add to my previous post...this error has been fixed for the upcoming 1.5.1 release.&amp;nbsp; Bottom line is that we prevent more than 30 characters from being entered.</description><pubDate>Fri, 20 Oct 2006 14:37:52 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Exception when creating new 'project'</title><link>http://forum.strataframe.net/FindPost3726.aspx</link><description>This is basically a seed that will be used for encrypting your security information.&amp;nbsp; You can get an overall description through the documentation under the following location in the Contents:&lt;P&gt;Defining Security within the Application -&amp;gt; Programmactic Access -&amp;gt; Required Appmain.vb (program.cs) Code -&amp;gt; Specifying the Encryption Key for User Data&lt;P&gt;As for the error, I will fix the field to prevent too long a field from being entered.&amp;nbsp; The maximum length is 30.</description><pubDate>Fri, 20 Oct 2006 14:31:53 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>