Could you please try MyDirect .NET v.3.55.25?
If the problem is still there please send me (alexeyman*crlab*com) a small test project to reproduce the problem.
It is desirable to use 'test' schema objects, otherwise
include the definition of your own database objects.
If it is impossible for you to create the test project, send
us a piece of your code where the error occurs or describe steps to
reproduce the problem.
Search found 729 matches
- Tue 17 Jun 2008 12:36
- Forum: dotConnect for MySQL
- Topic: "Invalid operation. The connection is closed." when setting the connectionstring property
- Replies: 1
- Views: 2205
- Tue 17 Jun 2008 12:26
- Forum: dotConnect for Oracle
- Topic: Problem with VS 2008 Entity Framework Beta 3 EDM Wizard
- Replies: 4
- Views: 2455
- Tue 17 Jun 2008 11:37
- Forum: dotConnect for MySQL
- Topic: WPF & MyDirect.NET
- Replies: 6
- Views: 2383
- Tue 17 Jun 2008 11:20
- Forum: dotConnect for MySQL
- Topic: About XA distributed transaction
- Replies: 1
- Views: 1583
- Tue 17 Jun 2008 10:13
- Forum: dotConnect for PostgreSQL
- Topic: Is there any way to manage a dataset inside of a child form?
- Replies: 7
- Views: 3406
- Tue 17 Jun 2008 09:30
- Forum: dotConnect for Oracle
- Topic: Problem with VS 2008 Entity Framework Beta 3 EDM Wizard
- Replies: 1
- Views: 1671
- Tue 17 Jun 2008 09:28
- Forum: dotConnect for Oracle
- Topic: Problem with VS 2008 Entity Framework Beta 3 EDM Wizard
- Replies: 4
- Views: 2455
- Tue 17 Jun 2008 09:21
- Forum: dotConnect for Oracle
- Topic: Problem with VS 2008 Entity Framework Beta 3 EDM Wizard
- Replies: 4
- Views: 2455
- Tue 17 Jun 2008 09:13
- Forum: dotConnect for MySQL
- Topic: Possible bug with MySqlDataset.Tables["blah"].ChildRelations.Clear()
- Replies: 7
- Views: 3924
Hello,
Please send me (alexeyman*crlab*com) a small test project to
reproduce the problem.
It is desirable to use 'test' schema objects, otherwise
include the definition of your own database objects.
If it is impossible for you to create the test project, send
us a piece of your code where the error occurs or describe steps to
reproduce the problem.
What is the version/edition of the product you use?
Regards,
Alexey.
Please send me (alexeyman*crlab*com) a small test project to
reproduce the problem.
It is desirable to use 'test' schema objects, otherwise
include the definition of your own database objects.
If it is impossible for you to create the test project, send
us a piece of your code where the error occurs or describe steps to
reproduce the problem.
What is the version/edition of the product you use?
Regards,
Alexey.
- Tue 17 Jun 2008 09:05
- Forum: dotConnect for MySQL
- Topic: Exception thrown reading negative time value
- Replies: 2
- Views: 2134
- Tue 17 Jun 2008 08:49
- Forum: dotConnect for MySQL
- Topic: Disconnections/Net Packets Out Of Order
- Replies: 17
- Views: 5925
Please send me (alexeyman*crlab*com) a small test project to
reproduce the problem.
It is desirable to use 'test' schema objects, otherwise
include the definition of your own database objects.
If it is impossible for you to create the test project, send
us a piece of your code where the error occurs.
1) What is the version/edition of the product you use?
2) What exception do you get?
reproduce the problem.
It is desirable to use 'test' schema objects, otherwise
include the definition of your own database objects.
If it is impossible for you to create the test project, send
us a piece of your code where the error occurs.
1) What is the version/edition of the product you use?
2) What exception do you get?
- Fri 13 Jun 2008 09:57
- Forum: dotConnect for Oracle
- Topic: Oracle XMLTYPE and other Problems
- Replies: 2
- Views: 1909
- Fri 13 Jun 2008 08:01
- Forum: dotConnect for MySQL
- Topic: Disconnections/Net Packets Out Of Order
- Replies: 17
- Views: 5925
Most likely using separate connections in different threads will solve the problem.
You can try running the application in debug mode and see where it throws the exception and what threads were running.
Presumably, as soon as you get the call stack and the error message you will find the source of the problem.
Please let me know on the results.
You can try running the application in debug mode and see where it throws the exception and what threads were running.
Presumably, as soon as you get the call stack and the error message you will find the source of the problem.
Please let me know on the results.
- Fri 13 Jun 2008 07:13
- Forum: dotConnect for MySQL
- Topic: How to refresh a table every few minutes
- Replies: 8
- Views: 2958
Hello,
Well, MySqlDependency will fire an event anyway.
It doesn't matter what data you have got in the local client memory.
MySqlDependency always compares hashes for the table on server side.
Say, I have a table tbl1 with rows:
1)AAA AAA
2)BBB BBB
3)CCC CCC
This is a table on the server.
Also I have a user-client U1.
U1 loads tbl1 to the his machine's managed heap.
Every 5 seconds MySqlDependency from U1 application calculates a hash for the tbl1 (that is stored on the server). Say the hash value is:
_currentHash = “ABC”
U1 locally changes the tbl1:
1) AAA BBB
2) BBB CCC
3) CCC DDD
MySqlDependency compares _currentHash (which is “ABC” now) to the new hash, which is also “ABC”, as tbl1 on the server has not changed. The event is not fired.
Then U1 updates tbl1 and overrides the data on the server side.
Next time MySqlDependency calculates a hash for the tbl1 and gets a new hash value, say:
_newHash = “AAA”. Finally, MySqlDependency compares “AAA” (_newHash) and “ABC” (_currentHash) and fires an event.
Regards,
Alexey.
Well, MySqlDependency will fire an event anyway.
It doesn't matter what data you have got in the local client memory.
MySqlDependency always compares hashes for the table on server side.
Say, I have a table tbl1 with rows:
1)AAA AAA
2)BBB BBB
3)CCC CCC
This is a table on the server.
Also I have a user-client U1.
U1 loads tbl1 to the his machine's managed heap.
Every 5 seconds MySqlDependency from U1 application calculates a hash for the tbl1 (that is stored on the server). Say the hash value is:
_currentHash = “ABC”
U1 locally changes the tbl1:
1) AAA BBB
2) BBB CCC
3) CCC DDD
MySqlDependency compares _currentHash (which is “ABC” now) to the new hash, which is also “ABC”, as tbl1 on the server has not changed. The event is not fired.
Then U1 updates tbl1 and overrides the data on the server side.
Next time MySqlDependency calculates a hash for the tbl1 and gets a new hash value, say:
_newHash = “AAA”. Finally, MySqlDependency compares “AAA” (_newHash) and “ABC” (_currentHash) and fires an event.
Regards,
Alexey.
- Thu 12 Jun 2008 08:36
- Forum: dotConnect for MySQL
- Topic: How to refresh a table every few minutes
- Replies: 8
- Views: 2958
Hello Dave,
1) No, this is not correct.
On the first internal query MySqlDependency calculates a small unique hash value for the table.
With the next queries MySqlDependency recalculates the table's hash and compares the newer value with the older one.
If they do not match, the table has been changed.
So it doesn't matter who has updated the table. MySqlDependency is responsible for tracking any change in the table.
2) Basically, yes.
But usually you don't want to show all data from the table to the user.
Instead you would rather sort it, limit the rows amount, say to the first hundred rows or perform asynchronous queries.
You can find some samples in the “Asynchronous Query Execution” topic in the product help.
Regards,
Alexey.
1) No, this is not correct.
On the first internal query MySqlDependency calculates a small unique hash value for the table.
With the next queries MySqlDependency recalculates the table's hash and compares the newer value with the older one.
If they do not match, the table has been changed.
So it doesn't matter who has updated the table. MySqlDependency is responsible for tracking any change in the table.
2) Basically, yes.
But usually you don't want to show all data from the table to the user.
Instead you would rather sort it, limit the rows amount, say to the first hundred rows or perform asynchronous queries.
You can find some samples in the “Asynchronous Query Execution” topic in the product help.
Regards,
Alexey.