Highlighted
Posted by
Digon

Script error upon exit of Teamviewer 15

I am not new to teamviewer, but this is a new installation on a new PC.  I see others have had the same issue using previous versions of Teamviewer with no solutions posted. 

When I close Teamviewer, I get the following script error: https://www.googletagmanager.com/gtm.js?id=GTM-T9RD3NN

And whether I choose YES or NO to run the script, it next goes to an offer to subscribe to the newsletter.  It does this upon closing Teamviewer each time.

TV1.pngTV2.png

66 Replies
Highlighted
Posted by
Henagon

Script error upon exit of Teamviewer 12

This is the error I get every time I exit the program.

 

 

24 Replies
Highlighted
Posted by TeamViewer Star
TeamViewer Star

Re: Script error upon exit of Teamviewer 12

I think this is due to yours security rules in IE browser, as I suppose TV is using IE to display this content.

Regards,
mLipok , AutoIt MVP

Did my reply answer your question? Accept it as a solution to help others.
Find this helpful? Say thanks by clicking on the Thumbs Up button.

Highlighted
Posted by
Digon

Re: Script error upon exit of Teamviewer 12

IMHO, this script error has nothing to do with security rules or with Internet Explorer. The error occurs when opening TeamViewer rather than when exiting from it. It is a serious bug in TeamViewer that needs to be addresesed ASAP. Thanks.

Highlighted
Posted by TeamViewer Star
TeamViewer Star

Re: Script error upon exit of Teamviewer 12

Did you check if IE is in TaskManager ?

The script error could be fired when content is loaded , or i time when is closing.

 

Regards,
mLipok , AutoIt MVP

Did my reply answer your question? Accept it as a solution to help others.
Find this helpful? Say thanks by clicking on the Thumbs Up button.

Highlighted
Posted by
Digon

Re: Script error upon exit of Teamviewer 12

What does TV have to do with IE?

Highlighted
Posted by
Henagon

Re: Script error upon exit of Teamviewer 12

I am getting the exact same error here on a recently clean-installed (on a standard  Skylake Core i5 desktop with iGPU and 8GB RAM + M.2 SSD) Win 10 x64 (CZ) with the latest AVG Antivirus without AVG Firewall component.

It fires when I close the "TeamViewerQS_cs.exe" (filesize: 9 607 112 bytes, compiled / last mod. on 17.02.2017 19:13:16 ).

Is there any workaround how to fix or avoid this, please ?

Highlighted
Posted by TeamViewer Star
TeamViewer Star

Re: Script error upon exit of Teamviewer 12


@groucho7 wrote:

What does TV have to do with IE?


Any windows APP can embend IE ActiveX object (entire browser without menu).
This mean that this is easy to use IE in your own APP to display remote content.
Some part of remote content could you scripts, which can bo bloced by your local IE setting.

btw.
Just click RightMouseButton on the conent with this TeamViewer form and see what you have there.

 

Regards,
mLipok , AutoIt MVP

Did my reply answer your question? Accept it as a solution to help others.
Find this helpful? Say thanks by clicking on the Thumbs Up button.

Highlighted
Posted by
Digon

Re: Script error upon exit of Teamviewer 12

With all due respect to the MVP,  his answer in hardly a solution. It is at best an explanation. On some PCs this script error occurs both on opening TeamViewer and on exiting from it.. It makes using TV impossible. The TV developers should find a fix for this ASAP.,

Highlighted
Posted by TeamViewer Star
TeamViewer Star

Re: Script error upon exit of Teamviewer 12


@groucho7 wrote:

With all due respect to the MVP,  his answer in hardly a solution. It is at best an explanation. On some PCs this script error occurs both on opening TeamViewer and on exiting from it.. It makes using TV impossible. The TV developers should find a fix for this ASAP.,


I agree, this should be fixed.
I'm only showing to you my concepts of possible cause of the problem.


btw.
What is that form which is showing in OP screenshot ?
I ask as I do not remember If I ever seen it on my computer.

 

Regards,
mLipok , AutoIt MVP

