﻿<?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 » Issues  » Database Connection Wizard</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Fri, 22 May 2026 00:35:08 GMT</lastBuildDate><ttl>20</ttl><item><title>Database Connection Wizard</title><link>http://forum.strataframe.net/FindPost23351.aspx</link><description>We moved our developement databases from a server running sql 2005 to sql 2008.&amp;nbsp; When we try to setup a connection in the "Application Database Connections" from the StataFrame menu in vs, we select the new sql server but get a message "Invalid Server Connection&amp;nbsp;- Could not authenticate the SQL server." when we click "Next".&amp;nbsp; We tried both integrated security as well as sql security.&amp;nbsp; We're able to connect to the new sql server via SQL Server Management Studio from the same workstation using either Integrated or SQL Security.&amp;nbsp; On a slightly side note, the Database dropdown that specifies the "StataFrame" database is never enabled.</description><pubDate>Fri, 05 Jun 2009 08:55:18 GMT</pubDate><dc:creator>Chris Diesel</dc:creator></item><item><title>RE: Database Connection Wizard</title><link>http://forum.strataframe.net/FindPost23371.aspx</link><description>There are several places that a connection string can be specified...all accessible through the designers.  You can set the connection string in the data store (like you are aware).  Second place is to open the BO Mapper properties (configure).  There are connection strings that can be specified on a per project basis (DTEProjects).  The third place is on the BO itself, which would just entail right clicking the BO and going into properties.</description><pubDate>Fri, 05 Jun 2009 08:55:18 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Database Connection Wizard</title><link>http://forum.strataframe.net/FindPost23366.aspx</link><description>Yea, the 1.6.7 did the trick for SQL 2008.&amp;nbsp; One other issue though.&amp;nbsp; Once the Business Object Mapper (BOM)&amp;nbsp;is open, it seems to be using a connection string stored in a table DTEProjects.proj_connectionstring instead of the connection selected&amp;nbsp;in the&amp;nbsp;"Application Database Connections" dialog.&amp;nbsp; This was causing the BOM to point back to the other server when configuring a new BO.&amp;nbsp; Is there a better way of changing this besides editing the table.</description><pubDate>Fri, 05 Jun 2009 07:57:01 GMT</pubDate><dc:creator>Chris Diesel</dc:creator></item><item><title>RE: Database Connection Wizard</title><link>http://forum.strataframe.net/FindPost23364.aspx</link><description>Good point...are you running 1.6.7 beta?  If not then you will have to go there in order for this to work...in fact, I know that is what is happening at this point.  SQL Server 2008 is only supported in the 1.6.7 build.</description><pubDate>Thu, 04 Jun 2009 16:45:57 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Database Connection Wizard</title><link>http://forum.strataframe.net/FindPost23363.aspx</link><description>Hi Chris,&lt;br&gt;
&lt;br&gt;
I forget the details now but when we moved to SQL 2008 it wasn't supported out-of-the-box by SF and we had to change references to SQL 10 in the SF sources. Maybe this is the problem - are you running the latest version of SF?&lt;br&gt;
&lt;br&gt;
Cheers, Peter</description><pubDate>Thu, 04 Jun 2009 16:40:40 GMT</pubDate><dc:creator>Peter Jones</dc:creator></item><item><title>RE: Database Connection Wizard</title><link>http://forum.strataframe.net/FindPost23362.aspx</link><description>Try SQL authentication...it is always hard to tell if Windows Auth is setup properly.  Try logging in with SQL auth to see if you have better results.</description><pubDate>Thu, 04 Jun 2009 16:40:19 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Database Connection Wizard</title><link>http://forum.strataframe.net/FindPost23360.aspx</link><description>This is exactly where it's not authenticating.&amp;nbsp;&amp;nbsp;Attached message occurs when I click next.</description><pubDate>Thu, 04 Jun 2009 15:17:08 GMT</pubDate><dc:creator>Chris Diesel</dc:creator></item><item><title>RE: Database Connection Wizard</title><link>http://forum.strataframe.net/FindPost23359.aspx</link><description>When you go into the Database Connections and select the SF Data Store, click the Edit button and go through the wizard.&amp;nbsp; Does it authenticate?&amp;nbsp; This is the connection that is used.&amp;nbsp; So you if you can authenticate here, then all other SF pieces should be able to authenticate.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/cf379520-0571-42fd-8907-b909.png"&gt;</description><pubDate>Thu, 04 Jun 2009 15:05:54 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Database Connection Wizard</title><link>http://forum.strataframe.net/FindPost23358.aspx</link><description>I guess I wasn't clear.&amp;nbsp;:)&amp;nbsp; I can access the sql 2008 database from any computer via&amp;nbsp;sql server management studio or our application using a connection string just fine (integrated or sql security).&amp;nbsp; When I try to&amp;nbsp;setup a new database connection from&amp;nbsp;either dev machine&amp;nbsp;is when&amp;nbsp;we get that message.&amp;nbsp; :(&amp;nbsp; There has to be something different going on somewhere.&amp;nbsp; No doubt something I screwed up. :w00t:&amp;nbsp; Is there anyway to tell what&amp;nbsp;connection string is being used from the connection wizard?</description><pubDate>Thu, 04 Jun 2009 15:02:44 GMT</pubDate><dc:creator>Chris Diesel</dc:creator></item><item><title>RE: Database Connection Wizard</title><link>http://forum.strataframe.net/FindPost23357.aspx</link><description>Connecting is pretty straight forward.  It uses a standard DbConnection (SqlConnection) using a standard connection string.  So if you are having connectivity issues, double-check your connection string.  Next, make sure that you can access the database from a machine OTHER than the machine on which it resides through SQL Server Management Studio or something along those lines.  If you can connect in that regard, then the BO Mapper, DDT, etc. all connect the same way.</description><pubDate>Thu, 04 Jun 2009 14:31:37 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Database Connection Wizard</title><link>http://forum.strataframe.net/FindPost23355.aspx</link><description>Double checked,&amp;nbsp;this is how we have it set.&amp;nbsp; When we moved the application database over, we didn't have any problems (app runs fine pointing to 2008 using a connection string).&amp;nbsp; It's just when I tried to use the Database Connection Wizard and the Business Object Mapper.</description><pubDate>Thu, 04 Jun 2009 14:23:13 GMT</pubDate><dc:creator>Chris Diesel</dc:creator></item><item><title>RE: Database Connection Wizard</title><link>http://forum.strataframe.net/FindPost23352.aspx</link><description>This will be on your SQL Server configuration side of things.&amp;nbsp; Make sure that you turn on TCP/IP services and support for each of the IPs (NICS) that provide access to the server.&amp;nbsp; I am willing to bet this is the step that you might have missed.&amp;nbsp; Once you can connect via TCP/IP then I am willing to be you can connect.&lt;/P&gt;&lt;P&gt;At any rate, this is a legitimate message coming from SQL Server, but my first guess to the issue you are fighting is as mentioned above.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/d0e8122f-3b67-45a7-bd3d-a77b.png"&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/a0ba2fbd-0392-48cc-9466-e206.png"&gt;</description><pubDate>Thu, 04 Jun 2009 13:18:30 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>