Excel file can not upload to .aspx website, until i install Microsoft Office RRS feed

  • General discussion

  • Hello Pros, 

    I am facing a unknown kind of a problem while uploading a excel file on a website, that is made of 

    Actually, our company policy is, that we provide OPEN OFFICE to our branches and we have MICROSOFT OFFICE in out head office computers.

    Now the problem is that when our branches try to upload a excel file (filename.xls) to a website (webpage extension is .aspx) we get a error "Please upload a valid Excel file" whereas if we do not change anything on the PC and only install Microsoft Office, we can upload the same file from the same website. I tried to do same thing via other browser but they restricted the site to use only on MS IE.

    My personal thinking about this, is the website is using client side validation for excel file and using some MS Office DLLs to do so.

    For some reason i can not mention the website name, and you wont be able to check it anyways, as the website is accessed by user accounts. 

    Can anyone please tell me, what drivers or runtime or anything that i need, that will solve this problem.

    One more thing i would like to say about this problem.... If i open that website from new computer which does not have any office at all and download a sample file from same webpage which is (filename.xls) and try to upload the same file, it gives me same error "Please upload a valid Excel file" and same thing, if i install microsft office on that computer, it uploads the file with no error at all.

    Sunday, January 6, 2013 4:55 PM

All replies

  • If the client machine requires Excel so that the upload succeeds, then I also would look if any validation might be done in the client end before uploading .xls file. Also restriction to use only IE might be because of that, maybe somekind of an ActiveX control is used.
    Monday, January 7, 2013 6:27 AM
  • Hi MasaSam,

    Thx for the reply,

    Yes maybe they are using any activeX control or anything, but is there any solution to this, if they are validating the file on client side before uploading. Thats a semi-goverment organization, that has the website, and we did not get any help from their side.

    I was thinking this morning about getting any software that could record the browser activity, so maybe we get lucky and get any partial code of theirs, if the code is running on client side too

    I really dont know,

    Help anyone



    Monday, January 7, 2013 7:29 AM
  • Hi Faraz,

    Welcome to the MSDN Forum.

    Communicate with the site first. We are not the author of that website, and cannot guess how they validate the excel file.

    Best regards,

    Mike Feng
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Monday, January 7, 2013 9:19 AM