Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - "Bad request" uploading files of certain sizes

 
 
Old 07-24-2007   #1 (permalink)
Marina Levit


 
 

"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 SpecsSystem Spec
Old 07-24-2007   #2 (permalink)
Marina Levit


 
 

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 SpecsSystem Spec
Old 08-29-2007   #3 (permalink)
contactgsm


 
 

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 SpecsSystem Spec
Old 10-10-2007   #4 (permalink)
Abbas


 
 

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 SpecsSystem Spec
Old 01-10-2008   #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

Quote  Quote: Originally Posted by Marina Levit View Post
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 SpecsSystem Spec
Old 01-10-2008   #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


Quote  Quote: Originally Posted by Marina Levit View Post
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 SpecsSystem Spec
Old 01-10-2008   #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


Quote  Quote: Originally Posted by Marina Levit View Post
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 SpecsSystem Spec
Old 01-10-2008   #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


Quote  Quote: Originally Posted by raghu519 View Post
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


Quote  Quote: Originally Posted by Marina Levit View Post
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 SpecsSystem Spec
Old 01-10-2008   #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.

Quote  Quote: Originally Posted by Marina Levit View Post
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 SpecsSystem Spec
Old 01-10-2008   #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



Quote  Quote: Originally Posted by Marina Levit View Post
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 SpecsSystem Spec
 

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


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46