Database Connection Wizard


Author
Message
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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.
Chris Diesel
Chris Diesel
StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)
Group: StrataFrame Users
Posts: 74, Visits: 300
Yea, the 1.6.7 did the trick for SQL 2008.  One other issue though.  Once the Business Object Mapper (BOM) is open, it seems to be using a connection string stored in a table DTEProjects.proj_connectionstring instead of the connection selected in the "Application Database Connections" dialog.  This was causing the BOM to point back to the other server when configuring a new BO.  Is there a better way of changing this besides editing the table.
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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.
Peter Jones
Peter Jones
Advanced StrataFrame User (506 reputation)Advanced StrataFrame User (506 reputation)Advanced StrataFrame User (506 reputation)Advanced StrataFrame User (506 reputation)Advanced StrataFrame User (506 reputation)Advanced StrataFrame User (506 reputation)Advanced StrataFrame User (506 reputation)Advanced StrataFrame User (506 reputation)Advanced StrataFrame User (506 reputation)
Group: Forum Members
Posts: 386, Visits: 2.1K
Hi Chris,



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?



Cheers, Peter
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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.
Chris Diesel
Chris Diesel
StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)
Group: StrataFrame Users
Posts: 74, Visits: 300
This is exactly where it's not authenticating.  Attached message occurs when I click next.
Attachments
sfdbcw.png (172 views, 90.00 KB)
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
When you go into the Database Connections and select the SF Data Store, click the Edit button and go through the wizard.  Does it authenticate?  This is the connection that is used.  So you if you can authenticate here, then all other SF pieces should be able to authenticate.


Chris Diesel
Chris Diesel
StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)
Group: StrataFrame Users
Posts: 74, Visits: 300
I guess I wasn't clear. Smile  I can access the sql 2008 database from any computer via sql server management studio or our application using a connection string just fine (integrated or sql security).  When I try to setup a new database connection from either dev machine is when we get that message.  Sad  There has to be something different going on somewhere.  No doubt something I screwed up. w00t  Is there anyway to tell what connection string is being used from the connection wizard?
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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.
Chris Diesel
Chris Diesel
StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)StrataFrame User (126 reputation)
Group: StrataFrame Users
Posts: 74, Visits: 300
Double checked, this is how we have it set.  When we moved the application database over, we didn't have any problems (app runs fine pointing to 2008 using a connection string).  It's just when I tried to use the Database Connection Wizard and the Business Object Mapper.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search