0

I try to upload a .xlms file, but when i click upload and after i click button

My program doesn't come in debugging mode or upload the file

Check this image below please

enter image description here

So why if i upload a .xls file it works, but if it is a .xmls file it displays that error.

Thanks

1
  • The two file types you are testing are quite different, .xls is the old MS Excel binary file format while .xlms is the Office Open XML format, in this case with macros embedded in the file (otherwise it would be .xlsx). Does your tool's documentation say it can handle the new file format (MS Excel 2007 - 2013)? Commented Oct 23, 2015 at 6:26

1 Answer 1

1

Is your .xmls file bigger than 4 MB? Try to adjust the following attribute value in web.config.

<system.web>
  <httpRuntime maxRequestLength="1048576" />
</system.web>
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.