I am trying to upload images to VPHOT for the first time and I keep getting an error message. This is what I get.
ArgumentException: Procedure call or argument is not valid.]
BL.FITSWrapper.GetHeaderAsTable(String filepath) +891
Restricted_Uploading_UploadWizStep3.Page_Load(Object sender, EventArgs e) +1382
System.Web.UI.Control.OnLoad(EventArgs e) +91
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207
I am using Maxim DL to convert my raw (CR2) images (taken with a DSLR camera in case that matters) to fits. After I do that I get the above message. I have already calibrated them on Maxim DL and I have tried uploading them into VPHOT in various stages of processing from fully calibrated and split into colors to only put into Maxim DL to convert and save as a fits file.
Strangely, when they have not been put into Maxim DL at all, and I use the original image, I can upload it and VPHOT tells me I need to add RA and DE (which I know, oh tried adding that too and it did not change the result on the fits images) and then a message at the bottom that states that it is in the wrong format (which I know so that makes sense, just tried it as a test) and to return to the previous page and try to upload another image. At least it works and recognizes the image in this situation.
So, basically, something about the process Maxim DL is using to convert it to fits is making an error pop up when I try to upload the images to VPHOT.
Is there anyone who has experienced a similar situation or has any idea what I might be doing wrong?
Thanks so much for any help,