Installation problems - part 1


Author
Message
Daniel Essin
Daniel Essin
StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)
Group: Forum Members
Posts: 235, Visits: 309
I have mixed feeling (obviously) about reformatting. It takes so long to install (or remove) the various VS components and VS itself that it probably won't take any longer to start from scratch than to experiment around with trying various incremental removals and reinstalls.

I will consider your suggestion carefully before I do anything drastic.

Thanks,

Dan

Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Hi Daniel.

Well, I wish I could tell you that I was only 22 years old and that I had never seen a punch card and FORTRAN in my life, but unfortunately it's not the case. BigGrin

Not trying to be obvious, but if you are formating your HD (something I thought of telling you before, but didn't dare), I guess you could first try a basic installation with the requirements for the framework and see it running. Then you can go creating Restore Points in windows and build on the top of it.

Are you coming to the class on May? It looks like it is going to be very productive and fun!

Cheers.

Daniel Essin
Daniel Essin
StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)
Group: Forum Members
Posts: 235, Visits: 309
Thanks for the reply. It sounds like I did pretty much the same research that you did and I came to the same conclusion. On paper StrataFrame is near perfect. I've run into some problems (obviously unusual) in getting up and running, but the concept is so great that I'm not prepared to give up. I will keep trying until I get the problems resolved.



Again,thanks for the encouragement,

Dan
Ben Hayat
Ben Hayat
Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
Hey Daneil;



I think Larry did a good job of pointing out why SF is such a great product. I'm with you, I graduated in 1981 and have gone through many products since then. When I started .Net I had come from Borland's Delphi (which has a great IDE), and I missed many things that should have been in VS. So, over one year I researched many (and I mean many hours), looking at many products and there were several points I looked for:

Architecture

Support

Cost

3-tier support



And guess what, this is where I landed. I'm responding to you, because I feel someone with your level of experience deserves some feedbacks from people like me who have been around.



I spend over a month asking questions (before I had spend a penny), and SF team answered my questions with full interest. The support is the BEST and I even signed up for the next month training to learn more.



Take care!


..ßen
Daniel Essin
Daniel Essin
StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)
Group: Forum Members
Posts: 235, Visits: 309
I apologize for launching into a tirade. It's the result of the conflict between my interest in using the product and my inability to get it up and running. In the future I will try to confine my questions to specific technical issues. It's not really my intention to be an irritant. I would appreciate a gentle nudge if I stray off this path.



I guess that before I ask you to do anything more than you have already done, I will have to reformat the hard drive and reinstall everything from scratch.



Before I do that it would help me to know if the the following things that I have installed are known to create an incompatibility with StrataFrame:

Oracle add-in for VS2005

DB2 add-in for VS2005

DevExpress suite

Xceed suite

ComponentOne suite

CodeRush

Refactor Pro

CodeSmith

ReSharper

SQL Server Integration Services

Visual Studio Tools for Office



Thank you for your professional assistance,

Dan
Larry Caylor
Larry Caylor
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Awaiting Activation
Posts: 592, Visits: 3.7K
Daniel,

I switched from CSLA to StrataFrame in December 2005 because I wanted to concentrate on building applications and not spend my time maintaining a development framework. CSLA is a great learning tool, but to get the functionality I needed I had to add in ActiveObjects and code developed by other members of the CSLA forum. On top of that were CodeSmith templates to create and maintain (unless you enjoy writing property statements). I'm not belittling the contributions of these individuals, but after putting all that together I still didn't have all the functionality offered by that early version of StrataFrame.

I may not have 40 years of development experience, but (unfortunately) I'm pretty close. I've run into bumps along the way with every programming tool I've ever used, including StrataFrame. There are other .Net frameworks out there but I feel SF offers the best value (and my organization purchased licenses when the were going for $1,295). Does StrataFrame do everything I would like the way I would like it? No. Does it make my staff more productive and allow them to concentrate on solving our organization's business needs? That would be a resounding yes! It's obvious I feel this is a great product, but what really sets it apart is MicroFour's commitment to providing excellent customer service at all levels. I work for local government and they have gone out of their way to accommodate our arcane purchasing process. In the area of technical support they are second to none. They've provided next day patches when I've run into bugs. They have been very patient and supportive in helping me resolve issues of my own making. In the time I've been using the product there has only been one issue that took some time to resolve since it appeared to be unique to my environment, but they eventually fixed it.

