StrataFrame Forum

Solution Preferences screen will not show up

http://forum.strataframe.net/Topic2567.aspx

By Tim Dol - 8/30/2006

I am trying to setup a test localization project and when I click on 'Solution Preferences' nothing happens.

When I try to set the localization key on a control, I receive a message indicating the solution preferences must be setup. I click on 'Yes' to setup the solution preferences and receive a visual studio error 'An error occured while refreshing data from field 'DTEPreferencesBO.pref_prj_pk' to property 'selected value' on control cbomessages.

Any sugestions on how to solve this problem?

By StrataFrame Team - 8/30/2006

Was the error message that you received a red application error window, or was it just a message box?  I'm wondering if there is more information beyond that outer exception.   That exception will always contain the inner exception that lists more detail as to why the binding configuration failed.
By Tim Dol - 8/31/2006

I have emailed you screen shots of the error.
By Trent L. Taylor - 8/31/2006

Tim,

I am in the office today.  Would you send that to me as well?  In fact, if you could just post it as an attachment here on the forum, that would be great.  Thanks!

By Flavelle Ballem - 9/17/2006

Can someone let me know if this issue was solved - I have exactly the same problem. If I try to select Solution Preferences, nothing happens! I'm using it from within Visual Studio, with an open project.

thanks,

Flavelle

By Trent L. Taylor - 9/18/2006

There has never been an "issue" on this topic.  It has to do with an improperly setup database connection.  Make sure that your Database Connection for StrataFrame is pointing to the StrataFrame database.

In future releases you will not be able to change the database name of the StrataFrame Data Store connection which will prevent this particular problem from happening.

By Jim Schepflin - 9/22/2006

Ok, I seem to be missing something with this -



From the prior posts, it seems (and please correct me if I'm wrong!) that I need to have a Database connection



Name must be: "StrataFrame Data Store"

Sql Connection Database must be "StrataFrame"



Still failing for me.



Also tried creating a new name of "StrataFrame", and connecting to that - same error



Also tried using the "StrataFrame Sample Data Store", still raises same error



Tried deleting existing, and adding a new one (not changing any of the default) - Only change made is from localhost to my named instance



still getting:

---------------------------

Microsoft Visual Studio

---------------------------

An error occurred while refreshing the data from field 'DTEPreferencesBO.pref_prj_pk' to property 'SelectedValue' on control 'cboMessages.'

---------------------------

OK

---------------------------





This happens only when click on the ellipsis of the LocalizationKey property of the form, if select "Solution Preferences" from the menu nothing happens



So what do I need to set to get this to go? I'm confused (seems normal to me at this point)
By Trent L. Taylor - 9/23/2006

Jim,

Sorry for the delayed response.  It was a hard push to get 1.5 out the door and we did not get to all of the questions yesterday. 

The problem that you are having in your StrataFrame connection.  The Framework, Database Deployment Toolkit, and Messaging and Localization all use the same database and connection string.  The frameworks database is named StrataFrame.  In 1.5 we prevent the developer from being to change this value so it should help resolve some issues.  To verify your connection, do the following:

  1. Open Visual Studio
  2. Click StrataFrame -> Database Connection
  3. Select the "StrataFrame Data Store" or whatever it may be named now (the name of the connection does not matter)
  4. Click "Edit"
  5. Once the Wizard appears click Next >
  6. Make sure that the server is pointing to the server that houses the StrataFrame database
  7. Make sure that the Database is set to StrataFrame
  8. Click Next >
  9. Click Finish

This should get your connection working.  If you are still receiving the error, then your database must not be updated properly.  To resolve this, just download 1.5 and install the new release.  This will update the data structures.

By Alex M. Lana - 9/14/2007

Greetings, I had the same problem and solved it this way:
  1. Installed a Named Instance of SQL Express 2005
  2. Installed the StrataFrame databases onto it.
  3. Changed the Database Connections of StrataFrame design-time to point to the new SQL 2005 instance.
  4. Now the Solutions Preferences is working on every licensed machine,and we're able to setup the projetc's localization, security, etc...

The solutions databases still reside on our main SQL Server 2000 instance. As I've tracked, maybe it's an issue related to data type trying to be casted or converted by the "Solutions Preferences" core.

Best regards to all.

Alex Lana

By Trent L. Taylor - 9/14/2007

Just FYI, there is no need to cross post.  We monitor all forums.  Thanks. Smile

http://forum.strataframe.net/FindPost11481.aspx