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

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
cerami2
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 103
Joined: Thu Nov 08, 2007 5:29 am
Location: Plymouth MN
Contact:

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

Post by cerami2 » Sat Oct 25, 2008 7:00 pm

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>

combra
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 98
Joined: Thu Jul 31, 2008 7:09 pm

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

Post by combra » Sat Oct 25, 2008 7:10 pm

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?
AC 7.0.7 build 14600

User avatar
cerami2
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 103
Joined: Thu Nov 08, 2007 5:29 am
Location: Plymouth MN
Contact:

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

Post by cerami2 » Sat Oct 25, 2008 7:32 pm

shared on appliedi.net servers

combra
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 98
Joined: Thu Jul 31, 2008 7:09 pm

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

Post by combra » Sat Oct 25, 2008 7:53 pm

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.
AC 7.0.7 build 14600

afm
Captain (CAPT)
Captain (CAPT)
Posts: 339
Joined: Thu Nov 03, 2005 11:52 pm
Location: Portland, OR
Contact:

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

Post by afm » Sat Oct 25, 2008 9:24 pm

cerami2 wrote:shared on appliedi.net servers
Applied Innovations will know what to do. Show them the error message.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing

ToddJ
Ensign (ENS)
Ensign (ENS)
Posts: 4
Joined: Wed Aug 26, 2009 8:55 pm

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

Post by ToddJ » Wed Aug 26, 2009 9:27 pm

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.

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

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

Post by AbleMods » Thu Aug 27, 2009 6:09 pm

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.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Post Reply