![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | "Bad request" uploading files of certain sizes Hi, I am using WCF, hosted in IIS, to upload files. It works sometimes - appears to be something to do with file size. For example, a file of size 27KB works fine. For a file of size 53KB, I get the error "The remote server returned an unexpected response: (400) Bad Request." This comes back instantly, it appears it never makes it to the server. The signature of my method is: Sub UploadFiles(ByVal uploadStream As Stream), so I am streaming the whole thing up. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: "Bad request" uploading files of certain sizes Nevermind, I solved this by correctly configuring the service endpoint. "Marina Levit" <someone@someplace.com> wrote in message news:Ox5uT9fzHHA.4004@TK2MSFTNGP05.phx.gbl... > Hi, > > I am using WCF, hosted in IIS, to upload files. It works sometimes - > appears to be something to do with file size. > > For example, a file of size 27KB works fine. For a file of size 53KB, I > get the error "The remote server returned an unexpected response: (400) > Bad Request." This comes back instantly, it appears it never makes it to > the server. > > The signature of my method is: Sub UploadFiles(ByVal uploadStream As > Stream), so I am streaming the whole thing up. > |
My System Specs![]() |
| | #3 (permalink) |
| | Re: "Bad request" uploading files of certain sizes On Jul 24, 9:58 pm, "Marina Levit" <some...@xxxxxx> wrote: Quote: > Nevermind, I solved this by correctly configuring the service endpoint. > > "Marina Levit" <some...@xxxxxx> wrote in message > > news:Ox5uT9fzHHA.4004@xxxxxx> Hi, > Quote: > > I am using WCF, hosted in IIS, to upload files. It works sometimes - > > appears to be something to do with file size. Quote: > > For example, a file of size 27KB works fine. For a file of size 53KB, I > > get the error "The remote server returned an unexpected response: (400) > > Bad Request." This comes back instantly, it appears it never makes it to > > the server. Quote: > > The signature of my method is: Sub UploadFiles(ByVal uploadStream As > > Stream), so I am streaming the whole thing up. Hi im facing the same issue. What was the fix. Please list the watchouts so that i can crosscheck in my web.config. |
My System Specs![]() |
| | #4 (permalink) |
| | Re: "Bad request" uploading files of certain sizes I'm currently facing the same problem, does anyone know the solution? On Aug 29, 2:35 am, contact...@xxxxxx wrote: Quote: > On Jul 24, 9:58 pm, "Marina Levit" <some...@xxxxxx> wrote: > > > Quote: > > Nevermind, I solved this by correctly configuring the service endpoint. Quote: > > "Marina Levit" <some...@xxxxxx> wrote in message Quote: > >news:Ox5uT9fzHHA.4004@xxxxxx> Hi, Quote: Quote: > > > I am using WCF, hosted in IIS, to upload files. It works sometimes - > > > appears to be something to do with file size. Quote: Quote: > > > For example, a file of size 27KB works fine. For a file of size 53KB, I > > > get the error "The remote server returned an unexpected response: (400) > > > Bad Request." This comes back instantly, it appears it never makes it to > > > the server. Quote: Quote: > > > The signature of my method is: Sub UploadFiles(ByVal uploadStream As > > > Stream), so I am streaming the whole thing up. |
My System Specs![]() |
| | #5 (permalink) |
| Windows Vista | Re: "Bad request" uploading files of certain sizes Hello Levit, I to face the same problem of uploading the images of size more than 27kb Could you please help in resolving this error. Thanks, Raghu Hi, I am using WCF, hosted in IIS, to upload files. It works sometimes - appears to be something to do with file size. For example, a file of size 27KB works fine. For a file of size 53KB, I get the error "The remote server returned an unexpected response: (400) Bad Request." This comes back instantly, it appears it never makes it to the server. The signature of my method is: Sub UploadFiles(ByVal uploadStream As Stream), so I am streaming the whole thing up. |
My System Specs![]() |
| | #6 (permalink) |
| Windows Vista | Re: "Bad request" uploading files of certain sizes Hello Levit, I to face the same problem of uploading the images of size more than 27kb in WCF. Could you please help in resolving this error. Thanks, Raghu Hi, I am using WCF, hosted in IIS, to upload files. It works sometimes - appears to be something to do with file size. For example, a file of size 27KB works fine. For a file of size 53KB, I get the error "The remote server returned an unexpected response: (400) Bad Request." This comes back instantly, it appears it never makes it to the server. The signature of my method is: Sub UploadFiles(ByVal uploadStream As Stream), so I am streaming the whole thing up. |
My System Specs![]() |
| | #7 (permalink) |
| Windows Vista | Re: "Bad request" uploading files of certain sizes Hello Levit, I to face the same problem of uploading the images of size more than 27kb Could you please help in resolving this error. Thanks, Raghu Nevermind, I solved this by correctly configuring the service endpoint. "Marina Levit" <someone@someplace.com> wrote in message news:Ox5uT9fzHHA.4004@TK2MSFTNGP05.phx.gbl... > Hi, > > I am using WCF, hosted in IIS, to upload files. It works sometimes - > appears to be something to do with file size. > > For example, a file of size 27KB works fine. For a file of size 53KB, I > get the error "The remote server returned an unexpected response: (400) > Bad Request." This comes back instantly, it appears it never makes it to > the server. > > The signature of my method is: Sub UploadFiles(ByVal uploadStream As > Stream), so I am streaming the whole thing up. > |
My System Specs![]() |
| | #8 (permalink) |
| Windows Vista | Re: "Bad request" uploading files of certain sizes Hello Levit, I to face the same problem of uploading the images of size more than 27kb Could you please help in resolving this error. Thanks, Raghu Hello Levit, I to face the same problem of uploading the images of size more than 27kb in WCF. Could you please help in resolving this error. Thanks, Raghu Hi, I am using WCF, hosted in IIS, to upload files. It works sometimes - appears to be something to do with file size. For example, a file of size 27KB works fine. For a file of size 53KB, I get the error "The remote server returned an unexpected response: (400) Bad Request." This comes back instantly, it appears it never makes it to the server. The signature of my method is: Sub UploadFiles(ByVal uploadStream As Stream), so I am streaming the whole thing up. |
My System Specs![]() |
| | #9 (permalink) |
| Windows Vista | Re: "Bad request" uploading files of certain sizes Hello Levit, I to face the same problem of uploading the images of size more than 27kb in WCF. Could you please help in resolving this error. Hi, I am using WCF, hosted in IIS, to upload files. It works sometimes - appears to be something to do with file size. For example, a file of size 27KB works fine. For a file of size 53KB, I get the error "The remote server returned an unexpected response: (400) Bad Request." This comes back instantly, it appears it never makes it to the server. The signature of my method is: Sub UploadFiles(ByVal uploadStream As Stream), so I am streaming the whole thing up. |
My System Specs![]() |
| | #10 (permalink) |
| Windows Vista | Re: "Bad request" uploading files of certain sizes Hello Levit, I to face the same problem of uploading the images of size more than 27kb Could you please help in resolving this error. Thanks, Raghu Hi, I am using WCF, hosted in IIS, to upload files. It works sometimes - appears to be something to do with file size. For example, a file of size 27KB works fine. For a file of size 53KB, I get the error "The remote server returned an unexpected response: (400) Bad Request." This comes back instantly, it appears it never makes it to the server. The signature of my method is: Sub UploadFiles(ByVal uploadStream As Stream), so I am streaming the whole thing up. |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Moving "My DOcuments" and remainder of "My" files to second drive | Vista file management | |||
| "Request New Certificate" is missed from Certificates snap-in | Vista security | |||
| Request for info - what ACL settings should these "\User" junctions have? | Vista file management | |||
| Request: Microsoft to Create a "Service Pack" Specific Group | Vista General | |||
| Internet Explorer 7 for Windows Vista not prompting me to "Open/Run" or "Save" files | Vista General | |||