If you want a full featured and reliable development framework with top notch support from a company that obviously cares about its customers, I would suggest that you work with them to get it running in your environment. If on the other hand you want a framework where you can have everything your way and don't mind maintaining it, CSLA may be your best bet. My users don't care what development tools we use, they just want reliable solutions as quickly as possible.

One final thing to consider is that StrataFrame isn't just something put together by a group of developers who think it could be used to develop commercial grade software. They actually "eat their own dog food" and use it in their own line of successful medical applications. About the only negative thing I can think of is that they're located in Amarillo TX; not the easiest place to get to from the California Bay area for training. But I hear they make up for it with free beerBigGrin

-Larry

Ben Hayat
Ben Hayat
Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)Advanced StrataFrame User (570 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
The new .NET experience has taught me one huge lesson: knowledge is not a function of time but of learning.


Very, very true Steve. Well said! Good examples are Trent and Ben (Chase, not me Smile)

..ßen
Steve L. Taylor
Steve L. Taylor
StrataFrame Developer (70 reputation)
Group: StrataFrame Developers
Posts: 40, Visits: 91
Daniel,

It is not my desire to pile-on but your continued threats are becoming tiresome.  If you want to use CSLA then go with our blessings.  I might note that I frequent Rocky's forum and it seems you pose similar complaints to him.

All I can in my defense is that if got 40 years experience programming and I've got commercial software deployed to thousands of users.

Daniel, although not as experienced as you, I have been in the business for 33 years and also have thousands of customers.  The new .NET experience has taught me one huge lesson: knowledge is not a function of time but of learning.  My past experiences helped but ultimately they did not carry the day.

The SF team has been extremely accommodating to your cause, I know for a fact on multiple occasions a team member was walking out the door for the evening and you would call, and they would stay behind for an hour or more to help, at no cost to you.

Nevertheless, it is our continued desire to make you happy but you must take a different approach.  It is our belief that SF is the best the market has to offer and with the advent of our new Enterprise Server we have distanced SF from the competitors.

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
Daniel,

I'm sure that you know all of this and what I've included here probably seems kind of amateurish to you

It is not my desire to sit here and spar with you and I appreciate your attempt to try to come up with some code, but there are some inherent issues with your code that will not work in a commercial environment.

When creating commercial developer tools, which I am sure that you can respect and understand, you have to take more into account than the local computer or simply copying a file. Your code makes some assumptions in regards to the machine permissions such as full administrative rights.  Additionally, the file group name may be using the $DbName$ tag which then creates a moving target and even further complicates the situation.  Many times developers are installing to remote SQL Server environments with very limited credentials.  This means that these developers may not have any Windows security rights whatsoever.  This is why the installation environment MUST remain and respect the SMO and permissions granted. 

but I have made numerous good-faith efforts to install and use StrataFrame
 

And we have also made many attempts, including numerous screen sharing sessions to get you going just to learn in most cases that it was simply configuration and installation issues outside of the scope of StrataFrame.  But we too, in good-faith, are interested in taking care of our customers and helped you even though in these circumstances the issues were not related to StrataFrame.

and, so far, i have never gotten more that a week into an attempt before I have been stopped in my tracks by some kind of bug or quirk or my inability to read your mind.

If there is ever a bug that prevents any of our users from moving forward or if there is not a work around, we do our very best to stop and take care of our customers immediately.  We also are not clairvoyant and if we are not aware of a problem we cannot address it.

I think you guys have a good concept and most people must be using it without these kinds of troubles. I would like to be one of them.

As always we are dedicated to providing excellent support and taking care of our customers.  I am not sure why you have always seemed to struggle while others do not but this is a moot point as we are dedicated to helping our customers regardless of their circumstances.  The issue that you have mentioned here is again, not related to StrataFrame but rather an issue with you dismounting the StrataFrame database, upgrading from SQL Server 2000 to 2005 and then coming back to later install StrataFrame with other residue left on your machine which caused the problem. 

All I can in my defense is that if got 40 years experience programming and I've got commercial software deployed to thousands of users.

I appreciate your experience and we always welcome input from all of our developers regardless of their experience.  But in this case I do not think that your experience is the issue but rather a misunderstanding of how SQL Server and SMO work.  Again, we have told you how to work around the issue that you encountered.

Anyway I'll be back working with CSLA while I await your reply.

I respect your decision and wish you the best of luck.

Daniel Essin
Daniel Essin
StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)
Group: Forum Members
Posts: 235, Visits: 309
Well, first of all, if the installation had produced as fully functional VS2005, I wouldn't have needed to uninstall it again.



