Replies: 7 comments
-
I don't really have enough information to give you any things you might be able to try. Can you tell me more about the error? Are you using the API or Website template? Is it MVC 5 or 6? |
Beta Was this translation helpful? Give feedback.
-
I am using the website template and MVC 5. |
Beta Was this translation helpful? Give feedback.
-
Suggests that the XML document was empty or invalid. |
Beta Was this translation helpful? Give feedback.
-
What does that mean exactly? It is related to uploading the file? I dont use any XML I know of. |
Beta Was this translation helpful? Give feedback.
-
This is an additional error : The character encoding of the plain text document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the file needs to be declared in the transfer protocol or file needs to use a byte order mark as an encoding signature. Does that tell you something more? Sorry to bother you with this. |
Beta Was this translation helpful? Give feedback.
-
I found it! The file image was too big to posted. Now I just need to set some webconfig options to allow bigger file uploads I guess? |
Beta Was this translation helpful? Give feedback.
-
Yes, that would be controlled by web.config. Glad you found the answer. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I am trying to upload a single file in a form like I use to do but I get this error message in my console :
XML Parsing Error: no root element found Location
If I comment the input file field everything posts perfectly. Is this something related with the template? I never seen this before.
Thx!
Which project template is the issue about?
ASP MVC Boilerplate
...
Which version of the project template is the issue about?
?
...
Which version of Visual Studio or the dotnet SDK were you using?
VS 2015 Update 3
...
Beta Was this translation helpful? Give feedback.
All reactions