Search found 729 matches

by Alexey.mdr
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

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.
by Alexey.mdr
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

You can fix the mentioned bug in the old version of OraDirect .NET and EF beta 3 by opening an Oracle connection in the Server Explorer.
But please note EF beta 3 is not compatible with latest EF updates.
by Alexey.mdr
Tue 17 Jun 2008 11:37
Forum: dotConnect for MySQL
Topic: WPF & MyDirect.NET
Replies: 6
Views: 2383

Hello,

Generally speaking, WPF itself has quite poor design-time data access support.
There should be no problem with using MyDirect .NET DataSet wizard though.
Do you experience any difficulties with it?

Regards,
Alexey.
by Alexey.mdr
Tue 17 Jun 2008 11:20
Forum: dotConnect for MySQL
Topic: About XA distributed transaction
Replies: 1
Views: 1583

Hello Cyrille,

Unfortunately, MyDirect .NET doesn't support distributed transactions now.
Probably, it will support them in future.
No time frame is available at this moment.

Regards,
Alexey.
by Alexey.mdr
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

Hello Manuel,

Try setting the Modifiers property of the DataSet instance on the form (e.g. DataSet1)
to public. This should solve the problem.

Regards,
Alexey.
by Alexey.mdr
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

Hello,

Please see my reply here:
http://crlab.com/forums/viewtopic.php?t=12334

Regards,
Alexey.
by Alexey.mdr
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

Hello again,

This was a bug of Microsoft EDM wizard that has already been solved in the mentioned updates.
You should uninstall EF beta 3 and EF Tools beta 3 and install the new updates.

Regards,
Alexey.
by Alexey.mdr
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

Hello,

Do you have Visual Studio 2008 SP 1 beta and .NET Framework 3.5 SP 1 beta installed?

Regards,
Alexey.
by Alexey.mdr
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.
by Alexey.mdr
Tue 17 Jun 2008 09:05
Forum: dotConnect for MySQL
Topic: Exception thrown reading negative time value
Replies: 2
Views: 2134

Hello,

This bug with negative timestamp has been already fixed in the newest build.
But we found another related issue.
If the negative timespan contains minutes it's not parsed correctly. The problem is fixed already.
Look forward to the next build.

Regards,
Alexey.
by Alexey.mdr
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?
by Alexey.mdr
Fri 13 Jun 2008 09:57
Forum: dotConnect for Oracle
Topic: Oracle XMLTYPE and other Problems
Replies: 2
Views: 1909

Hello,

XMLTYPE will be supported in the next build of OraDirect .NET,
so you will be able to perform the mentioned actions.
Estimated time for the release is two weeks.

Regrads,
Alexey.
by Alexey.mdr
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.
by Alexey.mdr
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.
by Alexey.mdr
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.