Error When trying to perform edit operations
Error When trying to perform edit operations
Hi,
I am using Licensed version(3.80) of SDAC components.
I am facing a problem when performing Certain Edit(Update and Delete) Operations. This problem is specific only in certain cases.
The sequence of operations on database will as follows:
1) There will certain set of Select Operations to validate the data user has entered
2) There will be certain Select Operations to determine whether user is in Edit mode or Add Mode
3) When the user is in Edit mode, he performs certain modifications to the data and accordingly dataset is updated.
4) Now when i Start the transaction to update the changes of dataset to the database i am getting the following message
"Error: Cannot create new transaction because capacity was exceeded."
I know that there can be some problem in my Code but i tried out various options and i couldnt find any success.
I am using Query an UpdateSQL components of SDAC for this purpose.
Can any one help me out in solving my problem.
Regards
Balajee
I am using Licensed version(3.80) of SDAC components.
I am facing a problem when performing Certain Edit(Update and Delete) Operations. This problem is specific only in certain cases.
The sequence of operations on database will as follows:
1) There will certain set of Select Operations to validate the data user has entered
2) There will be certain Select Operations to determine whether user is in Edit mode or Add Mode
3) When the user is in Edit mode, he performs certain modifications to the data and accordingly dataset is updated.
4) Now when i Start the transaction to update the changes of dataset to the database i am getting the following message
"Error: Cannot create new transaction because capacity was exceeded."
I know that there can be some problem in my Code but i tried out various options and i couldnt find any success.
I am using Query an UpdateSQL components of SDAC for this purpose.
Can any one help me out in solving my problem.
Regards
Balajee
-
- Posts: 13
- Joined: Wed 11 Feb 2015 17:34
Re: Error When trying to perform edit operations
"FetchAll = true" is not a good solution at all because the dataset load all table's data to client. It's very dangerous that this value is used by default.
Re: Error When trying to perform edit operations
In the new SDAC versions, there was added smartfetch mode that allows to save memory on loading large data volumes. See more details in the documentation: https://www.devart.com/sdac/docs/?devar ... tfetch.htm
-
- Posts: 13
- Joined: Wed 11 Feb 2015 17:34
Re: Error When trying to perform edit operations
SmartFetch seems isn't working as expected with SQL Server
http://forums.devart.com/viewtopic.php?f=28&t=33458
http://forums.devart.com/viewtopic.php?f=28&t=33458
Re: Error When trying to perform edit operations
I have answered you in this topic http://forums.devart.com/viewtopic.php? ... 51#p115751