StrataFrame Forum

Solution Preferences

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

By Larry Caylor - 4/12/2007

I'm having a problem with the Solution Preferences on a project. I can open the Project Preferences window and select the Localization Project, Default Language, and Security projects from the drop down lists. Clicking on "Save" closes the window with no errors. When I reopen the Solution Preferences window, the changes I made are gone and I have a blank window. I'm using SF v1.6.

-Larry

By Trent L. Taylor - 4/13/2007

I will look into this.  Thanks.
By Larry Caylor - 4/17/2007

Any ideas on what may be causing this? I've been working around the issue but I'm getting to the point where I need to use the localization features. I've tried starting with a brand new project and haven't been able to set the preferences on that either.

Also what changed in the Forum? Previously I could paste text from MS Word. Now when paste text, it shows up in the editor, but I receive an error message saying that my post must include content when I try to post or preview it.

-Larry

By Trent L. Taylor - 4/17/2007

We are still looking into it since it is not replicating itself in all environments.  As for the forum, we had to make some changes to prevent posts from killing the site.  If you will recall the forum being up and down a while back, the primary issue was something that a forum user pasted into a post.  When RegEx attempted to format the message it caused the entire forum engine to crater!  So we had to beef up the posting restrictions and regex formatting.
By Trent L. Taylor - 4/18/2007

OK everybody...it was a minor issue within an extensibility BO that has now been fixed.  Attached to this post are the assemblies that you need in order to fix the problem.

Drag the DLL into the c:\windows\assembly folder and then copy the DLL and XML file to c:\program files\common files\microfour\strataframe .

Then go back into Visual Studio and you should be good to go!  Sorry for any troubles.

By Ben Hayat - 4/18/2007

Drag the DLL into the c:\windows\assembly folder




Trent, when I drag the DLL into c:\windows\assembly, nothing happens (that I can see visually). I don't see the DLL being copied into this directory!
By Larry Caylor - 4/18/2007

I verified that the new files are in the StrataFrame directory but I'm still having the same problem, the preferences are not being saved.

-Larry

By Trent L. Taylor - 4/18/2007

They have to be added to the GAC or it will not work.  The StrataFrame directory is only for references.  As for visually seeing something when dragging the files into the GAC, you don't.

Larry, did you get out of Visual STudio, drag the files into the GAC, then go back in with the same results?  We had reproduced it here and everything seems to be working within our test beds...please let me know so I can investigate further is necessary.

By Ivan George Borges - 4/18/2007

Hi guys.

Just to let you know, the fix worked fine over here. I had the same problem.

Abraços.

By Larry Caylor - 4/18/2007

I missed the part about adding it to the GACBlush Everything is fine now.

Guess I owe Trent a beer.

-Larry

By Trent L. Taylor - 4/18/2007

No problem...I was just a bit confused.  Glad you got it working Smile
By Ben Hayat - 4/18/2007

Trent; I'm having some issues with WebForms now.



a) If I create an ASP.Net and try to place any control on a page, it works fine.

b) But If I create a StrataFrame Application and try to place any form, I get loop message in the lower left of VS, saying "Adding reference to System.Web.Dll" or "Adding Reference to MicroFour.Web.Dll" OR "Adding Reference to MicroFour.UI.Dll".



This gets repeated and I have to shut VS down thru task manager.



Secondly, might be unrelated this, if I try to open the CSharpe Web sample project, I get error "One or more project are missing or moved". But if I try to open the VB, it opens fine.



Thanks!
By Ben Hayat - 4/18/2007

There are two other "Adding reference" message showing up: Micro Four StrataFrame Business.Dll and Base.Dll.



Just to make my previous message more clear, this is when I create a new StrataFrame Web application.



Hope this helps!



P.S. I did open up two copies of Explorer to drag it into WinNT/Asselmbly.

I'm running Win2k on this machine!
By Ben Hayat - 4/18/2007

