an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > "My Cart" click gives error on GoDaddy
Last Post 4/29/2013 7:23:04 AM By timofeia. 3 replies.
4/26/2013 11:57:48 AM
timofeia
Posts: 31
Joined: 3/21/2013
"My Cart" click gives error on GoDaddy
With the identical code on my local computer (and local SQL Server DB) and GoDaddy when I try to click "My Cart", on my local computer (VS 2010) everything is perfect. When I do the same on GoDaddy it gives me the following error:

Server Error in '/claforte' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Path cannot be null.
Parameter name: path

Source Error:


Line 50:             <add useSandBox="True" userName="demo_1189311458_biz_api1.dotshoppingcart.com"
Line 51:                 userPassword="VH6AVGLWRZ5G9UFL" certFile="5" certPassword="189315225"
Line 52:                 host="dsc" name="PayPal PaymentsPro DirectPay" type="DotShoppingCart.OpenSource.Payment.PaypalDirectPaymentProvider, DotShoppingCart.OpenSource.Payment.PaypalPaymentProvider, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />
Line 53:         </providers>
Line 54:     </creditCardPaymentServiceConfiguration>

Source File: D:\Hosting\10646028\html\claforte\DSC.config    Line: 52

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18034
 
I spent the whole day trying to fix it, no result. Currently I don't have any Payment Provider, I just want to have application to work the same way on GoDaddy as on my local computer. Is there some simple way to eliminate the above problem without having any Payment Provider? When I put comments on <add useSandBox="True" userName="demo_1189311458_biz_api1.dotshoppingcart.com"
                userPassword="VH6AVGLWRZ5G9UFL" certFile="5" certPassword="189315225"
                host="dsc" name="PayPal PaymentsPro DirectPay" type="DotShoppingCart.OpenSource.Payment.PaypalDirectPaymentProvider, DotShoppingCart.OpenSource.Payment.PaypalPaymentProvider, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" />
in DSC.config the error displayed is even worse than original one.
 
4/26/2013 12:22:50 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: &quot;My Cart&quot; click gives error on GoDaddy
You can just remove creditCardPaymentServiceConfiguration section from DSC.config completely.
DotShoppingCart Staff
4/26/2013 12:26:53 PM
timofeia
Posts: 31
Joined: 3/21/2013
Re: &quot;My Cart&quot; click gives error on GoDaddy
I already did, but the new error is:

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


Line 77:         PaypalStandardPaymentProvider paypalStandardProvider = PaypalStandardPaymentProvider.GetProvider();
Line 78: 
Line 79:         return (((null != paypalExpressProvider) && paypalExpressProvider.Enabled) ||
Line 80:                 ((null != paypalStandardProvider) && paypalStandardProvider.Enabled) ||
Line 81:                 (!(CreditCardPaymentService.GetProvider() is NullCreditCardPaymentProvider)));

Source File: d:\hosting\10646028\html\claforte\Store\Cart.ascx.cs Line: 79
 
 
4/29/2013 7:23:04 AM
timofeia
Posts: 31
Joined: 3/21/2013
Re: &quot;My Cart&quot; click gives error on GoDaddy
The problem solved by changing file permissions on GoDaddy site. When I set them to write/read, everything started working. Who knew? Thank you for assistance.