Installed, now what?


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
Just FYI, there is no need to cross post.  We monitor all forums.  Thanks. Smile

http://forum.strataframe.net/FindPost11481.aspx

Alex M. Lana
Alex M. Lana
StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)
Group: Forum Members
Posts: 20, Visits: 264
Greetings, I had the same problem and solved it this way:
Installed a Named Instance of SQL Express 2005
Installed the StrataFrame databases onto it.
Changed the Database Connections of StrataFrame design-time to point to the new SQL 2005 instance.
Now the Solutions Preferences is working on every licensed machine,and we're able to setup the projetc's localization, security, etc...
The solutions databases still reside on our main SQL Server 2000 instance.

Best regards to all.

Alex Lana
 

StrataFrame Team
S
StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Aye, if you put your business objects in a class library, you can use them in both a web application and a winforms application. We have a MicroFour CRM class library containing the business objects for our internal CRM system... The website uses them to save off customer information through the trial sign-up and the online store and the internal WinForms CRM application uses them as well.
ckelsoe
ckelsoe
StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)
Group: Forum Members
Posts: 13, Visits: 97
Even though they both would / could share the same bo's?

Charles R Kelsoe
StrataFrame Team
S
StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
No, you could most certainly start off by creating a web project, you'll just want to place your business objects in a class library that is referenced by the web project. Add a new "Business Object Library" project to the solution containing your website and add your business objects there. If you cannot open the Business Object Mapper with the class library in the same solution as your website (let me know if you can't and I'll look into it), create a different solution to house your class library containing your business objects.
ckelsoe
ckelsoe
StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)
Group: Forum Members
Posts: 13, Visits: 97
So would I be better off building a Winform (SmartClient) app, then using the BO from that for the web front end?

Charles R Kelsoe
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
This could be one of two things.  First, check your database connection to make sure that it can connect to the StrataFrame database.  To do this:

1.) Through Visual Studio, click on StrataFrame -> Database Connection...
2.) This will bring up a database connections window.  You should already have an existing connection, if not this is definitly your problem.  If one exists, select it and click "Edit", if not, click "Add.."
3.) This will allow you to modify the connection to your SQL server.  This should be the same server that you provided when deploying the StrataFrame database during the installation process.  Click "Next >" and then "Finish" once the connection has been checked.
4.)  Now try to go back into the Business Object Mapper

If this doesn't help, try to open Business Object Mapper through the sample VB application.  The Business Object Mapper should appear, if so, then we know that there is something within your current solution that is causing the problem.  Let me know if this works.

I know that you are working on a web application.  Where are your business objects located?  Are they in the website or do you have them in a class library DLL?  Just FYI, you will have problems housing business object within a website project itself.  This is due to the nature of ASP.NET and how objects are reflected.  By housing the business objects in a separate DLL you will just need to add a reference to the web project and add an "assembly" reference on the web.config file.  This is the recommended approach for any ASP.NET application.  If you are creating custom controls, it would be a good idea to keep them in a separate solution as well.

ckelsoe
ckelsoe
StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)
Group: Forum Members
Posts: 13, Visits: 97
Since I can not edit my own post, my problem occurs at step 6

Charles R Kelsoe
ckelsoe
ckelsoe
StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)StrataFrame Beginner (13 reputation)
Group: Forum Members
Posts: 13, Visits: 97
My problem is that when I get to the step of clicking on StrataFrame, Business Object Mapper nothing happens.

Charles R Kelsoe
StrataFrame Team
S
StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)StrataFrame Developer (4.2K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
On a web project, you'll probably want to store your business objects in a class library rather than in the App_Code folder as a .NET web project does not really support components very nicely (issues with nested files, no designer files, etc...). You may get the business objects to work in the website project, but you'll have a better time creating a new class library project and adding it to your Visual Studio solution.
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