none
Soap exception error RRS feed

  • Question

  • Hi,

    We are trying to update data in a lookup table using the update lookup table method but getting SOAP exception error as below:

    out side SoAP errorSystem.Web.Services.Protocols.SoapException: Unhandled Communication Fault occurred

       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)

       at EPMTools.Library.ProjectServerLookupTable.LookupTable.UpdateLookupTables(LookupTableDataSet ltds, Boolean validateOnly, Boolean autoCheckIn, Int32 language) in d:\Deb_Pojectserver\EPM Tools\Main\EPMTools.Solution\EPMTools.Library\Web References\ProjectServerLookupTable\Reference.cs:line 454

    It was working fine till last year, but for past few months it stopped working suddenly.

    Please if someone could help me with this issue.

    Thanks in advance.

    Komal


         

    Wednesday, April 24, 2019 4:14 AM

Answers

  • We were able to finally resolve this issue by updating the web.config file in following location:

    C:\Program Files\Microsoft Office Servers\14.0\WebServices\Shared\ProjectServer\PSI

    We have added the following code in web.config file:

    <system.web>
    <httpRuntime maxRequestLength="10240" />
    </system.web>

    Wednesday, October 16, 2019 2:26 AM

All replies

  • Komal Agarwal07,

    This doesn't sound like it has anything to do with customizing or programming Microsoft Project, a project management application but that is the sole focus of this forum. I suggest you re-post to the following forum:

    https://social.technet.microsoft.com/Forums/en-US/home?forum=whatforum

    John

    Wednesday, April 24, 2019 2:50 PM
  • Hi John,

    We are using the LookupTable.UpdateLookupTables method to update as below:

         

    [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/LookupTable/Update" +
                "LookupTables", RequestNamespace="http://schemas.microsoft.com/office/project/server/webservices/LookupTable/", ResponseNamespace="http://schemas.microsoft.com/office/project/server/webservices/LookupTable/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
            public void UpdateLookupTables(LookupTableDataSet ltds, bool validateOnly, bool autoCheckIn, int language) {

                Helper.Trace.WriteMessage("5.1. Inside update referecne memthod...");
                EventLog eventlog = new EventLog();
                eventlog.Source = "CostCodeSync";

                     this.Invoke("UpdateLookupTables", new object[] {
                            ltds,
                            validateOnly,
                            autoCheckIn,
                            language          

                });
            }

    and getting the error as mentioned above. Please advise.

    Regards,

    Komal

    Wednesday, June 5, 2019 10:05 AM
  • Komal,

    Okay, sorry, what you are trying to do is beyond my scope of knowledge. Hopefully someone else will jump in with an answer.

    John

    Wednesday, June 5, 2019 2:25 PM
  • Please can someone help on this issue.

    Thanks,

    Komal

    Tuesday, July 16, 2019 9:54 AM
  • We were able to finally resolve this issue by updating the web.config file in following location:

    C:\Program Files\Microsoft Office Servers\14.0\WebServices\Shared\ProjectServer\PSI

    We have added the following code in web.config file:

    <system.web>
    <httpRuntime maxRequestLength="10240" />
    </system.web>

    Wednesday, October 16, 2019 2:26 AM