After letting VS sit and go thru the message, it eventually put one "TextBox" on the form. But if I try to put another one, it goes thru the same loop again!



Just to give more info!
By Trent L. Taylor - 4/18/2007

Ben,

Your issues are unrelated to the Extensiblity DLLs.  So your issue has to be coming from something else within your environment.  What else has changed?

By Ben Hayat - 4/19/2007

Hi Trent;



To be honest with you, since I had installed 1.6, I had not gotten involved with the web form. Now I need to start working on something and yesterday was the first time I tried to create a page. At First I noticed the CSharpe Sample is missing the web project and wouldn't let me open it. Then I decided to create a StrataFrame Web app. As soon as I click on default form, I get those "Adding references.." messages. And if I try to add any web component, I get the same thing. However, I do not get that with normal ASP web app.



You asked what has changed. To the best of my knowledge, nothing has changed. I've been trying to learn Win form and it works fine, but the web I noticed yesterday.



What would you like me to do? Reinstall 1.6? If yes, do I need to uninstall it first, or can I install over it?



Thanks for your help!
By Trent L. Taylor - 4/19/2007

Hey Ben,

And if I try to add any web component, I get the same thing. However, I do not get that with normal ASP web app.

This is going to be normal as far as adding references are concerned.  However, I think something might be a little fishy with the template and I would be curious if you opened up the references of the web site if you have more than one SF reference.  I am willing to bet that more than one reference showed up which is causing your problem.  Right-click on the web site, and go to the Property Pages.  You will see that there are StrataFrame references with a version 2.0 (we haven't written that version yet BigGrin ).  This was a template issue that was released in version 1.6.  We had removed the version from the template trying to reduce the build process by a step and it looks as though a web site project assumes the version of the .NET version when omitted.

Select the 2.0 version references and then click the remove button.  This should resolve your problem.  Sorry for the confusion. Blush

I have attached the updated templates if you want to fix your current environment.  The attached EXEs assume that Visual Studio is installed on the c:\program files\ folder.  Otherwise you can execute the EXE, point the path to the correct location. 

To run:

  1. Close down Visual Studio
  2. Launch each of the the EXEs one at a time.  Open up the task manager and make sure that the devenv process has gone away before launching the next template update.
By Ben Hayat - 4/19/2007

Did I say, "You're a genus"? If not, I say it now Smile



Thank you Trent!



Could you please attach a working/complete CSharpe Web sample either to this thread or the one I posted on Web Form section (in case others want to get a fresh copy again)?
By Trent L. Taylor - 4/19/2007

I did not see an issue with the CSharp sample, but it is posted here just in case you are having some other issue.
By Ben Hayat - 4/19/2007

Trent; Does this mean, anytime I create a new C# Web site, I need to go and delete those 2.0 references manually?



I installed the attach EXE file, but any new website, still gets the 2.0 references.



Was the attach file to fix the reference issue or sample issue? My sample problem is C# and the VB is fine!



Thanks!
By Trent L. Taylor - 4/19/2007

There were some assumptions that I made in the posted EXEs above as it related to paths.  This fixes the template, which I tested and so if it gets installed correctly it will fix your problem.

The files have to go to the web project template folders then have the devenv.exe /setup called to install the templates and make them active.  This will definitely be fixed in the next update, so worst case just remove the 2.0 references for now and you can move forward.

By Ben Hayat - 4/19/2007

The CSharpe demo package is complete and works fine. Thank you Sir!



Best Support!!!!
By Ben Hayat - 4/19/2007

Trent L. Taylor (04/19/2007)
There were some assumptions that I made in the posted EXEs above as it related to paths. This fixes the template, which I tested and so if it gets installed correctly it will fix your problem.



The files have to go to the web project template folders then have the devenv.exe /setup called to install the templates and make them active. This will definitely be fixed in the next update, so worst case just remove the 2.0 references for now and you can move forward.




No problem Trent; Your help is much appreciated. I have to go to an App. now but I'll keep you posted!