我在这里看到了几个有关此错误的帖子。 但是,我还没有看到适合我们情况的解决方案。
我有一个使用QBFC 13.0用C#编写的QuickBooks“集成应用程序”。它在我的测试系统上安装并正常运行,但无法在生产服务器上运行。
我们正在使用QuickBooks 2014并在Server 2008计算机上运行它。
我试过了: 01.更新QB
确保App仅针对Target x86构建。
保持QuickBooks运行未在“常规首选项”中检查。
QuickBooks和应用程序在同一用户级别运行
路径和文件名正确无误。
为每个人提供文件和文件夹的完全权限
尝试了产生相同错误的第三方软件
尝试以不同的用户身份运行。有无管理员
以下是QBSDK日志消息的一部分:
Begin Session started...
OS: Microsoft Standard Edition (build 9200), 64-bit
Current Process is not elevated
Current User is in AdminGroup
Current Process is not ran as Admin
Current Process Integrity Level : 2000
Not in-proc request.
File info: "pathofQBFile.qbw", v24.0R8 (2403), wholesale, standard_stratum
Getting an instance of pRunningInfo
GetmajorVersion
GetReleaseNumber
Getflavor
GetdataFileVersion
There is a running version of QuickBooks: v24.0R8 (2403), wholesale, standard_stratum
Starting QuickBooks (no launch): Install info: v24.0R8 (2403), wholesale, standard_stratum
Performing QB Launch Retries
Check QB process ID before calling instance finder to find it.
Process Found -> 15996 for Current User -> username
QBW32.exe Proc Id: 15996
Getting the IUnknown COM instance of QB
Obtained the IUnknown COM instance of QB without an exception
QuickBooks launch succeeded.
Could not find or create an instance of QuickBooks using InstanceFinder
Connection closed by app named 'Quickbooks API Syncs'
========== Ended Connection ==========
答案 0 :(得分:1)
更新
使用Process监视器,我发现应用程序对某些注册表项没有权限。修复所有注册表安全设置后,应用程序现在正在运行。