Setting Upload Photo max file size: Error uploading through Gallery Service

rated by 0 users
This post has 2 Replies | 1 Follower

Top 50 Contributor
Posts 368
Points 1,865
Delete Me Posted: Thu, Jan 25 2007 12:55 AM

Using Chiwi's App I am gettin the following error.

2007-01-24 21:27:17 (-08) ¦ ERROR ¦ There was an exception running the extensions specified in the config file. ---> Maximum request length exceeded. ¦    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at CSGalleryManager.GalleryService.GalleryService.Create(GalleryPost post)
   at CSGalleryManager.MainForm.processQueue(BackgroundWorker bw, DoWorkEventArgs e) 

I have searched the forums and can't find an answer for how to change what I assume is the max file size for uploaded photos. I am running 2.1 SP2. On a side note I did not have this problem using the same camera with 2.0.

Thanks,
-p

 

Top 50 Contributor
Posts 368
Points 1,865
Delete Me replied on Thu, Jan 25 2007 1:09 AM
OK, I found the setting in  the control panel, but its set to unlimited. Why am I getting this error?

  • | Post Points: 5
Top 50 Contributor
Posts 368
Points 1,865
Delete Me replied on Sun, Jan 28 2007 4:31 PM

Took me forever to find the answer as the search found the thread but did not link to the post. I had to scroll through 11 pages of the thread to find this, but it worked.

 Edit your WEB.CONFIG

Add the bolded node to your system.web section.  This will allow up to 8MB.  The default is 4MB.

   <configuration>
      <system.web>
         <httpRuntime maxRequestLength="8192" />

  • Filed under:
  • | Post Points: 5
Page 1 of 1 (3 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com