﻿<?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 » Business Objects and Data Access (How do I?)  » Database Connection Wizard Problem</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 14 Sep 2026 18:54:34 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Database Connection Wizard Problem</title><link>http://forum.strataframe.net/FindPost8775.aspx</link><description>Thanks for clarifying that. I have been setting connections in code and that works fine. For some reason I got the notion that the dialog might be there for a more general purpose but I understand now that it is not.</description><pubDate>Mon, 14 May 2007 13:46:32 GMT</pubDate><dc:creator>Daniel Essin</dc:creator></item><item><title>Database Connection Wizard Problem</title><link>http://forum.strataframe.net/FindPost3183.aspx</link><description>Hi Folks&lt;/P&gt;&lt;P&gt;I am an sysadmin on my laptop to my SQL2005 default instance but when I try to use the Database Connection Wizard, the Database droplist is disabled and only shows Strataframe as the database. I also tried this with the SA account without success.&amp;nbsp; How can I get this list enabled?&lt;/P&gt;&lt;P&gt;Clay</description><pubDate>Mon, 14 May 2007 13:46:32 GMT</pubDate><dc:creator>Clayton Hoyt</dc:creator></item><item><title>RE: Database Connection Wizard Problem</title><link>http://forum.strataframe.net/FindPost8773.aspx</link><description>The menu item in Visual Studio is STRICTLY for setting a connection the StrataFrame database and is used to house BO Mappings, Role-Based Security projects, DDT projects, etc.&amp;nbsp; The connection for your application will be defined in the AppMain.vb or program.cs file in the SetDatabases() method.&amp;nbsp; I recommend looking at the docs on this and even look at the samples as they all use the Connection String Manager and call SetConnections().&amp;nbsp; If you are going to setup the connection string yourself, then look in the docs for the DataSources collection and manually specify the connection yourself.</description><pubDate>Mon, 14 May 2007 13:14:24 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Database Connection Wizard Problem</title><link>http://forum.strataframe.net/FindPost8771.aspx</link><description>I thought that might be the answer. If I'm handling the connections in the startup code, I'm not clear then about when I would want to use the Database Connection menu item or for what.&lt;br&gt;
&lt;br&gt;
Thanks</description><pubDate>Mon, 14 May 2007 13:01:03 GMT</pubDate><dc:creator>Daniel Essin</dc:creator></item><item><title>RE: Database Connection Wizard Problem</title><link>http://forum.strataframe.net/FindPost8764.aspx</link><description>The reason this is grayed out through the Visual Studio environment is to avoid the question you would ask next if you changed this value to something other than StrataFrame.&amp;nbsp; StrataFrame uses the Connection String Wizard as well and if you change this to YOUR database then it would not work.&amp;nbsp; This is the connection to the StrataFrame database which is used through the framework....NOT your connection to your application at run-time.&amp;nbsp; Your connection string should be assigned in the AppMain.vb or program.cs file in teh SetDatabases method.</description><pubDate>Mon, 14 May 2007 09:03:39 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Database Connection Wizard Problem</title><link>http://forum.strataframe.net/FindPost8754.aspx</link><description>Followup question:&lt;br&gt;
&lt;br&gt;
If I use the Database Connection menu item in VS and choose new, the database dropdown is still grayed out and unavailable. I understand how to do it in code.&lt;br&gt;
&lt;br&gt;
Under what circumstances would you use the Database Connection dialog to add a database and is the database list ever enabled when you are in design mode in VS?&lt;br&gt;
&lt;br&gt;
Thank you</description><pubDate>Sun, 13 May 2007 16:18:28 GMT</pubDate><dc:creator>Daniel Essin</dc:creator></item><item><title>RE: Database Connection Wizard Problem</title><link>http://forum.strataframe.net/FindPost3186.aspx</link><description>You can't.&amp;nbsp; The data source connection you are trying to change is the StrataFrame Data Store connection.&amp;nbsp; We prevent this from being changed because this is that StrataFarme connection, not the connection associated with your application.&amp;nbsp; You specify the connection for your appliction the the SetDataSources method in a WinForm app or you can just manually specify the connection:&lt;/P&gt;&lt;P&gt;MicroFour.StrataFrame.Data.Databasics.DataSources.Add(New SqlDbDataSourceItem("","YourConnectionString"))&lt;/P&gt;&lt;P&gt;If you use the connection wizard, you will use the AddrequiredDataSourceItem and the SetConnections in the SetDataSources method of the AppMain.vb or program.cs file.</description><pubDate>Thu, 28 Sep 2006 16:07:59 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>