Skip to main content
April 14, 2023
Question

Quickbooks 2021 problems -- .Net, File Doctor and more

  • April 14, 2023
  • 1 reply
  • 0 views

Could really use some savvy technical advice here.  There are a few issues which I believe may share a common thread, and which may be related to .NET (which I've installed and removed several times).   I know this is a lot, but I really need to get this resolved. 

 

Quickbooks File Doctor won't launch--starts to run and the exits; this is in the Event Log:

Application: QuickBooksToolsHub.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.IOExceptionApplication: 

Also in the Event Log:

An unexpected error has occured in "QuickBooks Desktop Pro 2021":
Connection Error:Invalid user ID or password

But there was no failed login attempt to the QuickBooks company file.  

 

These issues seem to happen on several company files, and the files are locally hosted, in the Public folder.  I've checked permissions and used the ToolHub Network Check tool and they're OK.

 

When I try to run a stand-alone version of FileDoctor (not launched from the Hub) I get this message:

* QBDBMgrN not running on this computer.
* on this computer and may be blocking QuickBooks.
* Webroot SecureAnywhere Antivirus is active on this computer and may be blocking QuickBooks (and yes I  did uninstall Webroot which didn't fix anything).

But the DB Manager is installed.  Then File Doctor throws this message:

************ Exception Text **************
System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.
at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
at System.Net.TlsStream.CallProcessAuthentication(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.ConnectStream.WriteHeaders(Boolean async)

I'm hoping that these details will resonate with someone!

1 reply

April 14, 2023

I can see how hard you tried here. No worries, Dmillerss; I'll make amends and ensure you never have to deal with this again.

 

We appreciate you providing complete details about what is happening so that we can better isolate the problem. We can use the Rebuild Data tool to automatically fix minor company file data issues. Here's how: 

 

  1. Go to the File menu, then hover over Utilities and select Rebuild Data.
  2. On the QuickBooks Information window, tap OK. Follow the onscreen steps to save a backup.
  3. Let the tool repair your file. It may take some time. QuickBooks may seem stuck, but as long as you can move your mouse, the tool is working.
  4. When the tool finishes, press OK.
  5. Go to the File menu. Then hover over Utilities and select Verify Data.
  6. Let the tool check your file for data issues.

 

If QuickBooks finds no errors, click OK. You may continue to use your company file. There is no data loss on your end. If QuickBooks discovers a problem with your company file, click Rebuild Now.

 

We can also manually fix your errors, you can find the errors you can fix from the Verify Results window. Before you get started, make sure to back up your company file. To manually fix data errors:

 

  1. Go to the File menu. Then hover over Utilities and select Verify Data.
  2. Let the tool check your file for data issues.
  3. From the Verify Results screen, select Expand All to see the errors.
  4. For the steps to fix the error, see See Online Article. If the error doesn’t have an article, contact support for help repairing your company file.

1_VerifyWindow.png

 

After that, launch the QuickBooks Database Server Manager from the QuickBooks Tools Hub on your server. Check the folder containing your company's files is set up to share files over your network. Your QuickBooks company file(s) are stored on your server computer. Your workstations are the other machines on your network. Here's how it's done:

 

  1. Select Network Issues
  2. Choose Quickbase Database Server Manager. If QuickBooks isn’t installed on your server, you’ll be prompted to install it.
  3. Inside the QuickBooks Database Server Manager, Select Start Scan if your company file folder(s) are displayed. If they aren’t, Browse to the location of your company file and then select Start Scan.
  4. The QuickBooks Database Server Manager will repair your firewall permissions automatically.
  5. When the scan finishes, press Close.

 

When you're done, find and open the folder you scanned. Make sure there's an ND file in the folder. It looks like this: [your company file]qbw.nd. If you don’t see the ND file, scan the folder again.

 

You can refer to these helpful articles in case you have any other concerns about QuickBooks Desktop.

 

I'd like to know how you get on after trying the steps, as I want to ensure this is resolved for you. Please reply to this post and I'll get back to you. Take care always.

DmillerssAuthor
April 15, 2023

Thank you for the detailed information .... you seem to think the company files need verification/repair, which I've done .... but I'm still concerned about the .NET Framework errors that show up in the event log. The errors associated with File Doctor occur prior to a company file even being opened.  I tried removing .NET and letting Quickbooks install .NET when it was launched but that didn't help.  Is there a specific version of .NET or QB 2021 that we know is compatible, and how can I verify that?

 

But the DB Manager is installed.  Then File Doctor throws this message:

************ Exception Text **************
System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.

April 15, 2023

Hello there, @Dmillerss.

 

We can download the QuickBooks Tool Hub to resolve the issue. It'll help diagnose and fix a common problem in QuickBooks.

 

Here's how:

 

  1. Close QuickBooks.
  2. Download the most recent version (1.5.0.0) of the QuickBooks Tool Hub. Save the file somewhere you can easily find it (like your Downloads folder or your Windows desktop). Note: If you've installed Tool Hub before, you can find out which version you have. Select the Home tab. The version will be on the bottom.
  3. Open the file you downloaded (QuickBooksToolHub.exe).
  4. Follow the on-screen steps to install and agree to the terms and conditions.
  5. Once done, double-click the icon on your Windows desktop to open the tool hub.

 

Then, use the QuickBooks Install Diagnostic Tool to diagnose any installation issues. Here's how:

 

  1. Open the QuickBooks Tool Hub.
  2. In the tool hub, select Installation Issues.
  3. Select QuickBooks Install Diagnostic Tool. Let the tool run. It can take up to 20 minutes.
  4. When the tool finishes, restart your computer.

 

For more solutions that you can try, you can proceed to Solution 2 found in this article: Fix Microsoft .NET Framework Error When You Install QuickBooks Desktop. Additionally, you may sometimes experience network issues when using QuickBooks. Learn from this article how you can recover damaged company files and solve network issues: Resolve Network Issues With QuickBooks File Doctor Test Results.

 

Let me know if you have other questions. I'm always here to help.