StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Wrong DatabaseExpand / Collapse
Author
Message
Posted 08/23/2006 1:02:13 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 11/02/2006 10:04:26 AM
Posts: 18, Visits: 22
There is the following command in my program.cs:

ConnectionManager.AddRequiredDataSourceItem("", "SQL Connection",

            DataSourceTypeOptions.SqlServer, "EKZ7", "This connection is used by EKZ7.");

 

With the Debugger I could see that a SELECT command runs to the StrataFrame database and not to my EKZ7 database.

What did I do wrong?

Post #2401
Posted 08/23/2006 1:09:16 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 10:49:29 PM
Posts: 4,379, Visits: 4,412
Change your application key and re-run your application.  This will require your to re-connect to your database through the wizard.  You can find the application key several lines above the code you posted.

ConnectionManager.ApplicationKey = "ChangeThisValue";

Then run again and see if you have the same issue.  There could be something going on since you initially had the StrataFrame settings pointing to the wrong location.  I don't think that this would cause the issue, but to remove any doubt, make this change and try again.

Post #2403
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 7:39pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.125. 10 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.