- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report Inappropriate Content
Script Error
Windows 11 and QuickBooks Desktop Pro 2017 have worked together without a problem for several months until the other day. Now I am regularly receiving a Script error as my backup is ending:.
An error has occurred in the script on this page:
Line: 7
Char: 444
Error: Expected identifier
Code:0
URL: https://a166211981.cdn.optimizely.com/client_storage/a166211981.html
Do you want to continue running scripts on this page?
I have answered Yes and No but doesn't seem to make a difference as it happens every time I make a (local) backup. any help would be appreciated.
Barry
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report Inappropriate Content
Other questions
I suggest doing some troubleshooting steps to ensure the script error pop-up won't show anymore, Barry.
Since, you're using a 2017 version of QuickBooks Desktop pro, here a steps for you to follow in fixing this error:
- In the search box next to the Start menu icon, type Control Panel.
- Click the Control Panel. A page will appear on the Start Menu under the Best Match title.
- At the top of the control panel window, type change in the search box.
- Under the Program & Feature section title, select Change or remove a program.
- Locate the QuickBooks installation you want to repair, and then double-click it to launch the installer.
- When the QuickBooks Installer/ Maintenance Wizard launches, click Next to see the options Repair and Remove. Select Repair and then click Next to complete the process.
- Once completed, restart your computer, even if Windows does not prompt you to do so.
Also, I'd recommend reaching out to an IT professional for guidance about the script error.
Refer to this article for guidance in creating a backup of your company file in QuickBooks Desktop.
Feel free to reach out if you still have concerns about creating a backup file in QBDT. We're here to help you out.
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report Inappropriate Content
Other questions
Install the trial version for Desktop 2018 or 2019. Did you encounter the same problem?
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report Inappropriate Content
Other questions
I got the identical script error when opening my co file. QB freezes when I try to receive inventory and I have to crash with task manager. After several attempts, QB couldn't open the co. file at all (6123,0). File Dr couldn't repair, Windows installer couldn.t repair. I've reinstalled Premier 2015, but the same problem. File Dr. now tells me hosting mode is off and QBDBMgrN is not running on my computer. Norton 360 is active, but is allowing all QB through the firewall. https://a166211981.cdn.optimizely.com/client_storage/a166211981.html is a blank page with a white background.
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report Inappropriate Content
Other questions
Which Windows OS do you run?
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report Inappropriate Content
Other questions
I'm having the same issue. Even went back to restore old Backups which in the past have eliminated this error, but doesn't seem to be working this time.
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report Inappropriate Content
Other questions
Thanks for joining this thread, jelizondo.
If you've already performed the troubleshooting steps in RhoiceW's post, but you're still encountering a script error, I'd recommend getting in touch with our Customer Care team. They'll be able to pull up your account in a secure environment, conduct further research with you, and create an investigation ticket if necessary.
They can be reached while using QuickBooks.
Here's how:
- In the top menu bar, go to Help, then QuickBooks Desktop Help/Contact Us.
- Enter a question, keyword, or topic you need help with.
- Select Contact Us.
Be sure to review their support hours so you'll know when agents are available.
If there's any questions, I'm just a post away. Have an wonderful Thursday!
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report Inappropriate Content
Other questions
Windows 11 Pro was installed about 3 months ago - the script error started popping up a few days ago.
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report Inappropriate Content
Other questions
I have the same problem as well. Since we aren't getting updates from QB anymore this must be a new conflict introduced by a Windows or another update? Has anybody found a fix for this issue or is it time to upgrade my QB Desktop?
I'm using QB Desktop Pro 2018 with Microsoft Windows 10 Enterprise on a Dell Latitude 5430.
Cheers,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report Inappropriate Content
Other questions
Solution
-Block the offending URL in your windows hosts file-
-Edit hosts with notepad.exe as administrator-
Add the following line
# Block access to a url in a startup Quickbooks script that results in an error
127.0.0.1 a166211981.cdn.optimizely.com
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report Inappropriate Content
Other questions
Mike, are there any negative consequences with Quickbooks if this URL is blocked?
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report Inappropriate Content
Other questions
To answer my own question, if you Google "what is cdn.optimizely.com" you will see what a content delivery network does. From my reading it looks like it caches web pages to improve Quickbooks performance and allows for A/B testing of web pages. If your use of Quickbooks doesn't need web pages, my guess is it is safe to block this URL. Maybe Quickbooks mistakenly, or purposefully, discontinued the use of this Optimizely CDN.
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report Inappropriate Content
Other questions
I am running the 2013 Desk top version of Quckbooks. This worked for me, but I also had to shut down quickbooks and re-start my Windows P.C. for the update in the host file to take effect. Once the page is blocked, the script that no longer runs on it doesn't run.... no more error.
Let me add... shame on quickbooks for sending us to some third party crap without our knowledge or permission.
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report Inappropriate Content
Other questions
I am running the 2013 Desk top version of Quckbooks. This worked for me, but I also had to shut down quickbooks and re-start my Windows P.C. for the update in the host file to take effect. Once the page is blocked, the script that no longer runs on it doesn't run.... no more error.
Let me add... shame on quickbooks for sending us to some third party crap without our knowledge or permission.
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report Inappropriate Content
Other questions
In QuickBooks on the menu bar click HELP>Internet Connection Setup>Next>Advanced Connection Setting>Security (tab)>Restricted Sites>Sites. In the "Add this website to the zone:" paste or type the url address the error message is complaining about, such as a166211981(.)cdn(.)optimizely(.)com, as an example. Click Add>Close>OK>Done. The "." are in parenthesizes because the Community no longer allows URL address examples.)
Logoff QuickBooks and then log back in. The script error message will no longer appear.
This can be used for all script error messages when opening QuickBooks. I have encountered several. They all seem to be connected to "User Experience Enhancement" (aka User Tracking) that are not functioning correctly. Blocking them does not affect the software....other than to block some pop-up ads Intuit may try to send.
You can answer YES or NO to get past the script error message if you are not bothered by it and do not want to take the above action. It does not affect QuickBooks one way or the other.
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report Inappropriate Content
Other questions
Thank you for the step by step guide this worked perfectly!!