I use to write some data in "System.Environment.SpecialFolder.MyDocuments" folder.
When the app is started then it reads the data from the above location and apply some logic based on the data.
It fails to read data in a special case..
When the app started soon after the reboot. The file in the location is not found.
But if we try to open the app a lil bit later then everything is fine.
Any help would be appreciated