gpt4 book ai didi

xml - Quickbooks Web 连接器错误 - 长度不能小于零

转载 作者:数据小太阳 更新时间:2023-10-29 01:58:24 28 4
gpt4 key购买 nike

尝试将 Quickbooks Web 连接器从一台计算机连接到另一台计算机

<?xml version="1.0"?>
<QBWCXML>
<AppName>QuickBooks WC Test</AppName>
<AppID />
<AppURL>https://localhost3.dd</AppURL>
<AppDescription>Test</AppDescription>
<AppSupport>https://localhost3.dd</AppSupport>
<UserName>Admin</UserName>
<OwnerID>{90A44FB7-33D9-4815-AC85-AC86A7E7D1EB}</OwnerID>
<FileID>{57F3B9B6-86F1-4FCC-B1FF-967DE1813D20}</FileID>
<QBType>QBFS</QBType>
<IsReadOnly>false</IsReadOnly>
</QBWCXML>

我的主机设置为:

<IP of other comp>  localhost3
<IP of other comp> localhost3.dd

另一台计算机上的 URL 是 https://localhost3.dd在8443端口

但是我得到了错误:

Length cannot be less than zero.
Parameter name: length

The new application was not added.

这似乎是一个通用的 C# 错误。

Cannot access a disposed object.
Object name: 'QBWCOpenDialog'.

QBWC1051: The new application was not added

什么会导致这种情况?连接或我用于连接的 XML 是否存在问题?

使用请求的信息进行编辑:

Web Connector 版本是 2.1.0.30,Quickbooks 版本是 Premier Professional Services Edition 2015。这是我正在使用的实际 QWC 文件。

这是日志文件:

20120201.23:43:22 UTC   : QBWebConnector.CompanyFileLock.getLock() : Got Lock = LOCKED:DAN-PC:634637365991413480
20120201.23:43:22 UTC : QBWebConnector.CompanyFileLock.Send_DataExtModRqXML() : XML dump follows: -

<?xml version="1.0"?><?qbxml version="11.0"?><QBXML><QBXMLMsgsRq onError="stopOnError"><DataExtModRq requestID="1"><DataExtMod><OwnerID>{57F3B9B1-86F1-4fcc-B1EE-566DE1813D20}</OwnerID><DataExtName>AppLock</DataExtName><OtherDataExtType>Company</OtherDataExtType><DataExtValue>UNLOCKED:DAN-PC</DataExtValue></DataExtMod></DataExtModRq></QBXMLMsgsRq></QBXML>

20120201.23:43:22 UTC : QBWebConnector.CompanyFileLock.Send_DataExtModRqXML() : XML dump follows: -

<?xml version="1.0" ?>
<QBXML>
<QBXMLMsgsRs>
<DataExtModRs requestID="1" statusCode="0" statusSeverity="Info" statusMessage="Status OK">
<DataExtRet>
<OwnerID>{57F3B9B1-86F1-4FCC-B1EE-566DE1813D20}</OwnerID>
<DataExtName>AppLock</DataExtName>
<DataExtType>STR255TYPE</DataExtType>
<DataExtValue>UNLOCKED:DAN-PC</DataExtValue>
</DataExtRet>
</DataExtModRs>
</QBXMLMsgsRs>
</QBXML>


20120201.23:43:22 UTC : QBWebConnector.CompanyFileLock.unsetLock() : Company file has been unlocked for ownerID = <{57F3B9B1-86F1-4fcc-B1EE-566DE1813D20}>
20120201.23:43:22 UTC : QBWebConnector.SOAPWebService.update() : Company file has been unlocked.
20120201.23:43:22 UTC : QBWebConnector.SOAPWebService.update() : Ending session to QuickBooks.
20120201.23:43:22 UTC : QBWebConnector.SOAPWebService.DisconnectFromQB() : Session ended and connection closed
20120201.23:43:22 UTC : QBWebConnector.SOAPWebService.do_closeConnection() : *** Calling closeConnection() with following parameter:<wcTicket="2J3uBVZzBTEKl9x4izkjntfXvK1Fs6j8fdjX-wOluV0">
20120201.23:43:23 UTC : QBWebConnector.SOAPWebService.do_closeConnection() : Received from closeConnection() following parameter:<ccResponse="OK">
20120201.23:43:23 UTC : QBWebConnector.SOAPWebService.do_closeConnection() : CloseConnection called to application.
20120201.23:43:23 UTC : QBWebConnector.SOAPWebService.do_closeConnection() : Response received from application = OK
20120201.23:43:23 UTC : QBWebConnector.RegistryManager.setUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock has been set to False
20120201.23:43:23 UTC : QBWebConnector.RegistryManager.setUpdateLock() : ********************* Update session unlocked *********************
20120201.23:43:23 UTC : QBWebConnector.SOAPWebService.update() : update completed.
20120201.23:43:23 UTC : QBWebConnector.WebServiceManager.DoUpdateSelected() : Update for application = 'Motawi Quickbooks' has COMPLETED
20120201.23:43:23 UTC : QBWebConnector.WebServiceManager.DoUpdateSelected() : Update session has ended.
20120712.14:51:56 UTC : QBWebConnector.RegistryManager.setUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock has been set to False
20120712.14:51:56 UTC : QBWebConnector.RegistryManager.setUpdateLock() : ********************* Update session unlocked *********************
20120712.14:51:56 UTC : StopFlexConnector : Object reference not set to an instance of an object.
20120712.14:51:56 UTC : StopFlexConnector : at QBWebConnector.QBWebConnector.StopFlexConnector()

最佳答案

遇到同样的错误,在 <AppUrl> 末尾添加尾部斜杠时它开始工作网址值

关于xml - Quickbooks Web 连接器错误 - 长度不能小于零,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43186649/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com