M_Lyons10 Posted November 16, 2009 Posted November 16, 2009 Hello everyone. I have an application that zips up some files and then attempts to send that in an e-mail as an attachment. I have noticed that if the zip file is small it works fine, but the zip is generally between 1 and 2 MB's, and at that size (Which is still rather small) it fails. I get an error that it failed due to the target of an invocation. I'm assuming that perhaps the zip file is not being released prior to the e-mail being generated when it's larger? I have both the zip creation and e-mail generation in their own backGroundWorkers. My question is what the suggested course of action would be for doing something like this. I've never had an issue with accessing a file like this before. I really appreciate any suggestions anyone may have for this. Thanks Again, Quote
Administrators PlausiblyDamp Posted November 16, 2009 Administrators Posted November 16, 2009 Any chance you could post the relevant code? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.