VS crashes when 1.6.1 opens solution


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
Robert:

C:\windows\assembly folder on my system

You can manually install the assemblies with gacutil....or just download the new install that is posted in the My Account area and it will take care of it.  To install with gacutil you will use the "-i" parameter.  The easiest thing though if you are not familiar with the command line tools and have permission issues is to just download the latest build....which was corrected the same time the zip file was posted out here...and it will fix your problem as well.

C:\ProgramFiles/CommonFiles/MicroFour/StrataFrame and I copied them there but no joy

Correct.  The GAC always takes precedence.  Anytime that an assembly tries to load it ALWAYS looks in the GAC first....even if you manually call Assembly.LoadFile() and give it the direct path of an assembly.

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
Keith:

Are the corrected assemblies packaged into the 1.6.1 DL currently available from the My Account area?

Yes.  The install has been corrected and has the new assemblies.

Ben Hayat
Ben Hayat
Advanced StrataFrame User (548 reputation)Advanced StrataFrame User (548 reputation)Advanced StrataFrame User (548 reputation)Advanced StrataFrame User (548 reputation)Advanced StrataFrame User (548 reputation)Advanced StrataFrame User (548 reputation)Advanced StrataFrame User (548 reputation)Advanced StrataFrame User (548 reputation)Advanced StrataFrame User (548 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
Pertti Karjalainen (07/07/2007)
Ivan,



if you set up your server as PC XT, make sure it is 8086 AND has a math coprocessor installed -- much speedier that way. Oh, and a 40MB drive would be nice, too, for enough storage for a lifetime (or so we thought back in 1985).



Tongue



Pertti


I think the one that he has, is the 8088 with Seagate 20Meg full height. He is not so happy to give up his second 5 1/4 floppy drive, which he could store 320KB of data...BigGrin

..ßen
Pertti Karjalainen
Pertti Karjalainen
StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)StrataFrame Novice (54 reputation)
Group: Forum Members
Posts: 54, Visits: 4K
Ivan,

if you set up your server as PC XT, make sure it is 8086 AND has a math coprocessor installed -- much speedier that way.  Oh, and a 40MB drive would be nice, too, for enough storage for a lifetime (or so we thought back in 1985).

Tongue

Pertti

Ben Hayat
Ben Hayat
Advanced StrataFrame User (548 reputation)Advanced StrataFrame User (548 reputation)Advanced StrataFrame User (548 reputation)Advanced StrataFrame User (548 reputation)Advanced StrataFrame User (548 reputation)Advanced StrataFrame User (548 reputation)Advanced StrataFrame User (548 reputation)Advanced StrataFrame User (548 reputation)Advanced StrataFrame User (548 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
Hope this makes sense.


Greg, thank you very much for taking the time with your detail answer. The example that I brought up, was with a scenario that I had previously had to do in Delphi and SQL. And I had done it exactly as you said in the second strategy. I didn't use SProc, but I used SQL statement where I'd pass the old Salesrep and the new one to a method that would generate SQL on the fly and all the processing was done on DB Server. Now why did I ask this question, is another question, since I had done the solution before.



Ok, I was reading an article on LINQ that was explaining the actual statements of LINQ don't get executed (delayed execution) until you are iterating through the result sets (that's another subject of it's own), but to the naked eyes, the way you would update the 500 customers in LINQ, is done in the first style that you mentioned, client side and then LINQ turns around and packages it and creates a parameter SQL and does the job on DB server.



Then I started to think of this new project, how I should approach a bunch of "batch" jobs, NOW that they can easily be converted to LINQ style for the future, without much change to the approach.



So, my question of wrapping the 500 updates within a transaction was prompted by that thought. I still want to think this through that I can easily swap all the SQL codes with LINQ codes for the future.



Do I make sense?Smile



Thanks for your input!

..ßen
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.4K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Have you tried to unhide protected operating system files?



In XP:

- In windows explorer, Tools|Folder Options...

- click on the "View" tab

- expand the Files And Folders node if it isn't already

- Uncheck the "Hide protected operating system files (Recommended)" option

- Click OK



See if that works.
Robert Carl Johnson
Robert Carl Johnson
StrataFrame Novice (50 reputation)StrataFrame Novice (50 reputation)StrataFrame Novice (50 reputation)StrataFrame Novice (50 reputation)StrataFrame Novice (50 reputation)StrataFrame Novice (50 reputation)StrataFrame Novice (50 reputation)StrataFrame Novice (50 reputation)StrataFrame Novice (50 reputation)
Group: Forum Members
Posts: 48, Visits: 130
Trent, I downloaded the zip file and found the two dll's ok. However, the C:\windows\assembly folder on my system is protected and I am unable to drag the two files there. Looking at the folder there are no .dll files in it anyway. I did find microfour dll files in C:\ProgramFiles/CommonFiles/MicroFour/StrataFrame and I copied them there but no joy... SV still closes when I try to open a solution.



Robert
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.4K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Hey Ivan, I connected to your server last night.




Ivan has a server we can hack...er...mess with? Wink
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.4K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Let's say I have to change the salesrep (foreign key) of 500 customer, and if I use transaction, will each customer "change" to remote server happen individually or do they get packaged up as on large transaction from client and then sent to the SE for processing?




There are a couple of ways that you might do this. The first would be to loop through a BO and update each rep. I think the only transaction support you'd get would be for each individual update. However, this is almost always a bad idea.



The better way is to use a sql statement, which is usually infinitely faster and the entire change can be wrapped in a transaction. For this method to work, you'd need to be able to select the 500 customers that need changing some how, via sql. I.e. they all had another rep and now need a different one or maybe they are in certain zip codes and need to be assigned to a rep. The update is then trivial:



-- T-SQL

-- customers is the customers table to be udpated

Update customers

Set repID = @repID

Where repID = @oldRepID -- in this case we are reassign the customers from one rep to another





Now, where do you execute this sql. There are two main options: call a sproc that does this work, or execute the sql directly. In either case, I'd likely create a method on the customer BO and pass it the new repid and the old rep ID (or whatever data is needed to select the reps to update) and execute the sproc/sql using the ExecuteNonQuery() method. Then you could wrap this single statement into a transaction (still within the BO method). The transaction is thus the updating of ALL the customers (only a single sql statement). All the logic is encapsulated within the BO, the server does the work, life is good BigGrin This works the same with or without SE.



This will be VERY fast (assuming appropriate indexes on the fields used in the where clause), compared to handling each customer on the client side individually (each update will be a call to the database...500 customers, 500 calls). If you are updating a gagillion customers, you can do it asynch, no problem...the work is actually being done on the server (assuming the server isn't on the same machine).



Hope this makes sense.
Keith Chisarik
Keith Chisarik
StrataFrame VIP (1.6K reputation)StrataFrame VIP (1.6K reputation)StrataFrame VIP (1.6K reputation)StrataFrame VIP (1.6K reputation)StrataFrame VIP (1.6K reputation)StrataFrame VIP (1.6K reputation)StrataFrame VIP (1.6K reputation)StrataFrame VIP (1.6K reputation)StrataFrame VIP (1.6K reputation)
Group: StrataFrame Users
Posts: 939, Visits: 40K
Are the corrected assemblies packaged into the 1.6.1 DL currently available from the My Account area? Or will I need to get the zip file posted here as well.

Keith Chisarik
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