I have an agent that runs against a database that removes the attachment from emails in a certain folder. The agent uses object.remove after getting the attachments and it removes them and puts them into a folder on local hard drive which is fine. The problem is that when I go into the email the attachment icon is still there and it's name but when I try to open it, it is gone and says Server Error: This database cannot be read due to an invalid on disk structure. Any ideas?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!