Author: rpadma | Posted on: 6/18/2008 4:40:32 AM | Views : 360

Hi,

I am trying to save a large chunk  of xml into the database using a wcf service and LINQ. I get an exception

The remote server returned an unexpected response: (404) Not Found.

I tried setting all the parameters in web.config to max length but still I get this exception.

Also both my service is in the same project as my website, i guess i dont have to use clientaccesspolicy.xml..

My web.config looks like this:

 <bindings>
   <basicHttpBinding>
    <binding name="BasicHttpBinding_IService" closeTimeout="00:01:00"
     openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
     allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
     maxBufferSize="2147483647" ...

Go to the complete details ...