Page 1 of 1

can some one please help google error how do i fix please AS

Posted: Sat Oct 25, 2008 7:00 pm
by cerami2
I get this error can some tell me how to fix this Please
thanks
Jioe

Code: Select all

We encountered an error trying to access your server at https://www.myplace.com/Checkout/Google/MerchantCalc.ashx -- the error we got is: Sending failed with HTTP response code: 401. Response body was: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <HTML><HEAD><TITLE>You are not authorized to view this page</TITLE> <META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252"> <STYLE type="text/css"> BODY { font: 8pt/12pt verdana } H1 { font: 13pt/15pt verdana } H2 { font: 8pt/12pt verdana } A:link { color: red } A:visited { color: maroon } </STYLE> </HEAD><BODY><TABLE width=500 border=0 cellspacing=10><TR><TD> <h1>You are not authorized to view this page</h1> You do not have permission to view this directory or page using the credentials that you supplied. <hr> <p>Please try the following:</p> <ul> <li>Contact the Web site administrator if you believe you should be able to view this directory or page.</li> <li>Click the <a href="javascript:location.reload()">Refresh</a> button to try again with different credentials.</li> </ul> <h2>HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials.<br>Internet Information Services (IIS)</h2> <hr> <p>Technical Information (for support personnel)</p> <ul> <li>Go to <a href="http://go.microsoft.com/fwlink/?linkid=8180">Microsoft Product Support Services</a> and perform a title search for the words <b>HTTP</b> and <b>401</b>.</li> <li>Open <b>IIS Help</b>, which is accessible in IIS Manager (inetmgr), and search for topics titled <b>Authentication</b>, <b>Access Control</b>, and <b>About Custom Error Messages</b>.</li> </ul> </TD></TR></TABLE></BODY></HTML>

Re: can some one please help google error how do i fix please AS

Posted: Sat Oct 25, 2008 7:10 pm
by combra
cerami2 wrote:I get this error can some tell me how to fix this Please
thanks
Jioe

Code: Select all

We encountered an error trying to access your server at https://www.myplace.com/Checkout/Google/MerchantCalc.ashx -- the error we got is: Sending failed with HTTP response code: 401. Response body was: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <HTML><HEAD><TITLE>You are not authorized to view this page</TITLE> <META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252"> <STYLE type="text/css"> BODY { font: 8pt/12pt verdana } H1 { font: 13pt/15pt verdana } H2 { font: 8pt/12pt verdana } A:link { color: red } A:visited { color: maroon } </STYLE> </HEAD><BODY><TABLE width=500 border=0 cellspacing=10><TR><TD> <h1>You are not authorized to view this page</h1> You do not have permission to view this directory or page using the credentials that you supplied. <hr> <p>Please try the following:</p> <ul> <li>Contact the Web site administrator if you believe you should be able to view this directory or page.</li> <li>Click the <a href="javascript:location.reload()">Refresh</a> button to try again with different credentials.</li> </ul> <h2>HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials.<br>Internet Information Services (IIS)</h2> <hr> <p>Technical Information (for support personnel)</p> <ul> <li>Go to <a href="http://go.microsoft.com/fwlink/?linkid=8180">Microsoft Product Support Services</a> and perform a title search for the words <b>HTTP</b> and <b>401</b>.</li> <li>Open <b>IIS Help</b>, which is accessible in IIS Manager (inetmgr), and search for topics titled <b>Authentication</b>, <b>Access Control</b>, and <b>About Custom Error Messages</b>.</li> </ul> </TD></TR></TABLE></BODY></HTML>
It's an authentication issue, and the answer depends on who your hosting is. Also, are you on a shared server, dedicated server, or virtual dedicated?

My guess is godaddy and on a shared server, correct?

Re: can some one please help google error how do i fix please AS

Posted: Sat Oct 25, 2008 7:32 pm
by cerami2
shared on appliedi.net servers

Re: can some one please help google error how do i fix please AS

Posted: Sat Oct 25, 2008 7:53 pm
by combra
cerami2 wrote:shared on appliedi.net servers
You have two options that I know of. The first is more secure. You can ask your hosting provider to set-up a basic authentication account on your shared server for Google Checkout that uses your specific merchant id as the username and your merchant key as the password. You will also need to enable basic authentication in your Google Checkout gateway in AC.

The other option if your hosting provider won't do that b/c it's on a shared server is to turn basic authentication off and have your hosting provider enable Windows Integrated Authentication.

One of those options should solve the specific error you were receiving. If this doesn't work, hopefully others will chime in.

Re: can some one please help google error how do i fix please AS

Posted: Sat Oct 25, 2008 9:24 pm
by afm
cerami2 wrote:shared on appliedi.net servers
Applied Innovations will know what to do. Show them the error message.

Re: can some one please help google error how do i fix please AS

Posted: Wed Aug 26, 2009 9:27 pm
by ToddJ
FYI

I referenced this post while assisting a client with several Google Checkout related issues for a GoDaddy hosted AbleCommerce store and noticed that a solution was never confirmed. I contacted GoDaddy.com support and requested that Basic Authentication be disabled and Windows Integrated Authentication be enabled. After a 72 hour waiting period (perhaps my fault for opening the support ticket on a Friday), the change was made and the error no longer occurs. Bidirectional updates between AbleCommerce and Google Checkout are now occurring properly.

The store is running AbleCommerce 7.0.3
CommerceBuilder.dll v7.3.12065.0
CommerceBuilder.GoogleCheckout.dll v7.3.12468.0

As a side note, I had seen several comments that suggest users should be able to directly access their 'Callback URL' (e.g. https://www.mystore.com/Checkout/Google ... tener.ashx) to verify that it is working properly. I've always received an error when attempting this (even after correcting authentication), recorded in the store log as 'An error has occured at https://www.mystore.com/Checkout/Google ... tener.ashx >> Root element is missing.' Perhaps I misunderstood the postings.

Re: can some one please help google error how do i fix please AS

Posted: Thu Aug 27, 2009 6:09 pm
by AbleMods
ToddJ wrote:As a side note, I had seen several comments that suggest users should be able to directly access their 'Callback URL' (e.g. https://www.mystore.com/Checkout/Google ... tener.ashx) to verify that it is working properly. I've always received an error when attempting this (even after correcting authentication), recorded in the store log as 'An error has occured at https://www.mystore.com/Checkout/Google ... tener.ashx >> Root element is missing.' Perhaps I misunderstood the postings.
By "access" they mean the server doesn't throw a 401-Not-Authorized access error. Root element is missing means the listener service was accessible from an IIS perspective, it simply didn't see any XML commands to process.