hi Anoop,
 
Since I am not having version 8.0,i am not able to view the code.Since i have faced the same issue and solved it ,i suggest you...
 
Restart the Pxi-chasis...
each and every time when u r stopping the program..you should clear  the can resources using Task clear...i.e if not ur hardware will still running behind and when u try running vi again at this time it will show the error you mentioned..