Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / August 2005

Tip: Looking for answers? Try searching our database.

wse ap.config

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kevin Earley - 30 Aug 2005 21:37 GMT
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>

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.