|
|
|
|
Joined: 8/25/2010
Posts: 57
|
|
|
Hello,
I am running 4.67 Smith Cart BUy Now - I have been testing and everything's been working fine and I've been able to access the "Manage Cart Settings" area repeatedly.
Now I'm suddenly getting "object not set to an instance..." message (see below).
Among the changes I made:
1. adding a footnote and security icons to bottom of cart.ascx;
2. placed My Account module on page and changed settings not to show Invoice - I did have trouble displaying the invoice BEFORE editing it in the Store Admin Menu - I did see a note here to edit them when upgrading ot 4.67 - so I then created/edited the invoice templates in the store - had a few problems but they seem to display ok now.
3. I tested with paypal and credit card and have the problem that the email confirmation from a credit card sale is not getting out to the customer or to us (the FROM and TO email) - we are getting the authorize email.
I do not think I changed anything in the Manage Cart Settings before suddenly getting this error. Here is the error -
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:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario. |
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Smith.DNN.Modules.BuyNow.BuyNowSettings.LoadSettings() +2467
[ModuleLoadException: Error: is currently unavailable.]
DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, Control ctrl, Exception exc, Boolean DisplayErrorMessage) +451
DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(Control ctrl, Exception exc, Boolean DisplayErrorMessage) +188
DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(PortalModuleBase objPortalModuleBase, Exception exc) +31
Smith.DNN.Modules.BuyNow.BuyNowSettings.LoadSettings() +40023
Smith.DNN.Modules.BuyNow.BuyNowSettings.Page_Load(Object sender, EventArgs e) +189
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +91
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207
[PageLoadException: Error: is currently unavailable.]
DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +391
DotNetNuke.Framework.PageBase.OnError(EventArgs e) +563
System.Web.UI.Page.HandleError(Exception e) +86
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8422
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +253
System.Web.UI.Page.ProcessRequest() +78
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.default_aspx.ProcessRequest(HttpContext context) +37
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
|
|
|
|
|
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
Hi Sean,
Is this a clean install and fresh DNN portal, or has the module or DNN been upgraded?
Were there any other customizations or changes made to any other SmithCart ascx files? I believe the changes made to the ascx files have caused your Cart yo get out of sync.
I would recommend doing a clean install using this link: http://www.smith-consulting.com/forum...
or
Install the latest version of the Cart on a new DNN install on to test.
Thanks,
|
|
|
|
| |
|
|
|
|
Joined: 8/25/2010
Posts: 57
|
|
|
Thanks. I did a clean install and then an upgrade to 4.67 and everything was working fine. I will look at the changes I made and see if I can get it back (time is an issue) and if not then I'll do the clean install.
|
|
|
|
| |
|
|
|
|
Joined: 8/25/2010
Posts: 57
|
|
|
Actually I realize everything wasn't working fine - I don't think the confirmation emails were going out. I will do a clean install.
Can you tell me how much you charge for your install service (referenced on the link you included - thinking once we have more data...)?
Thanks
|
|
|
|
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
| |
| |
|
|
|
|
Joined: 8/25/2010
Posts: 57
|
|
|
Hi - I am in process of uninstalling - the buynow uninstall resulted in an error "uninstall with warnings" - this was the error in the log - is this going to be an obstacle in fininshing the uninstall and then installing?
Info Start Sql execution: Uninstall.SqlDataProvider file
Failure SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException (0x80131904): Cannot drop the procedure 'dbo.Smith_GetOrderCountByVID', because it does not exist or you do not have permission. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'dbo.Smith_GetVendorByDNNLogin')) drop procedure dbo.Smith_GetOrderCountByVID
Info End Sql execution: Uninstall.SqlDataProvider file
Info Deleted - Uninstall.SqlDataProvider
Info End Sql UnInstall
Info Component uninstalled successfully - Script
Warning Component Uninstalled with Warnings - Script
|
|
|
|
| |
|
|
|
|
Joined: 8/25/2010
Posts: 57
|
|
|
I was able to install despite that error. I'm close to testing, but having a problem I am posting as a separate thread.
I had only 6 orders and about 6 customers and Sql Srvr Express does not have the import/export function mentioned in your various instructions - do you recommend anything in particular for me to get these orders back in (I have the data in excel for customers, orders, order detail, pay history).
Thanks
|
|
|
|
| |
|
|
|
|
Joined: 8/25/2010
Posts: 57
|
|
|
I was able to fully install the cart and can access the store settings, so that seems to be fixed.
I am still having the issue that order confirmation emails are not being sent (orders by credit card, they were going out for quite a while prior to upgrading).
What might be the cause of this problem? Email confirmation are being sent by the site when a new user registers, so I don't think it's a DNN/ smtp setting/issue.
Thanks for any enlightenment.
|
|
|
|
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
Hi Sean,
As long as you follow the instructions of the clean install documant by confirming that all stored procs and tables with a prefix of smith in your database are deleted and confirm that all files in /desktopmodules/smith.buynow are deleted and the folder is removed you should not run into any issues during re-installation.
Thanks,
|
|
|
|
| |
|
|
|
|
Joined: 8/25/2010
Posts: 57
|
|
|
I did exactly that (deleted all tables & stored procedures; buynow folder gone) before installing.
STILL having email confirmation issue - NO emails are going out. We didn't use to use paypal - I don't know if that introduces possible issues?
Emails are going out after User registration (for the site) but no emails from the cart. I have no idea what could be causing this problem.
Thanks.
|
|
|
|
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
Hi Sean,
Have you setup the User, Admin, and Shipping Email Templates through the Admin Menu?
Thanks,
|
|
|
|
| |
|
|
|
|
Joined: 8/25/2010
Posts: 57
|
|
|
I'm sorry to say I had not created the email templates (I saw the note about the invoice templates, but not the email ones). The Order Confirm is working and that's the important one.
I'm not sure about the Admin confirmation email - who does it go to? (the dnn administrator set on the buynow module settings?)
|
|
|
|
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
Hi Sean,
The Admin Confirmation email will be sent to the Admin Email Address entered in the BuyNow Settings.
Thanks,
|
|
|
|