cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

An error has occurred in the script on this page. Line 22 Char 2 Error "$" Code 0 URL https://sgm@intuit.com/sgn-rs/api/v1/lpd/las_box?param1=25&param2=las.

NEVER put an "alien" source in your trusted list, especially in a secure environment such as your QuickBooks financial program; otherwise, your system can be susceptible to a Cross-Site Scripting (XSS) Attack. In other words, the JS or HTML file being referenced could contain malicious or data-extracting code.

 

The steps below will show you how to customize the Internet Explorer browser to BLOCK optimizely DOT COM and to effectively remove script errors from that source:

 

  1. Close QuickBooks.
  2. Open Internet Explorer.
  3. From the Command Bar, select Tools.
  4. Select Internet Options, then select the Security tab.
  5. Click Restricted Sites and click on Sites
  6. In the Add, this website to the zone field, type in *.optimizely.com and click on Add.
  7. Click on Close.
  8. Click on OK.
  9. Close Internet Explorer.
  10. Open QuickBooks.
cb4040
Level 1

An error has occurred in the script on this page. Line 22 Char 2 Error "$" Code 0 URL https://sgm@intuit.com/sgn-rs/api/v1/lpd/las_box?param1=25&param2=las.

Hello!

 

Were you ever able to locate a solution to this error? I'm getting basically the same error, but can't seem to find a resolution:

 

https://cdn.optimizely.com/js/[removed].js

 

Thank you in advance!!

Catherine_B
QuickBooks Team

An error has occurred in the script on this page. Line 22 Char 2 Error "$" Code 0 URL https://sgm@intuit.com/sgn-rs/api/v1/lpd/las_box?param1=25&param2=las.

Hello there, cb4040. 

 

I've checked for similar reported issues in our list and didn't find any. You can continually check OK from the prompt to get rid of it. I also suggest to configure your Internet Explorer as one of the troubleshooting steps. Please refer to this article for more details: Set Internet Explorer to be your default browser

 

Let me know if you need more help. 

NFern
Level 4

An error has occurred in the script on this page. Line 22 Char 2 Error "$" Code 0 URL https://sgm@intuit.com/sgn-rs/api/v1/lpd/las_box?param1=25&param2=las.

Hello All,

 

I own a copy of QuickBooks Enterprise 16 and have faced the same frustrations as you.  I do NOT work for Intuit.  The following has worked for me:

 

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 just this part of the url address the error message is complaining about, such as cdn.optimizely.com, as an example. Click Add>Close>OK>Done.


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.

Anonymous
Not applicable

An error has occurred in the script on this page. Line 22 Char 2 Error "$" Code 0 URL https://sgm@intuit.com/sgn-rs/api/v1/lpd/las_box?param1=25&param2=las.

Exactly, never ALLOW, always BLOCK. See my original step-by-step.

 

I recommend that you always BLOCK and send these out-of-date content delivery networks (CDNs) to the restricted list.

 

Technically, if you allow the "defunct" CDN address, you could get a cross-attack if a malicious force takes over that CDN address and injects bad code, like data-stealing code, virus, etc.

 

This not only affects Quickbooks but other Intuit programs like Lacerte, etc.

h777
Level 1

An error has occurred in the script on this page. Line 22 Char 2 Error "$" Code 0 URL https://sgm@intuit.com/sgn-rs/api/v1/lpd/las_box?param1=25&param2=las.

Have QBooks 2020 using win 8.1... Script errors and nothing works .  Spent over 4 hrs going thru steps with QB tech last week.   They finally said they think win 8.1 does not support a higher level of dot net needed .

Using a win10 PC all works fine and ccard processing is normal as it prev was with my win 8.1 PCwhen using QBooks 2017.    Are you aware that apparently QB2020 and merchant processing are incompatible with win 8.1.    I need to use main machine for QB2020 that is win 8.1 but can not now .   Using the laptop win10 machine is not an option.   Win 8.1 machine can not support win 10 upgrade.   Requires a new PC. 

Any suggestion.     BTW QB was called to confirm win8.1 is compatible b4 we purchased and they said yes.  All other processing works ok but doing merchant processing never works and script errors.   I can not even sign into merchant center using win 8.1 qbooks.   I am really thinking it is some much more basic to allow win 8.1 and merch svcs to work with qb2020.     

GlinetteC
Moderator

An error has occurred in the script on this page. Line 22 Char 2 Error "$" Code 0 URL https://sgm@intuit.com/sgn-rs/api/v1/lpd/las_box?param1=25&param2=las.

Hi there, h777.

 

I appreciate the steps you've performed with our tech support. With regard to the compatibility of QuickBooks Desktop 2020 and merchant processing using Windows 8.1, you can check System requirements for QuickBooks Desktop 2020 and Enterprise Solutions 20.0 that contains information about the operating system, hardware, software, and other requirements to run QBDT.

 

I've also added some links to learn more about QuickBooks Desktop 2020:

 

Feel free to post again here if you have any other concerns. 

SSolved
Level 1

An error has occurred in the script on this page. Line 22 Char 2 Error "$" Code 0 URL https://sgm@intuit.com/sgn-rs/api/v1/lpd/las_box?param1=25&param2=las.

QuickBooks printer not activated error code 20 is encountered when the HKEY_CURRENT_CONFIG\Software key is deleted.

 

Causes:

  •  Elimination of HKey_Currenr_Config\software.
  • More than one version of Quickbooks.
  • When Quickbooks is not compatible with the PDF  driver.
Rasa-LilaM
QuickBooks Team

An error has occurred in the script on this page. Line 22 Char 2 Error "$" Code 0 URL https://sgm@intuit.com/sgn-rs/api/v1/lpd/las_box?param1=25&param2=las.

Thanks for following this thread, SSolved.


I’m here to help make sure you can use the printer smoothly. We’ll have to download and run the QuickBooks Tool Hub to get past the error. Let me walk you through the process of how to accomplish this task.


Here’s how:

 

  1. Make sure to close your QuickBooks.
  2. Then, download the latest version of the QuickBooks Tool Hub (1.5.0.0) and click Save File.
  3. Open the QuickBooksToolHub.exe link.
  4. Follow the on-screen instructions to complete the installation process.
  5. Next, double-click the icon on your desktop to access the tool hub.
  6. From there, go to the Program Problems menu on the left panel to select the QuickBooks PDF & Print Repair Tool.qb tool hub.png

 

Once done, open any transactions and print them. If the issue persists, perform Solutions 2- 4 in this article: Troubleshoot PDF and Print problems with QuickBooks Desktop.


For additional resources, the following guide contains some links on how to: Troubleshoot Issues with Printing and .PDF Files. Make sure to choose the topic to see the complete details.


Feel free to post a comment below if you have other printing concerns. I’m more than happy to assist further. Have a great day ahead.

Need to get in touch?

Contact us