﻿<?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?)  » Wrong Database</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 09:38:07 GMT</lastBuildDate><ttl>20</ttl><item><title>Wrong Database</title><link>http://forum.strataframe.net/FindPost2401.aspx</link><description>There is the following command in my program.cs:&lt;/P&gt;&lt;P&gt;&lt;FONT color=#008080 size=2&gt;ConnectionManager&lt;/FONT&gt;&lt;FONT size=2&gt;.AddRequiredDataSourceItem(&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;""&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"SQL Connection"&lt;/FONT&gt;&lt;FONT size=2&gt;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#008080 size=2&gt;&lt;FONT color=#1f5080&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;DataSourceTypeOptions&lt;/FONT&gt;&lt;FONT size=2&gt;.SqlServer, &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"EKZ7"&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"This connection is used by EKZ7."&lt;/FONT&gt;&lt;FONT size=2&gt;);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;With the Debugger I could see that a SELECT command runs to the StrataFrame database and not to my EKZ7 database.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;What did I do wrong?&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Wed, 23 Aug 2006 13:09:16 GMT</pubDate><dc:creator>Gerhard Jaros</dc:creator></item><item><title>RE: Wrong Database</title><link>http://forum.strataframe.net/FindPost2403.aspx</link><description>Change your application key and re-run your application.&amp;nbsp; This will require your to re-connect to your database through the wizard.&amp;nbsp; You can find the application key several lines above the code you posted.&lt;FONT size=2&gt;&lt;P&gt;ConnectionManager.ApplicationKey = &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"ChangeThisValue";&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#800000 size=2&gt;&lt;FONT color=#4b6e9d&gt;Then run again and see if you have the same issue.&amp;nbsp; There could be something going on since you initially had&amp;nbsp;the StrataFrame settings pointing to the wrong location.&amp;nbsp; I don't think that this would cause the issue, but to remove any doubt, make this change and try again.&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Wed, 23 Aug 2006 13:09:16 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>