Re: File Attachments Larger and 4MB

From: drkraus (drkraus_at_nospam.nospam)
Date: 12/02/04


Date: Thu, 2 Dec 2004 14:35:08 -0800

Excel is the client. An Excel add-in exposes access to our web service.

Thanks, we will take a look at your suggestion...

"Rory Plaire" wrote:

> "=?Utf-8?B?ZHJrcmF1cw==?=" <drkraus@nospam.nospam> wrote in
> news:3ADEA1AD-1412-4D78-B9B7-C1C2EC1E2DA7@microsoft.com:
>
> > Hi Rory,
> >
> > I am working with Drew. I have tried the httpruntime solution, but
> > this is not enough since putting it in the machine.config, or the
> > web.config of the service, only covers the web server side of things.
> > It appears that this value must also be set for the client. Our client
> > is an Excel add-in, and I have made it work by setting
> > maxRequestLength in a excel.exe.config file that I create, but this is
> > not an optimal solution. We are trying to figure out how to either
> > programmatically set the maxRequestLength value from the client side,
> > or find another way to configure the value which won't require us to
> > put an excel.exe.config file in the Office10 directory.
> >
> > thanks, Dave
> >
>
> Interesting... so excel is the server and you're exposing the WSE Soap
> Server through an Excel add-in... Is my understanding correct?
>
> You could try to set it through reflection. The class you're looking for
> is
> Microsoft.Web.Services2.Messaging.Configuration.MessagingConfiguration,
> which can be found as a static member of
> Microsoft.Web.Services2.Configuration.WebServicesConfiguration, and the
> property you need to set is the integer _maxRequestBytes. Notice that
> you'll need to specify _bytes_ here instead of kilobytes, like in the
> configuration file. I'm sure that this is quite a bit not supported, but
> it may work for you. Since everything is static on the class, you'll
> need to set this value before you call any WSE code.
>
> It's a good feature request: make the configuration programmatically
> accessible. If you can set it in the config file, you should be able to
> set it in code!
>
> -rory
>
>



Relevant Pages

  • Re: Launching an .exe on intranet
    ... you mentioned that your client wanted to ... "replace the functionality of his Excel file... ... share access to it, an ASP app is what you want, in which case you only need ... VB is a language for writing executables. ...
    (microsoft.public.frontpage.programming)
  • Re: My first database (long)
    ... looks similar to an Excel spreadsheet, many people tend to confuse the 2. ... designing reports, the biggest issue for you right now is actually designing ... As Pete and Bruce have mentioned, getting a good book on database design ... > The database contains client records. ...
    (microsoft.public.access.gettingstarted)
  • Re: Help creating database
    ... After the first round, the client can walk away with what they have so far, ... help you shoot yourself and your boss in the foot or feet. ... The problem with so many amateur Excel ... For a journeyman Access developer your proposed application seems to ...
    (microsoft.public.access.gettingstarted)
  • Re: Unique Selection of Data
    ... Excel converts TRUE to 1 and FALSE to 0. ... Optional Question A: I am trying to adapt these formula as a template so I ... > Client ID Service Item ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Automatic swap of x - and y - axis
    ... when my client installed Excel 2007. ... My client has one option to overcome the problem, ... of the chart, and a description of the problem, someone may be able to help. ... by the time the graph is ...
    (microsoft.public.excel.charting)