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: 7K
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.
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