Did my reply answer your question? Accept it as a solution to help others.
Find this helpful? Say thanks by clicking on the Thumbs Up button.

Highlighted
Posted by
Henagon

Re: Script error upon exit of Teamviewer 12

This newsletter sign up form opens after exiting Teamviewer 12.

It doesn't open every time (for some reason it did it every time before and now just randomly), but the person I was helping through Teamviewer 12 also had it happen, and got the same error message when it did.

Highlighted
Posted by
Henagon

Re: Script error upon exit of Teamviewer 12

Try adding the following line to your "HOSTS" file ...

127.0.0.1       s.adroll.com

That fixed the problem for me.

Highlighted
Posted by
Electron

Re: Script error upon exit of Teamviewer 12

Worked for me too :)

Thanks!

Highlighted
Posted by TeamViewer Star
TeamViewer Star

Re: Script error upon exit of Teamviewer 12


@treefrog001 wrote:

Try adding the following line to your "HOSTS" file ...

127.0.0.1       s.adroll.com

That fixed the problem for me.


How you found this fix ?

I know more or less what I would do, but I would like you to describe the process of finding a solution, for all those interested in this thread.

by the way.
I've even another interesting comment, I hope, but it depends on your answer.

Regards,
mLipok , AutoIt MVP

Did my reply answer your question? Accept it as a solution to help others.
Find this helpful? Say thanks by clicking on the Thumbs Up button.

Highlighted
Posted by
Henagon

Re: Script error upon exit of Teamviewer 12

Worked for me as well.

Thanks treefrog001 !

Highlighted
Posted by
Henagon

Re: Script error upon exit of Teamviewer 12


@mLipok wrote:

How you found this fix ?


This is just a generic workaround that I've used many times in the past to tame similar misbehaving scripts. It simply redirects the call to a script on "s.adroll.com" to LOCALHOST on your PC where, instead of generating an annoying popup, it does nothing. This isn't really a fix, but happily it works to suppress this particular annoyance.

Highlighted
Posted by
Henagon

Re: Script error upon exit of Teamviewer 12

Can you explain how to do this?  Thanks!

Highlighted
Posted by
Digon

Re: Script error upon exit of Teamviewer 12

This is best a workaround not a solution. The TamViewer developers should fix this ASAP.


@treefrog001 wrote:

Try adding the following line to your "HOSTS" file ...

127.0.0.1       s.adroll.com

That fixed the problem for me.


Highlighted
Posted by
Henagon

Re: Script error upon exit of Teamviewer 12

Please check this link to learn how to change your host file:

https://www.howtogeek.com/howto/27350/beginner-geek-how-to-edit-your-hosts-file/

You have to add the below line at the end of the host file; as suggested by groucho7 :

127.0.0.1       s.adroll.com

Best

Highlighted
Posted by
Henagon

Re: Script error upon exit of Teamviewer 12

Ok this works for me too but I hope it will be fixed by the team ;)

Highlighted
Posted by TeamViewer Staff
TeamViewer Staff

Re: Script error upon exit of Teamviewer 12

Hi folks,

Just a quick note for you all, that we are aware of this issue and our developers are currently working on it. I'm hopeful of seeing it resolved sometime soon.

We'll keep you posted when we get more information.

Regards,
Jeremy
TeamViewer Quality Assurance Engineer
Highlighted
Posted by
Photon

Re: Script error upon exit of Teamviewer 12

Hi,

Any news in this matter, since this issue is still there with "TeamViewer QuickSupport" version "v12.0.83369"?

But it's another URL now:

"https://js.usemessages.com/messageswidgetshell.js"

Best regards
Mike

Highlighted
Posted by
Henagon

Re: Script error upon exit of Teamviewer 12

I have the same problem, it's annoying, anyone knows why it happens?

Highlighted
Posted by
Henagon

Re: Script error upon exit of Teamviewer 12

Hi all,

I have exactly the same issue for this problem (but i have installed last version 13.0.6447 of TV and my OS is Windows 10 )

When I quit the program I see the alert: Script Error with trying to open this URL

https://www.googletagmanager.com/gtm.js?id=GTM-5R286M

