Yes

On Aug 28, 1:49 pm, Craig Neuwirt <[email protected]> wrote:
> So are you still having an issue?
>
> On Fri, Aug 28, 2009 at 1:46 PM, Tim Scott 
> <[email protected]>wrote:
>
>
>
> > Oops. typo.  The error is that I must increase the
> > maxStringContentLength.
>
> > On Aug 28, 1:45 pm, Tim Scott <[email protected]> wrote:
> > > I am using the WcfFacility to host a service that accepts large string
> > > content.  When using the defaults, I get an error to that says I myst
> > > maxStringContentLength.  That makes perfect sense.  I am trying to do
> > > it like this:
>
> > > container.AddFacility<WcfFacility>(x => x.DefaultBinding =
> > > myLargeStringContentBinding)
>
> > > It seems the sevice does not use this binding, because I get the same
> > > error.  I tried instead using the ActAs method of component
> > > registration:
>
> > > .ActAs(new DefaultServiceModel().AddEndpoints(WcfEndpoint.BoundTo
> > > (myLargeStringContentBinding)))
>
> > > However, this fails unless I specify the full actual hosted location
> > > of service in the At method of DefaultServiceModel.  Now, I not make
> > > sense to me that I would have to specify the address of a service.
> > > That aside, the host is also a web app, and IIS does not like if when
> > > I specify the At address.  I get intermittent errors hitting the
> > > website.
>
> > > Anyone know a way to set maxStringContentLength for my service?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to