VS crashes when 1.6.1 opens solution


Author
Message
Ben Hayat
Ben Hayat
Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
Firstly, congratulation to the release of 1.6.1



Just got done installing 1.6.1 on Win2K machine. Everything went through fine.

Now as soon as I try to open any solution (including C# samples), I get the message the VS has encounter error and if I click "Don't Send" it closes VS and re-opens VS.



I rebooted the machine but no luck!



I also tried opening VB samples, same thing!



Thanks!

..ßen
Replies
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
OK guys....sorry for thetrouble.  I am working on thisight now.  I think a last minute change is causing the prblem.  Blush
Ben Hayat
Ben Hayat
Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
Trent L. Taylor (07/07/2007)
OK guys....sorry for thetrouble. I am working on thisight now. I think a last minute change is causing the prblem. Blush
No sweat!

..ßen
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Simple fix....simple problem Blush Attached is a ZIP file that contains two assemblies.  Follow the steps below once the ZIP file has been extracted to your local machine.

  1. Close Visual Studio
  2. Drag the two MicroFour DLLs into c:\Windows\Assembly (GAC)
  3. Re-open Visual Studio

That's it Hehe  Those darned last minute changes .... I knew better BigGrin

Attachments
StrataFrame Addins.zip (106 views, 529.00 KB)
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
... and I thought I would have a good excuse not to work this weekend!

Tongue

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
LOL...sorry BigGrin
Ben Hayat
Ben Hayat
Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
Trent L. Taylor (07/07/2007)
LOL...sorry BigGrin




Works great! Thanks...

..ßen
Ben Hayat
Ben Hayat
Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
Ivan George Borges (07/07/2007)
... and I thought I would have a good excuse not to work this weekend!



Tongue




You Work??? BigGrin



Hey Ivan, I connected to your server last night. When are you going to change that 286 server to a 386. I have one 386 from 1985, if you want...Wink

..ßen
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
You Work???

Only on weekends... Cool

Hey Ivan, I connected to your server last night. When are you going to change that 286 server to a 386. I have one 386 from 1985, if you want...Wink

Nah, no need for that. The software is so good that we thought of putting it on a PC XT, but then most of my games wouldn't run on an XT, so the 286 got in action... Tongue  (you very funny)

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
I haven't noticed any speed issues with the Brazilian database.  It sucked down 500 records in less than 2 seconds from my crummy internet connection at my house....I was impressed! w00t
Ben Hayat
Ben Hayat
Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
Trent L. Taylor (07/07/2007)
I haven't noticed any speed issues with the Brazilian database. It sucked down 500 records in less than 2 seconds from my crummy internet connection at my house....I was impressed! w00t




I'm just busting his chops. I know, I did some edit/save and you can't tell it's not local.



Trent, let me ask you something. 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?



Thanks!

..ßen
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K 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.
Chan
Chan
Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)Advanced StrataFrame User (965 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
It takes 8-14 secs to retrieve 500 records at Malaysia
Pertti Karjalainen
Pertti Karjalainen
StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 reputation)StrataFrame User (146 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 (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 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
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K 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
Robert Carl Johnson
Robert Carl Johnson
StrataFrame Novice (64 reputation)StrataFrame Novice (64 reputation)StrataFrame Novice (64 reputation)StrataFrame Novice (64 reputation)StrataFrame Novice (64 reputation)StrataFrame Novice (64 reputation)StrataFrame Novice (64 reputation)StrataFrame Novice (64 reputation)StrataFrame Novice (64 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 (4.8K 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.
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K 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.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Ben Hayat - 18 Years Ago
Ben Hayat - 18 Years Ago
Ben Hayat - 18 Years Ago
Chan - 18 Years Ago
Trent L. Taylor - 18 Years Ago
Chan - 18 Years Ago
                     Hi,
Attached result.log
Chan - 18 Years Ago
Ben Hayat - 18 Years Ago
Trent L. Taylor - 18 Years Ago
                         [quote][b]Trent L. Taylor (07/07/2007)[/b][hr]OK guys....sorry for...
Ben Hayat - 18 Years Ago
                             Simple fix....simple problem :blush: Attached is a ZIP file that...
Trent L. Taylor - 18 Years Ago
                                 ... and I thought I would have a good excuse not to work this weekend!...
Ivan George Borges - 18 Years Ago
                                     LOL...sorry :D
Trent L. Taylor - 18 Years Ago
                                         [quote][b]Trent L. Taylor (07/07/2007)[/b][hr]LOL...sorry :D[/quote]...
Ben Hayat - 18 Years Ago
                                     [quote][b]Ivan George Borges (07/07/2007)[/b][hr]... and I thought I...
Ben Hayat - 18 Years Ago
                                         [quote]You Work???[/quote] Only on weekends... :cool: [quote]Hey...
Ivan George Borges - 18 Years Ago
                                             I haven't noticed any speed issues with the Brazilian database. It...
Trent L. Taylor - 18 Years Ago
                                                 [quote][b]Trent L. Taylor (07/07/2007)[/b][hr]I haven't noticed any...
Ben Hayat - 18 Years Ago
                                                     [quote]Let's say I have to change the salesrep (foreign key) of 500...
Greg McGuffey - 18 Years Ago
                                             It takes 8-14 secs to retrieve 500 records at Malaysia
Chan - 18 Years Ago
                                             Ivan, if you set up your server as PC XT, make sure it is 8086 AND...
Pertti Karjalainen - 18 Years Ago
                                                 [quote][b]Pertti Karjalainen (07/07/2007)[/b][hr]Ivan,

if...
Ben Hayat - 18 Years Ago
                                         [quote]Hey Ivan, I connected to your server last night.[/quote]
...
Greg McGuffey - 18 Years Ago
                                 Trent, I downloaded the zip file and found the two dll's ok. However,...
Robert Carl Johnson - 18 Years Ago
                                     Have you tried to unhide protected operating system files?
...
Greg McGuffey - 18 Years Ago
                                     Robert: [quote]C:\windows\assembly folder on my system [/quote] You...
Trent L. Taylor - 18 Years Ago
Teddy Jensen - 18 Years Ago
Keith Chisarik - 18 Years Ago
Ben Hayat - 18 Years Ago
Trent L. Taylor - 18 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search