﻿<?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  » Error When Click on ViewSecurityKey....</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 23:30:02 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Error When Click on ViewSecurityKey....</title><link>http://forum.strataframe.net/FindPost19790.aspx</link><description>You cannot rely on the assembly version, but you have to verify the file version.&amp;nbsp; We have left the assembly version at 1.6.0.0 for the last 3 releases and only changed the file version because it reduced the amount of update bandwidth.&amp;nbsp; So you will need to first verify the assembly versions in the c:\program files\common files\microfour\strataframe folder and then if they are correct, remove the assemblies from the GAC and drag the assemblies from the Common Files folder into the GAC and then try again.&amp;nbsp; But if they are not 1.6.6 on the file version, then there is your answer.</description><pubDate>Fri, 26 Sep 2008 13:14:13 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>Error When Click on ViewSecurityKey....</title><link>http://forum.strataframe.net/FindPost4330.aspx</link><description>When I click on the ViewSecurityKey for a Form I get this error...&lt;P&gt;[img]http://www.starktruss.com/images/UploadPics/ViewSecurityKeyError.jpg[/img]&lt;/P&gt;&lt;P&gt;Any ideas why?&lt;P&gt;Thanks</description><pubDate>Fri, 26 Sep 2008 13:14:13 GMT</pubDate><dc:creator>StarkMike</dc:creator></item><item><title>RE: Error When Click on ViewSecurityKey....</title><link>http://forum.strataframe.net/FindPost19785.aspx</link><description>Hi Dustin,&lt;br&gt;
&lt;br&gt;
All the MicroFour dll's have a 1.6.6.0 version with the following 2 exceptions; MicroFour License Base.dll is version 1.6.0.0 and MicroFour License.dll is version 1.0.0.0.  I have 2 copies of all MicroFour dll's which are located (1 copy in each folder) in Program Files\Common Files\MicroFour\StrataFrame and Program Files\MicroFour\StataFrame\Assemblies&lt;br&gt;
&lt;br&gt;
In the GAC, I have the entries for the 2 dll's you mention, but the major difference in the GAC is that all MicroFour dll's are listed with a version of 1.6.0.0.  Also, I have 2 entries for the MicroFour License Base, each having a different Public Key Token.&lt;br&gt;
&lt;br&gt;
Other ideas?</description><pubDate>Fri, 26 Sep 2008 11:58:44 GMT</pubDate><dc:creator>Doug Zapp</dc:creator></item><item><title>RE: Error When Click on ViewSecurityKey....</title><link>http://forum.strataframe.net/FindPost19784.aspx</link><description>Hi Doug,&lt;/P&gt;&lt;P&gt;Also since you have been trying a lot of things, try re-installing the .NET 2.0 Framework.&amp;nbsp; I had a different weird issue a while back with the BOM, and it turned out to be something was corrupted with the .NET 2.0 framework.&lt;/P&gt;&lt;P&gt;It will not hurt you to re-install it. :cool:</description><pubDate>Fri, 26 Sep 2008 11:52:24 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Error When Click on ViewSecurityKey....</title><link>http://forum.strataframe.net/FindPost19777.aspx</link><description>I was able to mount that database, set it as my Database Connection in visual studio, and get into solution preferences without issue. So, assuming that this was the "broken" database and not the "clean" one, then it looks like the issue isn't the database, and instead is most likely an assembly issue. Make sure that your MicroFour StrataFrame AddIns.dll and MicroFour StrataFrame Extensibility.dll assemblies are present in the GAC and are hte proper version, and do a search on your machine to ensure there isn't a different version sitting out there that visual studio might be grabbing instead.</description><pubDate>Fri, 26 Sep 2008 10:53:58 GMT</pubDate><dc:creator>Dustin Taylor</dc:creator></item><item><title>RE: Error When Click on ViewSecurityKey....</title><link>http://forum.strataframe.net/FindPost19763.aspx</link><description>Take 2.</description><pubDate>Fri, 26 Sep 2008 09:25:11 GMT</pubDate><dc:creator>Doug Zapp</dc:creator></item><item><title>RE: Error When Click on ViewSecurityKey....</title><link>http://forum.strataframe.net/FindPost19760.aspx</link><description>Doug, you have to include the log file as well (ldf) in order for us to get this re-attached.&amp;nbsp; Thanks.</description><pubDate>Fri, 26 Sep 2008 09:06:21 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Error When Click on ViewSecurityKey....</title><link>http://forum.strataframe.net/FindPost19725.aspx</link><description>[quote]BTW, Cowboys over the Deadskins. [/quote]&lt;/P&gt;&lt;P&gt;That'll always win you some points with me :D</description><pubDate>Thu, 25 Sep 2008 14:01:14 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Error When Click on ViewSecurityKey....</title><link>http://forum.strataframe.net/FindPost19724.aspx</link><description>As requested, here you go.  Also attached is a screenshot of the GAC assembly.  &lt;br&gt;
&lt;br&gt;
I'm not trying to place any blame here.  I feel I'm following the instructions to a tee.  I'm just following the leads I pick on that I'd follow.&lt;br&gt;
&lt;br&gt;
BTW,  Cowboys over the Deadskins.</description><pubDate>Thu, 25 Sep 2008 13:52:23 GMT</pubDate><dc:creator>Doug Zapp</dc:creator></item><item><title>RE: Error When Click on ViewSecurityKey....</title><link>http://forum.strataframe.net/FindPost19717.aspx</link><description>Doug...I am very familiar with this code (I wrote it)....and I am also very confident as to what causes this error.&amp;nbsp; Instead of going back and forth, do as I mentioned in an earlier post...attach your strataframe.mdf file here, we will update it for you and then either tell you how to fix it on your side or send you the fixed mdf.&amp;nbsp; The &lt;STRONG&gt;&lt;EM&gt;&lt;U&gt;only&lt;/U&gt;&lt;/EM&gt;&lt;/STRONG&gt; other cause could be assemblies that are not up to date (which in this case it would be the addins or extensibility assemblies).&amp;nbsp; Make sure that you have only a single instance of them in the GAC and the latest.&amp;nbsp; But give us your database first and we will prove that the database is not the problem.&amp;nbsp; Thanks.</description><pubDate>Thu, 25 Sep 2008 13:25:28 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Error When Click on ViewSecurityKey....</title><link>http://forum.strataframe.net/FindPost19716.aspx</link><description>2 things Trent.  First, I tried what you stated and I'm still having the same issues; can't open the Solution Preferences and I can't set the ViewSecurityKey on a form.&lt;br&gt;
&lt;br&gt;
Second, and this goes back to my last post.  The error message I receive when I attempt to set the ViewSecurityKey for a form is explicitly stating that it is having a conversion issue when converting a text data type to an nvarchar.</description><pubDate>Thu, 25 Sep 2008 13:13:35 GMT</pubDate><dc:creator>Doug Zapp</dc:creator></item><item><title>RE: Error When Click on ViewSecurityKey....</title><link>http://forum.strataframe.net/FindPost19706.aspx</link><description>No, the DDT takes all of this into account.&amp;nbsp; When deploying to SQL Server 2000 it uses Text instead of VarChar(MAX)...and as for the queries...they work.&amp;nbsp; We have many shops still running SQL Server 2000...so this isn't the case here.</description><pubDate>Thu, 25 Sep 2008 11:21:38 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Error When Click on ViewSecurityKey....</title><link>http://forum.strataframe.net/FindPost19704.aspx</link><description>I should have noticed this before and mentioned it, but in some of the other topics, there was mention that there shouldn't be issues.  I'll try what you mentioned Trent, but I'd like to throw this into the equation as well.&lt;br&gt;
&lt;br&gt;
I do have a major difference in my databases; my local copy is MS SQL Server 2005, and my server is SQL Server 2000.  For the tables between the 2 instances, the data type varchar(MAX) is used in place of text.  In a regular Select statement this shouldn't matter.  But through code, if you are typing your data retrieval, it can possibly have an affect.</description><pubDate>Thu, 25 Sep 2008 11:11:13 GMT</pubDate><dc:creator>Doug Zapp</dc:creator></item><item><title>RE: Error When Click on ViewSecurityKey....</title><link>http://forum.strataframe.net/FindPost19689.aspx</link><description>That just confirms what I have been saying...I really don't know how else to put this so let me just give you a check list and let's start over.&amp;nbsp; Let's get back to groudn zero because this really shouldn't be so hard to fix:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Remove all of your current connection string information by deleting the AppKeys.dat and Connections.dat files located in the C:\ProgramData\MicroFour\ConnectionData folder (for Vista) this will appear under the Documents and Settings if you are still on XP&lt;/LI&gt;&lt;LI&gt;Close down VS&lt;/LI&gt;&lt;LI&gt;Mount the database to which you&amp;nbsp;want to update&lt;/LI&gt;&lt;LI&gt;Deploy the SF structures to that database through the install.&amp;nbsp; BE SURE TO PROVIDE A SQL USER THAT HAS FULL PERMISSIONS!&lt;/LI&gt;&lt;LI&gt;Now, go back into VS and you will be prompted for the database connection to the SF database&lt;/LI&gt;&lt;LI&gt;Set the connection&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;At this point you should be good to go...it is really that simple...I promise :D</description><pubDate>Thu, 25 Sep 2008 09:21:01 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Error When Click on ViewSecurityKey....</title><link>http://forum.strataframe.net/FindPost19688.aspx</link><description>Please ignore this last (duplicate) posting.  I didn't notice that the topic ran onto another page, and resent it.  Sorry.</description><pubDate>Thu, 25 Sep 2008 09:18:54 GMT</pubDate><dc:creator>Doug Zapp</dc:creator></item><item><title>RE: Error When Click on ViewSecurityKey....</title><link>http://forum.strataframe.net/FindPost19687.aspx</link><description>I've been playing around with this, and it appears that there is something stopping me from opening the Solution Preferences when my Database connection is pointing to my server connection.  &lt;br&gt;
&lt;br&gt;
I've been able to get it to open after removing all of StrataFrame, and re-installing the dB locally.  The questionable thing though, is that even after the install and not setting up security, there is an entry (my initial Security listing when I first installed) in the list of Security preferences in the Solution Preferences.  Something isn't getting cleaned up or allowing my new dB connection to be used.&lt;br&gt;
&lt;br&gt;
Any further ideas?</description><pubDate>Thu, 25 Sep 2008 09:14:00 GMT</pubDate><dc:creator>Doug Zapp</dc:creator></item><item><title>RE: Error When Click on ViewSecurityKey....</title><link>http://forum.strataframe.net/FindPost19674.aspx</link><description>The initial security project is from the samples that we distribute.&amp;nbsp; But it looks as simple as your server structures not being up to date.&amp;nbsp; All of the symptoms that you have described I have seen many times before...and everytime it ends up being the StrataFrame structures not beuing up to date (or people not connecting to a StrataFrame database...which generally produces other errors as well).&amp;nbsp; Please re-deploy the most recent version of the StrataFrame structures through the install to your server database again and let's see if they get updated.&amp;nbsp; Past that you are welcome to post the database in question here and we can attach it and run it on this side to see if we produce the same results...but I am very confident that your StrataFrame database structures are just not up to date.</description><pubDate>Wed, 24 Sep 2008 21:13:03 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Error When Click on ViewSecurityKey....</title><link>http://forum.strataframe.net/FindPost19667.aspx</link><description>I've been playing around with this, and it appears that there is something stopping me from opening the Solution Preferences when my Database connection is pointing to my server connection.  &lt;br&gt;
&lt;br&gt;
I've been able to get it to open after removing all of StrataFrame, and re-installing the dB locally.  The questionable thing though, is that even after the install and not setting up security, there is an entry (my initial Security listing when I first installed) in the list of Security preferences in the Solution Preferences.  Something isn't getting cleaned up or allowing my new dB connection to be used.&lt;br&gt;
&lt;br&gt;
Any further ideas?</description><pubDate>Wed, 24 Sep 2008 17:11:55 GMT</pubDate><dc:creator>Doug Zapp</dc:creator></item><item><title>RE: Error When Click on ViewSecurityKey....</title><link>http://forum.strataframe.net/FindPost19658.aspx</link><description>Let's just back up for a minute and get a clean SF database installed period...and then we can worry about data.&amp;nbsp; Backup and remove the StrataFrame database on your server altogether (key word is &lt;STRONG&gt;&lt;U&gt;&lt;EM&gt;backup&lt;/EM&gt;&lt;/U&gt;&lt;/STRONG&gt;).&amp;nbsp; Next, re-run the SF install and let the database be installed.&amp;nbsp; This should give you a clean install.&amp;nbsp; Let's do this first to see if we can get past your error.&amp;nbsp; Then we will go from there.</description><pubDate>Wed, 24 Sep 2008 09:18:09 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Error When Click on ViewSecurityKey....</title><link>http://forum.strataframe.net/FindPost19648.aspx</link><description>Run? :D&lt;/P&gt;&lt;P&gt;Well, with the info we have so far I can't think of anything else, but the other guys might do it.</description><pubDate>Tue, 23 Sep 2008 15:16:07 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Error When Click on ViewSecurityKey....</title><link>http://forum.strataframe.net/FindPost19644.aspx</link><description>Well, in trying to get this to work with the dB on the server, I toasted my local copy.  Other ideas?</description><pubDate>Tue, 23 Sep 2008 13:42:49 GMT</pubDate><dc:creator>Doug Zapp</dc:creator></item><item><title>RE: Error When Click on ViewSecurityKey....</title><link>http://forum.strataframe.net/FindPost19642.aspx</link><description>In the case you haven't done anything new after moving to the server, you could try&amp;nbsp;detaching the StrataFrame database from the old place, also detaching the StrataFrame database from the server, then copying from the old place onto the server, and ataching it back again.</description><pubDate>Tue, 23 Sep 2008 11:57:43 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Error When Click on ViewSecurityKey....</title><link>http://forum.strataframe.net/FindPost19641.aspx</link><description>This may be a miscommunication.  I'm not receiving the error message during runtime.  This is a simple message after I have selected the form in Visual Studio, go to its properties and go to the StrataFrame: Security grouping and select the ViewSecurityKey.  Is there specific stack trace you are after?</description><pubDate>Tue, 23 Sep 2008 11:08:22 GMT</pubDate><dc:creator>Doug Zapp</dc:creator></item><item><title>RE: Error When Click on ViewSecurityKey....</title><link>http://forum.strataframe.net/FindPost19637.aspx</link><description>I tend to lean towards Ivan response in regards to an issue with your SF database.&amp;nbsp; This is a bit strange :crazy:&lt;/P&gt;&lt;P&gt;Instead of just giving the error message, please provide the full stack trace so that we can have a better idea of what is going on.</description><pubDate>Tue, 23 Sep 2008 10:47:19 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Error When Click on ViewSecurityKey....</title><link>http://forum.strataframe.net/FindPost19634.aspx</link><description>This is set correctly to my database server, pointing to the StrataFrame dB.&lt;br&gt;
&lt;br&gt;
Any other thoughts?</description><pubDate>Tue, 23 Sep 2008 10:42:00 GMT</pubDate><dc:creator>Doug Zapp</dc:creator></item></channel></rss>