put this in my app.config, nut still cannot add large attatchments, is there
a trick or something to get the app.config read?
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="microsoft.web.services2"
type="Microsoft.Web.Services2.Configuration.WebServicesConfiguration,
Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" />
</configSections>
<microsoft.web.services2>
<messaging>
<maxRequestLength>256000</maxRequestLength><!-- 256 mb -->
</messaging>
<security>
<defaultTtlInSeconds>80000</defaultTtlInSeconds>
<timeToleranceInSeconds>80000</timeToleranceInSeconds>
</security>
<diagnostics />
</microsoft.web.services2>
</configuration>
Manfred Gloiber - 31 Aug 2005 16:16 GMT
Hi Kevin,
without checking if the syntax of your app.config configuration file is
correct remember this:
Have you set the maxRequestLength setting on both sites? The client AND the
server need this setting because else e. g. the client can send large
attachments but the server can't receive large attachments or vice versa.
HTH and you understood my english ;-)
--
Manfred
> put this in my app.config, nut still cannot add large attatchments, is
> there
[quoted text clipped - 34 lines]
>
> </configuration>
Kevin Earley - 31 Aug 2005 16:37 GMT
I do have this section in web.config on the server, and
I also have a web site that uses this webservice solution that works with
large files.
> Hi Kevin,
>
[quoted text clipped - 48 lines]
> >
> > </configuration>
Kevin Earley - 31 Aug 2005 21:08 GMT
(Microsoft.Web.Services2.Configuration.WebServicesConfiguration.MessagingCon
figuration.MaxRequestLengthInBytes())
returns 262144000
I think the problem is because I am calling the web service async. I think
the thread just gets lost. I am going to switch to sending the pages 1 at a
time as they are scanned. Thanks for the help.
> put this in my app.config, nut still cannot add large attatchments, is there
> a trick or something to get the app.config read?
[quoted text clipped - 33 lines]
>
> </configuration>