我在尝试上载大文件时看到标题中的错误。我尝试在web.config中从35480 KB增加maxRequestLength,但仍然看到错误。executionTimeout="1000" targetFramework="4.6.1"/> 我也尝试过在这篇文章System.Net.ProtocolViolationException: You must write ContentLengthbytes to the request stream before calling [
使用getstring(pic,0,pic.length)我变成了一个错误..找不到大家伙寻求帮助的办法Public Function uploadPic(ByVal pic As Bytebytes As Byte() = System.Text.Encoding.GetEncoding(encoding).GetBytes(contents.ToString()) writer.Write(bytes, 0,