Hi,

I have written the logic in a class which reads the data from a text file and update the database (over 2000 records). This process takes over one hour. When I execute this process with Web Page it works properly but I included the same class in Windows Application I am getting error "Attempted to read or write protected memory. This is often an indication that other memory is corrupt"

in over 100 records. This error occured while updating the database. I am using the Typed DataSet. It read the text file properly and doing all processes on the data and gives error in Update method of the Adapter.

I tries to find out  the reason but didn't get success.

 
...

Go to the complete details ...