Getting the red exclamation mark when clicking Google Plus One button using DotNetNuke

The title speaks for itself, this is a guide for DotNetNuke users and admins out there, however the same thory can be applied anywhere.

The title suggests it all, and if your here there is a good chance you are having this exact problem, if your symptoms and errors are the same as what I experienced then this should post should help you out, however lets run through the error’s I was getting before we get in to the solution:



click on your embedded Plus one button and your blue Plus One button turns to the red ! error see below for depiction:



Google chrome presents the below Error in the console:

Unsafe JavaScript attempt to access frame with URL from frame with URL
Domains, protocols and ports must match.


Firefox on the other hand does not report such an error but using firebug and looking at the console results also you might get the following during the Post:

Posts to:,

Response is:

  "error": {
   "code": 400,
   "message": "Invalid Value",
   "data": [
     "domain": "global",
     "reason": "invalid",
     "message": "Invalid Value"
  "id": "pos.plusones.insert"



this solution is directly for the dotnetnukers out there, however you could take away from this possibly and then review your code to see if its doing something similar.

  • Login to your site as Host (Super User)
  • Select Host Settings
  • Expand Performance Settings
  • look for ‘Compression Settings’
  • Select ‘No Compression’
  • Restart Application


It seems the GZIP compression is getting in the way, its not doing a deflate correctly, if you want compression, have a chat to your web host provider, I am sure that they would have some options available for you, its best done at the server level if possible.

Here is a screen shot for those visual people out there


social , Dotnetnuke , HTML Code