I am able to add a record to my database when using WCF basicHttpBinding and running the client & service locally. The DB is my production DB.
When running the client & service directly from the shared hosting site, the record can't be added with no error being recorded.
Note that this situation only happens while adding only certain records in a specific scenario and all others go through. However, I debugged it locally and everything is fine. I have a feeling it may be a setting I need to put on my service behaivors. Below is the config section for my behaivors.
Does anyone have an idea what I may need to add or if they have encountered this themselves and found another solution?
<serviceBehaviors>
<behavior>
<!--To avoid disclosing metadata information,
set the value below to false and remove the metadata endpoint above before deployment-->
<serviceMetadata httpGetEnabled="True" />
<!--To receive exception details in faults for debugging purposes,
set the value below to true. Set to false before deployment
to avoid disclosing exception information-->
<serviceDebug includeExceptionDetailInFaults="True" />
<dataContractSerializer maxItemsInObjectGraph="2147483647" />
</behavior>
</serviceBehaviors>