QBWC1013:连接到 QuickBooks 时出错.0x80040408 [英] QBWC1013: Error connecting to QuickBooks. 0x80040408

查看:52
本文介绍了QBWC1013:连接到 QuickBooks 时出错.0x80040408的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在获取 QuickBooks Web 连接器时遇到问题.当它运行时,日志说

I am having trouble getting the QuickBooks Web Connector. When it runs the logs says

...

20130411.15:29:07 UTC   : QBWebConnector.SOAPWebService.do_serverVersion() : *** Calling serverVersion().
20130411.15:29:07 UTC   : QBWebConnector.SOAPWebService.do_serverVersion() : Received from serverVersion() following parameter:<serverVersionRet="testing version">
20130411.15:29:08 UTC   : QBWebConnector.SOAPWebService.do_clientVersion() : *** Calling clientVersion() with following parameter:<productVersion="2.1.0.27">
20130411.15:29:08 UTC   : QBWebConnector.SOAPWebService.do_clientVersion() : Received from clientVersion() following parameter:<clientVersionRet="">
20130411.15:29:08 UTC   : QBWebConnector.SOAPWebService.do_clientVersion() : This application agrees with the current version of QBWebConnector. Allowing update operation.
20130411.15:29:08 UTC   : QBWebConnector.SOAPWebService.do_authenticate() : Authenticating to application 'QBServices Raw Soap', username = 'test'
20130411.15:29:08 UTC   : QBWebConnector.SOAPWebService.do_authenticate() : *** Calling authenticate() with following parameters:<userName="test"><password=<MaskedForSecurity>
20130411.15:29:08 UTC   : QBWebConnector.SOAPWebService.updateWS() : Received from authenticate() following parameters:<authRet[0]=""><authRet[1]="0"><authRet[2]=""><authRet[3]="">
20130411.15:29:08 UTC   : QBWebConnector.RegistryManager.setCurrentWebServiceName() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\CurrentWebServiceName has been set to QBServices Raw Soap
20130411.15:29:08 UTC   : QBWebConnector.RegistryManager.setCurrentWebServiceSessionTicket() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\CurrentWebServiceSessionTicket has been set to 
20130411.15:29:08 UTC   : QBWebConnector.SOAPWebService.CheckCFNResponse() : User authenticated.
20130411.15:29:08 UTC   : QBWebConnector.SOAPWebService.do_authenticate() : Done.
20130411.15:29:08 UTC   : QBWebConnector.SOAPWebService.OpenConnection() : Connecting to QuickBooks...
20130411.15:29:08 UTC   : QBWebConnector.SOAPWebService.handleAllOtherError() : QBWC1013: Error connecting to QuickBooks. Returning error message to application.
Could not start QuickBooks.
20130411.15:29:08 UTC   : QBWebConnector.SOAPWebService.do_connectionError() : *** Calling connectionError() with following parameters:<wcTicket=""><hresult="0x80040408"><message="Could not start QuickBooks.">
20130411.15:29:08 UTC   : QBWebConnector.SOAPWebService.do_connectionError() : Received from connectionError() following parameters:<tryAgain="done">
20130411.15:29:08 UTC   : QBWebConnector.SOAPWebService.OpenConnection() : Error connecting to QuickBooks. Application sent back DONE. Job ending.
20130411.15:29:08 UTC   : QBWebConnector.RegistryManager.setUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock has been set to False
20130411.15:29:08 UTC   : QBWebConnector.RegistryManager.setUpdateLock() : ********************* Update session unlocked *********************
20130411.15:29:08 UTC   : QBWebConnector.WebServiceManager.DoUpdateSelected() : Update completed with errors. See log (QWClog.txt) for details.

当我收到这条消息时,QuickBooks 已打开.QuickBooks 中的应用程序允许自动登录.我读到如果服务未提供文件,则将使用打开的文件,但它不起作用.我也从我的肥皂服务返回了路径,但它仍然没有用,我重新启动并再次尝试,但没有用,我创建了一家新公司来测试遗嘱,但它没有用.

QuickBooks is open when I get this message. The application in QuickBooks is allowed to login automatically. I read that if a file is not given from the services then the open file will be used but it isn't working. I also returned the path from my soap services but it still didn't work I reboot and tried again but that didn't work and I made a new company to test will and it didn't work.

任何想法都会有所帮助.

Any thoughts would be helpful.

推荐答案

这是你的问题 - 你返回了错误的东西:

This is your problem - you're returning the wrong thing:

20130411.15:29:08 UTC   : QBWebConnector.SOAPWebService.updateWS() : 
Received from authenticate() following parameters:
<authRet[0]="">
<authRet[1]="0">
<authRet[2]="">
<authRet[3]="">

要返回的正确参数集遵循以下格式:

The correct set of parameters to return follows this format:

  • authRet[0] = 有效的会话票证(如果登录成功)
  • authRet[1] = QuickBooks 公司文件的路径(例如"C:\path\to\file.QBW") 或字符串 "none"(如果没有什么可do) 或字符串nvu"(如果登录无效)
  • authRet[2] = 这个是可选,你可以发送一个空字符串或一个整数表示下一次更新前等待的分钟数
  • authRet[3]= 这是可选,您可以发送一个空字符串或一个整数,指示 Web 连接器应该使用的最小秒数允许在更新会话之间
  • authRet[0] = a valid session ticket (if the login was successful)
  • authRet[1] = the path to the QuickBooks company file (e.g. "C:\path\to\file.QBW") or the string "none" (if there's nothing to do) or the string "nvu" (if the login was invalid)
  • authRet[2] = this is optional, you may send an empty string or an integer indicating the number of minutes to wait before doing the next update
  • authRet[3] = this is optional, you may send an empty string or an integer indicating the minimum number of seconds the web connector should allow between update sessions

我们的QuickBooks 集成维基对此进行了更详细的记录.

This is documented in more detail on our QuickBooks integration wiki.

你做了什么来修复它:

我开始将我的 qwc 文件中的 FileID 作为第一个元素返回由身份验证返回的数组,现在似乎可以工作了.

I started returning the FileID in my qwc file as the first element in the array returned by authenticate and it seems to work now.

非常不安全 - 这意味着任何发现 FileID(绝对可以暴力破解或可通过社会工程策略发现)的人都将能够连接到您的 SOAP Web 服务并提取潜在的敏感会计信息(信用卡号、客户等)

Is terribly insecure - that means that anyone who discovers that FileID (which is definitely brute-force-able or discover-able via social engineering tactics) will be able to connect to your SOAP web service and extract potentially sensitive accounting information (credit card numbers, customers, etc.)

您应该修复您的服务以返回一个有效的、短暂的会话令牌.

You should fix your service to return a valid, short-lived, session token instead.

这篇关于QBWC1013:连接到 QuickBooks 时出错.0x80040408的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