And I do not want modify My Windows local hosts file adding this

127.0.0.1 googletagmanager.com which redirect to https://www.google.com/analytics/tag-manager/

and when I open URL with chrome or edge I see this :

(probably a fu*** writing error) and exceed 20,000 characters for the post and one hour to find the right HIGHLIGTHED ERRORS on this community forum not easy

Highlighted
Posted by
Henagon

Script error upon exit of Teamviewer 13

Noticed this morning while exit TV13 started to get this script error:

www.googletagmanager.com/gtm.js?id=GTM-5R286M

Uninstalled it and reinstalled it but it's doing the same thing.

Can TV team look into this? Thank you.

Highlighted
Posted by
Electron

Re: Script error upon exit of Teamviewer 13

Exactly the same URL.

Running TV13 in Windows 10 Home v.1709.

Highlighted
Posted by
Electron

Re: Script error upon exit of Teamviewer 13

Not a solution. Just info that might help diagnosis.

After clearing check box at Internet Properties > Advanced > Browsing > Disable script debugging (Other), exiting TV13 brings up window titled "Webpage Error" with msg "Line 5 Error: Object doesn't support property or method 'keys'" (see image below).

Untitled.png

Highlighted
Posted by
Henagon

Re: Script error upon exit of Teamviewer 13

I'm not using IE. It has nothing to do with the browser.

Highlighted
Posted by
Electron

Re: Script error upon exit of Teamviewer 13

The box that pops up has IE embedded into it. Usually it's a very old version, hence the errors. This has nothing to do with whether or not you use IE. 

Highlighted
Posted by
Photon

Re: Script error upon exit of Teamviewer 13

same problem using windows 8

Highlighted
Posted by
Henagon

Re: Script error upon exit of Teamviewer 13

Thank you TV team. I've checked this morning and the error script message disappeared. Case closed.

Highlighted
Posted by
Henagon

Script error upon exit of Teamviewer 13

Hello Everybody!

First of all, I'm so sorry if there are some mistakes of my english :D 
My friend have a problem, when he closes the TW13, an error window comes up with this message:

"Object doesn't  support this property or method :'addEventListener' "

I tried unistall the TW and reinstall, but this error window comes up again.

He use the windows 7 x64
Is anybody know the solution for this problem,?

I'm so sorry for the picture, but we are hungarians, I tried to translate the error message.

Névtelen.png

Highlighted
Posted by
Henagon

Re: Script error upon exit of Teamviewer 13

Hi,

I've exactly the same problem with TeamViewer 9 QS.

I saw a few minutes ago, some people who have the same problem as us.

The link is here : https://community.teamviewer.com/t5/TeamViewer-General/Script-error-upon-exit-of-Teamviewer-12/m-p/3...

As it seems, we can workaround this error by adding "127.0.0.1 s.adroll.com" in your "Hosts" file which is located in C:\Windows\System32\drivers\etc.

But it doesn't work for me ... Can you tell me if it's ok for you ?

Thank you

Highlighted
Posted by
Henagon

Re: Script error upon exit of Teamviewer 13

I just realized that it does not work because we do not have the same URL.
We just do not ..
Highlighted
Posted by
Henagon

Re: Script error upon exit of Teamviewer 13

I found something.

Try this, it resolves my problem : https://www.youtube.com/watch?v=4PkBJbFeVc0
Highlighted
Posted by
Henagon

Re: Script error upon exit of Teamviewer 13

Thank you very much :) :)
Highlighted
Posted by
Digon

Re: Script error upon exit of Teamviewer 13

We have been here before - see:

https://community.teamviewer.com/t5/TeamViewer-General/Script-error-upon-exit-of-Teamviewer-12/m-p/3...

and, according to Jeremy a TeamViewer staffer, the developers were sorting it out (which they did successfully). Hopefully a staffer will pick it up again and do a fix...

Highlighted
Posted by
Photon

Re: Script error upon exit of Teamviewer 13