Secondly, the uninstall left all of the ToolBox items as well as the addin.



Thirdly, as far as not being able to tell if the the databases exist and are mounted, The following code, as you know, will tell you if the database is mounted or not (by throwing an exceptions). If it is mounted you can get the file paths. I it's not mounted, you can do a file exists on the path that you intend to copy the file to and -

a) decide whether to skip the copy or

b) ask the use if they would like to delete the old files (which by this time you know are not mounted.



Now I don't know what capabilities you installer builder offers but I know I could do something like the code below with InstallShield. It's not fancy but you can get the idea. Obviously this is sort of pseudo code and there's no point in working it out so that it's clean and tight but it demonstrates that it is possible to anticipate the common scenarios that might prevent a successful installation and deal with them.



I'm sure that you know all of this and what I've included here probably seems kind of amateurish to you but I have made numerous good-faith efforts to install and use StrataFrame and, so far, i have never gotten more that a week into an attempt before I have been stopped in my tracks by some kind of bug or quirk or my inability to read your mind. Each time this has happened I have been forced to use other techniques because I couldn't wait long enough for support and/or a patch.



I think you guys have a good concept and most people must be using it without these kinds of troubles. I would like to be one of them.



All I can in my defense is that if got 40 years experience programming and I've got commercial software deployed to thousands of users. From time to time I have run up against a situation where my stuff would not behave as expected on someone's machine. In each instance, I have tackled the problem and worked it through to the point where the issue was identified and fixed. It's never easy and not always quick.



Anyway I'll be back working with CSLA while I await your reply.

Thanks,

Dan

--------------------------------------------------------

cm.CommandText = "use StrataFrameSample";

cm.CommandType = CommandType.Text;

try

{

   int i = cm.ExecuteNonQuery();

   cm.CommandText = "use StrataFrameSample; select * from sys.database_files;";

   SqlDataReader reader = cm.ExecuteReader();

   while (reader.Read())

   {

      string filename = reader.GetString(6);

      Console.WriteLine(filename + " exists " + File.Exists(filename).ToString());

   }

return;

}

catch (Exception ex)

{

   Console.WriteLine(ex.Message);

if (AttachDbAtDefaultLocation())

{

// files are where you expect them and are mounted

}

else

{

// They're not where you expect them

//so there is no problem putting another set in the default location

CopyNewFilesIfNeeded();

// now do the attach

//etc...

}

}

//etc....



bool AttachDbAtDefaultLocation()

{

   using (SqlCommand cm = cn.CreateCommand())

   {

      try

      {

         cm.CommandText = "EXEC sp_attach_db @dbname = N'StrataFrame', " +

         "@filename1 = N'c:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\StrataFrame.mdf', " +

         "@filename2 = N'c:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\StrataFrame.ldf' ;";

         cm.CommandType = CommandType.StoredProcedure;

         cm.ExecuteNonQuery(();

         return true;

      }

      catch (Exception ex)

      {

         return false;

      }

   }

}



void CopyNewFilesIfNeeded(bool DoDelete)

{

   string[] filesToCopy = new string[]{"c:\path\a.mdf", "c:\path\a.ldf"};

   foreach (string file in filesToCopy)

   {

       if (File.Exists(file) && DoCelete)

       {

            File.Detete(file);

       }

       else

       {

            DoCopy();

       }

   }

}









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