views:

23

answers:

1

Hi,

In my app, I use a calendar control to store the information date-wise.

Calendar Control's Link : http://blog.webscale.co.in/?p=244

Problem :

For example, the current selected month is October 2010. Now if I switch back to April 2010 and try to comeback to Ocober 2010 & access data from calendar that I stored in the month of October then I get the Error that says : "Sqlite opening Error : unable to open database file".

It works fine without switching between months.

The basic troubleshooting and checks which i have already done are:

1) I have made changes to database file permission and containing directory's permission but it didn't help me.

2) Database file path is also proper and database is not empty.

What could be going wrong?

what should I do?

Please Help and Give your Suggestions.

Thanks in Advance!

A: 

Got the answer I opened the database but wasnt closing it and multiple instances of database were conflicting and causing the database to be locked.

Hope this would help someone.

Thanks Anyways!!

PARTH