OK, So I note this issue was closed when the proplem went away. The problem has not gone away for my father who gets this error message when he closes TeamViewer 13 and the window pops up inviting registration to the newsletter. I'd like to be able to revert to acknowledging that our use is private only which I get and which doesn't generate this script error. Please advise TV team.

Highlighted
Posted by
Photon

Re: Script error upon exit of Teamviewer 12

I get the script error also but on google chrome

Highlighted
Posted by
Electron

Re: Script error upon exit of Teamviewer 12

I found the same error (v.13) but also a workaround.

Loading TVQS from the site or from a logo link gives you a version that generates the error on exit. However if you create a custom download of TVQS (even with free account) you get a custom link.

The custom link is to a web page that downloads a slightly different version of TVQS. The download page also has a "Try again" link. I took the direct URL to the file from the "try again" and placed it as the download link on my logo button. You just need to keep the logo image link as is. The result is a perfect download logo link that gets a file with no exit issues.

Highlighted
Posted by
Photon

Script Error on latest Teamviewer 14

I get this error whene exit. New install not help.

[link removed per Community Guidelines]

Highlighted
Posted by
Henagon

Script error upon exit of teamviewer 14 edge

Script error upon exit of teamviewer 14 edge

Highlighted
Posted by
Digon

Re: Script Error on latest Teamviewer 14

This problem has occurred a couple of times in the past. I don't think it is version specific.

Capture02-04-2019-11.11.31.jpg

Highlighted
Posted by
Henagon

Buy now button click throws a script error message

TeamViewerError.PNG

Highlighted
Posted by TeamViewer Star
TeamViewer Star

Re: Buy now button click throws a script error message

Hi @Yevheniia 

What is the default internet browser you are using to your computer? Could you please switch it to some other like Chrome or Mozilla?

Then see if that continues to appear.

Best regards

Pro
Highlighted
Posted by
Henagon

When closing team viewer, a script error appears

Since installing the newest version on ALL of my systems, I get the following when I exit teamviewer:

 

Annotation 2020-08-28 074939.png

Highlighted
Posted by
Henagon

Problema con Team viewer versione 15.9.4. errore nello script di uscita

I'm italian i have the following problem when I close Team viewer I get an error of a script
errore nello script della pagina
linea 0
carattere 0
errore script error
codice 0
url :https://www.googletagmanager.com/gtm.js?id=GTM-T9RD3NN
continuare con lo script della pagina
io scelgo no e lui va avanti
Could give me an advice to solve the problem . I have already uninstalled e
reinstalled Team viewer . Thank you Stefano

Highlighted
Posted by TeamViewer Star
TeamViewer Star

Re: Problema con Team viewer versione 15.9.4. errore nello script di uscita

Hi @stefano_0,

maybe this is a problem related to the permissions granted to your client: for some addresses the consultation could be inhibited due to a policy applied by you or by the structure that regulates your connectivity (the company you work for... for example).

You can check exactly what happens by activating a traffic analyzer (eg.Fiddler):  probably you'll find a call to an address that is not allowed to you.

Let me know if you can retrieve further details.

Regards

Domenico Langone
MCSD: App Builder
Did my reply answer your question? Accept it as a solution to help others.
Find this helpful? Say thanks by clicking on the Thumbs Up button.
Highlighted
Posted by Moderator Moderator
Moderator

Re: When closing team viewer, a script error appears

Hello @oldmo

Thank you for your message and welcome to the TeamViewer Community! 🙌

Could you please let us know which OS, which browser and which TeamViewer version you are using on your computer?

Best regards

Jean

French Community Moderator

If my reply answered your question, help out other users and click the Accept as a Solution button below. ✅
You can also say thanks by clicking on the Thumbs Up button!
Thanks for being an active member of our Community!

Highlighted
Posted by
Henagon

Re: When closing team viewer, a script error appears

I have (4) systems exhibiting this behaiour.  All are running W10 home.  # are running V2004, and one is running V1909.  All but one system have the latest version of Chrome, Firefox, and Edge installed.  One system running V2004 only has the latest version of Edge installed.  All 4 systems are running Teamviewer version 15.9.4 date 08/19/2020.