Quickbook deskop how to access from network system

0

Hi i am creating a EXE that will access Quickbook database network folder and read data. For he same i am using QBXMLRP2Lib;

            XmlDocument inputXMLDoc = new XmlDocument();
            inputXMLDoc.AppendChild(inputXMLDoc.CreateXmlDeclaration("1.0", "utf-8", null));
            inputXMLDoc.AppendChild(inputXMLDoc.CreateProcessingInstruction("qbxml", "version=\"13.0\""));
            XmlElement qbXML = inputXMLDoc.CreateElement("QBXML");
            inputXMLDoc.AppendChild(qbXML);
            XmlElement qbXMLMsgsRq = inputXMLDoc.CreateElement("QBXMLMsgsRq");
            qbXML.AppendChild(qbXMLMsgsRq);
            qbXMLMsgsRq.SetAttribute("onError", "stopOnError");
            XmlElement custAddRq = inputXMLDoc.CreateElement("SalesOrderQueryRq");
            qbXMLMsgsRq.AppendChild(custAddRq);
            custAddRq.SetAttribute("requestID", "1");

            string input = inputXMLDoc.OuterXml;
            RequestProcessor2 rp = null;
            string ticket = null;
            string response = null;
             try
            {
                rp = new RequestProcessor2();
                rp.OpenConnection("", "BGVV");
                ticket = rp.BeginSession(QBDBPath, QBFileMode.qbFileOpenDoNotCare);
                response = rp.ProcessRequest(ticket, input);
             }
            catch (System.Runtime.InteropServices.COMException ex)
            {
                errLog.LogsWriteQB(ex);
                
            }

i am getting issue Retrieving the COM class factory for component with CLSID {C693D8F1-180B-4F82-B735-8F511B566718} failed due to the following error: 8007007e The specified module could not be found. (Exception from HRESULT: 0x8007007E).

Help me to figure out this issue.

c#
windows-forms-designer
quickbooks
quickbook-desktop
asked on Stack Overflow Jul 4, 2020 by A.Goutam

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0