I am using accessing QuickBooks Desktop Enterprise 2016 with QBFC SDK version 12. I am using a qbXML file with the SDKTestPlust3 application. I modified the QBW.INI file with the following entries but it didn't seem to help any. I have run Utilities | Rebuild Data with no reported issues.
[DBSERVEROPTIONS]
InitialCache=512
MaxCache=0
The CustomerModRq causes QuickBooks to crash with an unrecoverable error after which it terminates. The CustomerModRq causes this error on an intermittent basis but degrades until it happens every time and I have to reboot the machine to get back to some successes. The ShipToAddress Name value is correct and the EditSequence value is updated appropriately every time.
<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="12.0"?>
<QBXML>
<QBXMLMsgsRq onError = "stopOnError">
<CustomerModRq requestID = "0">
<CustomerMod>
<ListID>8000000A-1308669896</ListID>
<EditSequence>1471365900</EditSequence>
<ShipToAddress>
<Name>Ship To 1210</Name>
<Addr1>My Data</Addr1>
<Addr2>My Data</Addr2>
<City>My Data</City>
<State>FL</State>
<PostalCode>32259</PostalCode>
<DefaultShipTo>1</DefaultShipTo>
</ShipToAddress>
</CustomerMod>
</CustomerModRq>
</QBXMLMsgsRq>
</QBXML>
Here is a copy of the qbsdklog.txt
20160816.124931 I 3760 RequestProcessor ========= Started Connection =========
20160816.124931 I 3760 RequestProcessor Request Processor, QBXMLRP2 v13.0
20160816.124931 I 3760 RequestProcessor Connection opened by app named 'SDKTest Plus 3'
20160816.124933 D 3760 RequestProcessor Begin Session started...
20160816.124933 I 3760 RequestProcessor OS: Microsoft Windows 7 Ultimate Edition Service Pack 1 (build 7601), 64-bit
20160816.124933 I 3760 RequestProcessor Current Process is elevated
20160816.124933 I 3760 RequestProcessor Current User is in AdminGroup
20160816.124933 I 3760 RequestProcessor Current Process is ran as Admin
20160816.124933 I 3760 RequestProcessor Current Process Integrity Level : 3000
20160816.124933 V 3760 RequestProcessor Not in-proc request.
20160816.124933 D 3760 RequestProcessor File info: no file provided.
20160816.124933 D 3760 RequestProcessor Getting an instance of pRunningInfo using pRunningInstanceFinder
20160816.124933 D 3760 RequestProcessor GetmajorVersion
20160816.124933 D 3760 RequestProcessor GetReleaseNumber
20160816.124933 D 3760 RequestProcessor Getflavor
20160816.124933 D 3760 RequestProcessor GetdataFileVersion
20160816.124933 D 3760 RequestProcessor There is a running version of QuickBooks: v26.0R7 (2607), belprofessional, bel_stratum
20160816.124933 D 3760 RequestProcessor Starting QuickBooks (no launch)
20160816.124933 D 3760 RequestProcessor Performing QB Launch Retries
20160816.124933 D 3760 RequestProcessor Check QB process ID before calling instance finder to find it.
20160816.124933 D 3760 RequestProcessor Process Found -> 4428 for Current User -> Phil
20160816.124933 V 3760 RequestProcessor QBW32.exe Proc Id: 4428
20160816.124933 I 3760 RequestProcessor Getting the IUnknown COM instance of QB
20160816.124933 D 3760 RequestProcessor Obtained the IUnknown COM instance of QB without an exception
20160816.124933 D 3760 RequestProcessor QuickBooks launch succeeded.
20160816.124933 D 3760 RequestProcessor get_CompanyFileIsOpen call successful
20160816.124933 D 3760 RequestProcessor Check if the requested company file is already open.
20160816.124933 D 3760 RequestProcessor yes. It is open.
20160816.124933 I 3760 RequestProcessor Opening the file in the DoNotCare mode.
20160816.124933 D 3760 RequestProcessor Attempt getting the Request Processor interface
20160816.124933 D 3760 RequestProcessor Got query interface pointer till pReqProc2
20160816.124933 D 3760 RequestProcessor Got query interface pointer till pReqProc3
20160816.124933 D 3760 RequestProcessor Got query interface pointer till pReqProc4
20160816.124933 D 3760 RequestProcessor Got query interface pointer till pReqProc5
20160816.124933 D 3760 RequestProcessor Calling raw_SDKOpenFile4
20160816.124933 D 3760 RequestProcessor Successfully opened the data file: C:\Temp\My Data.QBW
20160816.124935 D 3760 RequestProcessor COM access to QuickBooks starting ...
20160816.124935 I 4428 QBSDKProcessRequest Application named 'SDKTest Plus 3' starting requests (process 3760).
20160816.124935 V 4428 QBSDKProcessRequest ===============================================
20160816.124935 V 4428 QBSDKProcessRequest Begin dumping request data received from client
20160816.124935 V 4428 QBSDKProcessRequest ===============================================
20160816.124935 V 4428 QBSDKProcessRequest <?xml version="1.0" encoding="utf-8"?><?qbxml version="12.0"?><QBXML><QBXMLMsgsRq onError = "stopOnError"><CustomerModRq requestID = "0"><CustomerMod><ListID>8000000A-1308669896</ListID><EditSequence>1471365900</EditSequence><ShipToAddress><Name>Ship To 1210</Name><Addr1>My Data</Addr1><Addr2>My Data</Addr2><City>My Data</City><State>FL</State><PostalCode>32259</PostalCode><DefaultShipTo>1</DefaultShipTo></ShipToAddress></CustomerMod></CustomerModRq></QBXMLMsgsRq></QBXML>
20160816.124935 V 4428 QBSDKProcessRequest ================================================
20160816.124935 V 4428 QBSDKProcessRequest End dumping of request data received from client
20160816.124935 V 4428 QBSDKProcessRequest ================================================
20160816.124935 D 4428 MacroManager::DumpMacroMap Map contains no entries
20160816.124935 V 4428 XercesSAXParseManager Using Xerces-c parser, version 2_5_0
20160816.124935 V 4428 XMLDtdMapper TransformProcessingInstruction using DOCTYPE: <!DOCTYPE QBXML PUBLIC '-//INTUIT//DTD QBXML QBD 12.0//EN' 'http://developer.intuit.com'>
20160816.124935 V 4428 XercesSAXEntityResolver Resolving public ID: -//INTUIT//DTD QBXML QBD 12.0//EN
20160816.124935 V 4428 XercesSAXEntityResolver qbxmlops120.dtd
20160816.124935 V 4428 ParseManager Getting SDKResource: qbxmlops120.dtd
20160816.124935 V 4428 XercesSAXEntityResolver Resolving Public Entity took 0.0150 seconds
20160816.124935 V 4428 XercesSAXEntityResolver Resolving system ID: qbxml120.dtd
20160816.124935 V 4428 ParseManager Getting SDKResource: qbxml120.dtd
20160816.124935 V 4428 XercesSAXEntityResolver Resolving System Entity took 0.0000 seconds
20160816.124935 V 4428 XercesSAXEntityResolver Resolving system ID: qbxmlso120.dtd
20160816.124935 V 4428 ParseManager Getting SDKResource: qbxmlso120.dtd
20160816.124935 V 4428 XercesSAXEntityResolver Resolving System Entity took 0.0000 seconds
20160816.124935 D 4428 QBXMLMsgs CustomerModRq
20160816.124935 I 4428 SpecVersion Current version of qbXML in use: 12.0
20160816.124935 D 4428 MsgSetHandler Parsing took 0.0470 seconds
20160816.124935 I 4428 QBSDKMsgSetHandler MODIFY: Customer Job
20160816.124935 E 4428 StorageInterface *** UNKNOWN EXCEPTION THROWN WHEN PROCESSING THE MOD REQUEST ***. This is an indication of a possible internal QuickBooks error.
20160816.124949 E 3760 RequestProcessor Process Request error = 800706be
20160816.124949 D 3760 RequestProcessor Processing requests took 13.970 seconds.
I will follow up with a support request. FYI, this is the same company file in another support request with the large number of Ship To Addresses under the top level Customer.
Best Regards
Related
I have a Grails application in Openshift and I've recently upgraded my plan from free to silver and I need to migrate my application from non scalable to scalable, to do this I used the command rhc create-app --from-app app --scaling. After a while the new app is created but when I run it, it doesn't load the app, just the by default tomcat first screen.
Update: The logs of the new app show this:
==> app-root/logs/haproxy_ctld.log <==
I, [2015-04-18T01:02:28.949500 #163665] INFO -- : Starting haproxy_ctld
I, [2015-04-18T08:28:39.200616 #496980] INFO -- : Starting haproxy_ctld
==> app-root/logs/haproxy.log <==
[WARNING] 107/010224 (167630) : config : log format ignored for proxy 'express' since it has
no log address.
[WARNING] 107/012317 (167630) : Server express/local-gear is DOWN for maintenance.
[ALERT] 107/012317 (167630) : proxy 'express' has no server available!
[WARNING] 107/082838 (496963) : config : log format ignored for proxy 'stats' since it has n
o log address.
[WARNING] 107/082838 (496963) : config : log format ignored for proxy 'express' since it has
no log address.
[WARNING] 107/082838 (496963) : Server express/local-gear is DOWN, reason: Layer4 connection
problem, info: "Connection refused", check duration: 0ms. 0 active and 0 backup servers lef
t. 0 sessions active, 0 requeued, 0 remaining in queue.
[ALERT] 107/082838 (496963) : proxy 'express' has no server available!
[WARNING] 107/082851 (496963) : Server express/local-gear is UP, reason: Layer7 check passed
, code: 200, info: "HTTP status check returned code <3C>200<3E>", check duration: 2ms. 1 act
ive and 0 backup servers online. 0 sessions requeued, 0 total in queue.
[WARNING] 107/085928 (496963) : Server express/local-gear is DOWN for maintenance.
[ALERT] 107/085928 (496963) : proxy 'express' has no server available!
==> app-root/logs/jbossews.log <==
Apr 18, 2015 8:28:47 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3727 ms
Apr 18, 2015 8:59:28 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-127.7.39.1-8080"]
Apr 18, 2015 8:59:28 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Apr 18, 2015 8:59:28 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-127.7.39.1-8080"]
Apr 18, 2015 8:59:28 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-127.7.39.1-8080"]
b
From last two years on tomcat I am using this configuration for database connection pooling in tomcat
<Resource auth="Container"
driverClassName="com.mysql.jdbc.Driver"
logAbandoned="true"
maxActive="100"
maxIdle="30"
maxWait="10000"
name="jdbc/maindb"
password="xxxxx"
removeAbandoned="true"
removeAbandonedTimeout="60"
type="javax.sql.DataSource"
url="jdbc:mysql://localhost:3306/maindb?zeroDateTimeBehavior=convertToNull"
connectionProperties="useEncoding=true;"
username="sqladmin" validationQuery="select 1"/>
On production server, from last one month, with this configuration - suddenly tomcat stop responding to any requests. And results in timeout. There is no errors in logs, but as soon as I shutdown tomcat a huge amount of error log comes, which seems to show some kind of deadlock in database connections.
To rectify it, I used database connection pooling configuration from http://tomcat.apache.org/tomcat-8.0-doc/jdbc-pool.html . After using this configuration, now I face two problems, on production, either a table lock occurs even after using INNODB engine, or some queries start returning empty result set even when query is perfectly fine.
<Resource name="jdbc/maindb"
auth="Container"
type="javax.sql.DataSource"
factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
testWhileIdle="true"
testOnBorrow="true"
testOnReturn="false"
validationQuery="SELECT 1"
validationInterval="30000"
timeBetweenEvictionRunsMillis="30000"
maxActive="100"
minIdle="10"
maxWait="10000"
initialSize="10"
removeAbandonedTimeout="60"
removeAbandoned="true"
logAbandoned="true"
minEvictableIdleTimeMillis="30000"
jmxEnabled="true"
jdbcInterceptors="org.apache.tomcat.jdbc.pool.interceptor.ConnectionState;
org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer"
username="sqladmin"
password="xxxxx"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/maindb"/>
In case of first configuration, after shutting down tomcat following error logs start coming
04-Feb-2015 20:44:46.048 INFO [main] org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance.
04-Feb-2015 20:44:46.049 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-8080"]
04-Feb-2015 20:44:46.100 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-apr-8009"]
04-Feb-2015 20:44:46.151 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service Catalina
04-Feb-2015 20:44:46.157 INFO [localhost-startStop-2] org.apache.catalina.core.StandardWrapper.unload Waiting for 81 instance(s) to be deallocated for Servlet [dispatcher]
04-Feb-2015 20:44:47.158 INFO [localhost-startStop-2] org.apache.catalina.core.StandardWrapper.unload Waiting for 81 instance(s) to be deallocated for Servlet [dispatcher]
04-Feb-2015 20:44:48.160 INFO [localhost-startStop-2] org.apache.catalina.core.StandardWrapper.unload Waiting for 81 instance(s) to be deallocated for Servlet [dispatcher]
04-Feb-2015 20:44:48.260 INFO [localhost-startStop-2] org.springframework.context.support.AbstractApplicationContext.doClose Closing WebApplicationContext for namespace 'dispatcher-servlet': startup date [Tue Feb 03 18:26:26 UTC 2015]; parent: Root WebApplicationContext
04-Feb-2015 20:44:48.307 INFO [localhost-startStop-2] org.springframework.context.support.AbstractApplicationContext.doClose Closing Root WebApplicationContext: startup date [Tue Feb 03 18:26:24 UTC 2015]; root of context hierarchy
04-Feb-2015 20:44:48.310 INFO [localhost-startStop-2] org.springframework.scheduling.concurrent.ExecutorConfigurationSupport.shutdown Shutting down ExecutorService 'taskExecutor'
04-Feb-2015 20:44:48.329 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] is still processing a request that has yet to finish. This is very likely to create a memory leak. You can control the time allowed for requests to finish by using the unloadDelay attribute of the standard Context implementation. Stack trace of request processing thread:
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
org.apache.tomcat.dbcp.pool2.impl.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:582)
org.apache.tomcat.dbcp.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:439)
org.apache.tomcat.dbcp.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:360)
org.apache.tomcat.dbcp.dbcp2.PoolingDataSource.getConnection(PoolingDataSource.java:118)
org.apache.tomcat.dbcp.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1412)
com.myproj.dao.ConnectionPool.getConnection(ConnectionPool.java:41)
And in second case following error logs comes, while doing certain operation
22-Jan-2015 16:36:04.077 SEVERE [http-apr-8080-exec-2] com.myproj.dao.cart.impl.VisitorCartDaoImpl.addCartItem Lock wait timeout exceeded; try restarting transaction
java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:996)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3887)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3823)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2435)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2582)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2530)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1907)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2141)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2077)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2062)
at com.myproj.dao.cart.impl.VisitorCartDaoImpl.addCartItem(VisitorCartDaoImpl.java:96)
Is there anything wrong with the configuration or with the database? I am using MySQL 5.6 as the database and on production, mySQL is running on amazon RDS. And I am using tomcat 8.0.15
I'm having trouble connecting TeamCity server (TeamCity Enterprise 8.0.6 (build 27767)) to Viusal Studio Online. I have searched and read many articals with the following being helpful : -
Connecting TeamCity to TFS
Connecting TFS to TeamCity
Unfortunately these did not solve the current issue.
I can successfully connect to (https://bobtbuilder.visualstudio.com) via VS2013 as well as via web browser using the bob.t.builder#live.co.uk credentials. I have set up the Alternative authentication Credentials and try all combinations, but from the error log below the issue does not appear to be authentication based.
Here is the current error message : -
TFS failed. ExitCode: 111, command: "D:\Program Files (x86)\TeamCity\webapps\ROOT\WEB-INF\plugins\tfs\bin\tfs-native.exe" "##D:\Program Files (x86)\TeamCity\temp\TC-TFS-23-1111_263\command.params", in file: {https://bobtbuilder.visualstudio.com/DefaultCollection, /user:***** /password:***** /hash:S, /noProxy, D:\Program Files (x86)\TeamCity\temp\TC-TFS-23-1111_262.result, ConnectionTest, $/Builder}, completed in: 63 second(s)
stdout: TFS Native Verifier v8.0 Copyright (C) 2006-2013 JetBrains s.r.o.
Running under .NET Framework 4.0.30319.18408
INFO -
INFO - Use Team Explorer 2013
INFO -
TFS Native Accessor v8.0 Copyright (C) 2006-2013 JetBrains s.r.o.
INFO - Connecting to server https://bobtbuilder.visualstudio.com/DefaultCollection
INFO - WebProxy is disabled
Connection test:
Server='https://bobtbuilder.visualstudio.com/DefaultCollection'
Username='##LIVE##bob.t.builder#live.co.uk'
Root='$/Builder'
ERROR - TF400324: Team Foundation services are not available from server https://bobtbuilder.visualstudio.com/DefaultCollection.
Technical information (for administrator):
Unable to connect to the remote server
System.Exception: TF400324: Team Foundation services are not available from server https://bobtbuilder.visualstudio.com/DefaultCollection.
Technical information (for administrator):
Unable to connect to the remote server ---> Microsoft.TeamFoundation.TeamFoundationServiceUnavailableException: TF400324: Team Foundation services are not available from server https://bobtbuilder.visualstudio.com/DefaultCollection.
Technical information (for administrator):
Unable to connect to the remote server ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 65.52.8.37:443
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.SendRequestAndGetResponse(HttpWebRequest webRequest, WebException& webException)
--- End of inner exception stack trace ---
at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.ReadResponse(HttpWebResponse webResponse, WebException webException)
at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.IsAuthenticationChallenge(TfsMessage requestMessage, HttpWebResponse webResponse, WebException webException, TfsMessage& responseMessage)
at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.SendRequest()
at Microsoft.TeamFoundation.Client.Channels.TfsHttpRequestChannel.Request(TfsMessage message, TimeSpan timeout)
at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation, Object[] parameters, TimeSpan timeout, Object[]& outputs)
at Microsoft.TeamFoundation.Framework.Client.Registration.GetRegistrationEntries(String toolId)
at Microsoft.TeamFoundation.Framework.Client.RegistrationProxy.GetRegistrationEntries(String toolId)
at Microsoft.TeamFoundation.Framework.Client.RegistrationService.RefreshMemoryCache()
at Microsoft.TeamFoundation.Framework.Client.RegistrationService.RefreshCachesIfNeeded(Boolean direct)
at Microsoft.TeamFoundation.Framework.Client.RegistrationService.GetRegistrationEntries(String toolId)
at Microsoft.TeamFoundation.Framework.Client.PreFrameworkServerDataProvider.FindServiceLocation(String serviceType, String toolId)
at Microsoft.TeamFoundation.Framework.Client.PreFrameworkServerDataProvider.LocationForCurrentConnection(String serviceType, Guid serviceIdentifier)
at Microsoft.TeamFoundation.Client.TfsConnection.EnsureProviderConnected()
at Microsoft.TeamFoundation.Client.TfsConnection.Disconnect()
at JetBrains.TeamCity.Tfs.TfsLogin.TFSDispose(TfsTeamProjectCollection t) in c:\BuildAgent\work\23f504c63c17dfdf\TfsNativeAccessor\src\TfsLogin_VS12.cs:line 17
at JetBrains.TeamCity.Tfs.TfsLoginBase`1.DoWithAuthenticatedConnection(String server, String username, String password, JBAction`1 action) in c:\BuildAgent\work\23f504c63c17dfdf\TfsNativeAccessor\src\TfsLogin.cs:line 48
at JetBrains.TeamCity.Tfs.Command.Do() in c:\BuildAgent\work\23f504c63c17dfdf\TfsNativeAccessor\src\Command.cs:line 27
at JetBrains.TeamCity.Tfs.Program.Main(String[] args) in c:\BuildAgent\work\23f504c63c17dfdf\TfsNativeAccessor\src\Program.cs:line 134
--- End of inner exception stack trace ---
at JetBrains.TeamCity.Tfs.Program.Main(String[] args) in c:\BuildAgent\work\23f504c63c17dfdf\TfsNativeAccessor\src\Program.cs:line 438
Any help appreciated
I had almost exactly this problem and it was due to the companies proxy farking it up. You fix it by adding a file called internal.properties in your teamcity\data\config
with
teamcity.tfs.useSystemProxy=true
Obviously.
I have a user who is having a issues running a QuickBooks Web Connector service.
Version:
1.2
Message:
Application requested to abort
Description:
Error connecting to QuickBooks. Error message received from QuickBooks was . Application has sent back a DONE via
connectionError. More information in available in the log file (click View Log button
from main window). Update aborted per request from application.
This is his log:
QuickBooks Web Connector 2.1.0.30 has started.
Tuesday, June 11, 2013 at 5:24:37 PM
20130611.21:24:37 UTC : QBWebConnector_Load() : QBWC Form Loaded
20130611.21:24:46 UTC : QBWebConnector.WebServiceManager.DoUpdateSelected() : updateWS() for application = 'HunterInvoices' has STARTED
20130611.21:24:46 UTC : QBWebConnector.RegistryManager.getUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock = FALSE
20130611.21:24:46 UTC : QBWebConnector.RegistryManager.setUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock has been set to True
20130611.21:24:46 UTC : QBWebConnector.RegistryManager.setUpdateLock() : ********** Update session locked **********
20130611.21:24:47 UTC : QBWebConnector.SOAPWebService.instantiateWebService() : Initiated connection to the following application.
20130611.21:24:47 UTC : QBWebConnector.SOAPWebService.instantiateWebService() : AppName: HunterInvoices
20130611.21:24:47 UTC : QBWebConnector.SOAPWebService.instantiateWebService() : AppUniqueName (if available): HunterInvoices
20130611.21:24:47 UTC : QBWebConnector.SOAPWebService.instantiateWebService() : AppURL: https://srv-iweb-01.hunter.com/HunterInvoices/HunterInvoices.asmx
20130611.21:24:47 UTC : QBWebConnector.SOAPWebService.do_serverVersion() : * Calling serverVersion().
20130611.21:24:48 UTC : QBWebConnector.SOAPWebService.do_serverVersion() : Received from serverVersion() following parameter:
20130611.21:24:48 UTC : QBWebConnector.SOAPWebService.do_clientVersion() : * Calling clientVersion() with following parameter:
20130611.21:24:48 UTC : QBWebConnector.SOAPWebService.do_clientVersion() : Received from clientVersion() following parameter:
20130611.21:24:48 UTC : QBWebConnector.SOAPWebService.do_clientVersion() : This application agrees with the current version of QBWebConnector. Allowing update operation.
20130611.21:24:48 UTC : QBWebConnector.SOAPWebService.do_authenticate() : Authenticating to application 'HunterInvoices', username = '360030'
20130611.21:24:48 UTC : QBWebConnector.SOAPWebService.do_authenticate() : * Calling authenticate() with following parameters:
20130611.21:24:49 UTC : QBWebConnector.SOAPWebService.updateWS() : Received from authenticate() following parameters:
20130611.21:24:49 UTC : QBWebConnector.RegistryManager.setCurrentWebServiceName() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\CurrentWebServiceName has been set to HunterInvoices
20130611.21:24:49 UTC : QBWebConnector.RegistryManager.setCurrentWebServiceSessionTicket() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\CurrentWebServiceSessionTicket has been set to ddd359af-cc10-4002-a678-4f350567cdf2
20130611.21:24:49 UTC : QBWebConnector.SOAPWebService.CheckCFNResponse() : User authenticated.
20130611.21:24:49 UTC : QBWebConnector.SOAPWebService.do_authenticate() : Done.
20130611.21:24:49 UTC : QBWebConnector.SOAPWebService.OpenConnection() : Connecting to QuickBooks...
20130611.21:24:49 UTC : QBWebConnector.SOAPWebService.handleAllOtherError() : QBWC1013: Error connecting to QuickBooks. Returning error message to application.
Unexpected error. Check the "qbsdklog.txt" file for possible additional information.
20130611.21:24:49 UTC : QBWebConnector.SOAPWebService.do_connectionError() : * Calling connectionError() with following parameters:
20130611.21:24:49 UTC : QBWebConnector.SOAPWebService.do_connectionError() : Received from connectionError() following parameters:
20130611.21:24:49 UTC : QBWebConnector.SOAPWebService.OpenConnection() : Error connecting to QuickBooks. Application sent back DONE. Job ending.
20130611.21:24:49 UTC : QBWebConnector.RegistryManager.setUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock has been set to False
20130611.21:24:49 UTC : QBWebConnector.RegistryManager.setUpdateLock() : ********** Update session unlocked **********
20130611.21:24:49 UTC : QBWebConnector.WebServiceManager.DoUpdateSelected() : Update completed with errors. See log (QWClog.txt) for details.
And here are the contents of qbsdklog.txt
20130611.173436 I 4244 RequestProcessor ========= Started Connection =========
20130611.173436 I 4244 RequestProcessor Request Processor, QBXMLRP2 v12.0
20130611.173436 I 4244 RequestProcessor Connection opened by app named 'HunterInvoices'
20130611.173436 I 4244 CertVerifier The Authenticode signature validated OK.
20130611.173436 I 4244 RequestProcessor OS: Microsoft Windows Vista Home Basic Edition Service Pack 1 (build 6001), 32-bit
20130611.173436 I 4244 RequestProcessor Current User is in AdminGroup
20130611.173436 I 4244 RequestProcessor Current Process Integrity Level : 2000
20130611.173436 I 4244 RequestProcessor Getting the IUnknown COM instance of QB
20130611.173436 I 4244 RequestProcessor Opening the file in the DoNotCare mode.
20130611.173436 E 4244 RequestProcessor Process Request error = 80042505, QBXML components have not been installed.
20130611.173436 E 4244 RequestProcessor Process Request error = 80042505, QBXML components have not been installed.
20130611.173436 E 4244 RequestProcessor Process Request error = 80042505, QBXML components have not been installed.
20130611.173436 E 4244 RequestProcessor Process Request error = 80042505, QBXML components have not been installed.
20130611.173436 E 4244 RequestProcessor Unable to process Host Query request.
20130611.173436 I 4244 RequestProcessor Connection closed by app named 'HunterInvoices'
20130611.173436 I 4244 RequestProcessor ========== Ended Connection ==========
We've already tried renaming the .TLG file and that didn't help. I've seen some suggest that this error is ultimately due to a corrupted file in QB itself, and the only resolution is the uninstall/reinstall QuickBooks. Is this the only way to resolve this issue?
Before you try anything, try running the QuickBooks updates, and then rebooting the computer.
If that fails, re-install QuickBooks, as it's likely a corrupt installation of QuickBooks.
I've been using the Enyim Memcached Client for .Net, trying to connect to a server running on AppHarbor. The relevant parts of my configuration file look like this:
<enyim.com>
<log factory="Enyim.Caching.DiagnosticsLogFactory, Enyim.Caching" />
<memcached protocol="Binary">
<servers>
<add address="8d593f28-37d7-4c4f-a702-aa7687a85ea1.memcacher.com" port="11211" />
</servers>
<authentication
type="Enyim.Caching.Memcached.PlainTextAuthenticator, Enyim.Caching"
userName="changed to post on stack overflow"
password="changed to post on stack overflow"
zone="AUTHZ"
/>
</memcached>
</enyim.com>
My connection keeps timing out. Any ideas whats going on here? Here are the logs from Enyim client:
2012-01-21 18:56:08 [ERROR] 7 Enyim.Caching.Memcached.MemcachedNode.InternalPoolImpl - Could not init pool. - System.TimeoutException: Could not connect to 50.19.210.46:11211
at Enyim.Caching.Memcached.PooledSocket.ConnectWithTimeout(Socket socket, IPEndPoint endpoint, Int32 timeout)
at Enyim.Caching.Memcached.PooledSocket..ctor(IPEndPoint endpoint, TimeSpan connectionTimeout, TimeSpan receiveTimeout)
at Enyim.Caching.Memcached.MemcachedNode.CreateSocket()
at Enyim.Caching.Memcached.Protocol.Binary.BinaryNode.CreateSocket()
at Enyim.Caching.Memcached.MemcachedNode.InternalPoolImpl.CreateSocket()
at Enyim.Caching.Memcached.MemcachedNode.InternalPoolImpl.InitPool()
2012-01-21 18:56:08 [DEBUG] 7 Enyim.Caching.Memcached.MemcachedNode.InternalPoolImpl - Mark as dead was requested for 50.19.210.46:11211
2012-01-21 18:56:08 [DEBUG] 7 Enyim.Caching.Memcached.MemcachedNode.InternalPoolImpl - FailurePolicy.ShouldFail(): True
2012-01-21 18:56:08 [WARN] 7 Enyim.Caching.Memcached.MemcachedNode.InternalPoolImpl - Marking node 50.19.210.46:11211 as dead
2012-01-21 18:56:08 [DEBUG] 7 Enyim.Caching.Memcached.DefaultServerPool - Node 50.19.210.46:11211 is dead.
2012-01-21 18:56:08 [DEBUG] 7 Enyim.Caching.Memcached.DefaultServerPool - Starting the recovery timer.
2012-01-21 18:56:08 [DEBUG] 7 Enyim.Caching.Memcached.DefaultServerPool - Timer started.
2012-01-21 18:56:08 [DEBUG] 7 Enyim.Caching.Memcached.MemcachedNode.InternalPoolImpl - Acquiring stream from pool. 50.19.210.46:11211
2012-01-21 18:56:08 [DEBUG] 7 Enyim.Caching.Memcached.MemcachedNode.InternalPoolImpl - Pool is dead or disposed, returning null. 50.19.210.46:11211
UPDATE:
Turns out the reason I can't connect to the memcached server is because it's only accessible from appharbor's environment. So for anyone else that runs across this, you need to use a local memcached service when developing locally, then simply change the credentials when deploying (which apphaorbor actually does automatically for you). Problem resolved.
AppHarbor Memcacher buckets are only accessible from AppHarbor application servers. The documentation has been amended to clearly reflect this.
You should use a locally installed memcached server for testing.