快速手册关闭时,Web连接器未连接

时间:2018-06-27 15:16:36

标签: quickbooks

  1. 我有两家公司(qbc文件)
  2. 第一家公司对qbc文件进行密码验证,第二家公司没有任何密码验证。
  3. 我在quickbooks桌面应用中打开了这两个文件,并关闭了quickbooks
  4. 对我来说,第二家公司正在通过Web连接器进行身份验证,而对第一家公司而言,它没有进行身份验证(两家公司都在打开Quickbooks上工作正常)。

通过身份验证,我的代码是这样的

我这样写的身份验证

公共字符串[]身份验证(字符串strUserName,字符串strPassword)         {

            string[] authReturn = new string[2];
            string evLogTxt = "WebMethod: authenticate() has been called by QBWebconnector" + "\r\n\r\n";
            evLogTxt = evLogTxt + "Parameters received:\r\n";
            evLogTxt = evLogTxt + "string strUserName = " + strUserName + "\r\n";
            evLogTxt = evLogTxt + "string strPassword = " + strPassword + "\r\n";
            evLogTxt = evLogTxt + "\r\n";

                authReturn[0] = System.Guid.NewGuid().ToString();
                authReturn[1] = @"G:\QB insalation files\qbw files\QBfilename.QBW";

            evLogTxt = evLogTxt + "\r\n";
            evLogTxt = evLogTxt + "Return values: " + "\r\n";
            evLogTxt = evLogTxt + "string[] authReturn[0] = " + authReturn[0].ToString() + "\r\n";
            evLogTxt = evLogTxt + "string[] authReturn[1] = " + authReturn[1].ToString();

            return authReturn;


    }

有人可以帮我吗

预先感谢

0 个答案:

没有答案